Interface EvaluationConfig.SmartReplyConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
EvaluationConfig.SmartReplyConfig, EvaluationConfig.SmartReplyConfig.Builder
Enclosing class:
EvaluationConfig

public static interface EvaluationConfig.SmartReplyConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The allowlist document resource name.
    com.google.protobuf.ByteString
    The allowlist document resource name.
    int
    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 Details

    • getAllowlistDocument

      String getAllowlistDocument()
       The allowlist document resource name.
       Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
       ID>/documents/<Document ID>`. Only used for smart reply 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 reply 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.