Interface EvaluationConfig.SmartReplyConfigOrBuilder (4.6.0)

public static interface EvaluationConfig.SmartReplyConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowlistDocument()

public abstract 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
TypeDescription
String

The allowlistDocument.

getAllowlistDocumentBytes()

public abstract 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
TypeDescription
ByteString

The bytes for allowlistDocument.

getMaxResultCount()

public abstract 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
TypeDescription
int

The maxResultCount.