Google Cloud Dialogflow v2 API - Class EvaluationConfig.Types.SmartReplyConfig (4.24.0)

public sealed class EvaluationConfig.Types.SmartReplyConfig : IMessage<EvaluationConfig.Types.SmartReplyConfig>, IEquatable<EvaluationConfig.Types.SmartReplyConfig>, IDeepCloneable<EvaluationConfig.Types.SmartReplyConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class EvaluationConfig.Types.SmartReplyConfig.

Smart reply specific configuration for evaluation job.

Inheritance

object > EvaluationConfig.Types.SmartReplyConfig

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

SmartReplyConfig()

public SmartReplyConfig()

SmartReplyConfig(SmartReplyConfig)

public SmartReplyConfig(EvaluationConfig.Types.SmartReplyConfig other)
Parameter
Name Description
other EvaluationConfigTypesSmartReplyConfig

Properties

AllowlistDocument

public string AllowlistDocument { get; set; }

The allowlist document resource name. Format: projects/<Project ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>. Only used for smart reply model.

Property Value
Type Description
string

AllowlistDocumentAsDocumentName

public DocumentName AllowlistDocumentAsDocumentName { get; set; }

DocumentName-typed view over the AllowlistDocument resource name property.

Property Value
Type Description
DocumentName

MaxResultCount

public int MaxResultCount { get; set; }

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.

Property Value
Type Description
int