Class EvaluationConfig.Types.SmartComposeConfig (4.0.0)

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

Smart compose specific configuration for evaluation job.

Inheritance

System.Object > EvaluationConfig.Types.SmartComposeConfig

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

SmartComposeConfig()

public SmartComposeConfig()

SmartComposeConfig(EvaluationConfig.Types.SmartComposeConfig)

public SmartComposeConfig(EvaluationConfig.Types.SmartComposeConfig other)
Parameter
NameDescription
otherEvaluationConfig.Types.SmartComposeConfig

Properties

AllowlistDocument

public string AllowlistDocument { get; set; }

The allowlist document resource name. Format: projects/{Project ID}/knowledgeBases/{Knowledge Base ID>/documents/&lt;Document ID>. Only used for smart compose model.

Property Value
TypeDescription
String

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
TypeDescription
Int32