public static interface EvaluationConfig.SmartReplyConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getAllowlistDocument()
The allowlist document resource name.
|
ByteString |
getAllowlistDocumentBytes()
The allowlist document resource name.
|
int |
getMaxResultCount()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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) = { ... }
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) = { ... }
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];
Copyright © 2022 Google LLC. All rights reserved.