Interface EvaluationConfig.SmartComposeConfigOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getAllowlistDocument()
      The allowlist document resource name.
      com.google.protobuf.ByteString getAllowlistDocumentBytes()
      The allowlist document resource name.
      int getMaxResultCount()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getAllowlistDocument

        String getAllowlistDocument()
         The allowlist document resource name.
         Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
         ID>/documents/<Document ID>`. Only used for smart compose model.
         
        string allowlist_document = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The allowlistDocument.
      • getAllowlistDocumentBytes

        com.google.protobuf.ByteString getAllowlistDocumentBytes()
         The allowlist document resource name.
         Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
         ID>/documents/<Document ID>`. Only used for smart compose model.
         
        string allowlist_document = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        The bytes for allowlistDocument.
      • getMaxResultCount

        int getMaxResultCount()
         Required. The model to be evaluated can return multiple results with
         confidence score on each query. These results will be sorted by the
         descending order of the scores and we only keep the first
         max_result_count results as the final results to evaluate.
         
        int32 max_result_count = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The maxResultCount.