public sealed class EvaluationConfig.Types.SmartComposeConfig : IMessage<EvaluationConfig.Types.SmartComposeConfig>, IEquatable<EvaluationConfig.Types.SmartComposeConfig>, IDeepCloneable<EvaluationConfig.Types.SmartComposeConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class EvaluationConfig.Types.SmartComposeConfig.
Smart compose specific configuration for evaluation job.
The allowlist document resource name.
Format: projects/<Project ID>/knowledgeBases/<Knowledge Base
ID>/documents/<Document ID>. Only used for smart compose model.
Property Value
Type
Description
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides documentation for the `EvaluationConfig.Types.SmartComposeConfig` class within the Google Cloud Dialogflow v2 API, detailing its use in configuring smart compose features for evaluation jobs."],["The latest version available for this class is 4.26.0, and the page offers links to documentation for various versions ranging from 3.2.0 to 4.26.0."],["`SmartComposeConfig` implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from the base `object` class."],["Key properties of the `SmartComposeConfig` class include `AllowlistDocument` (for specifying the document resource name) and `MaxResultCount` (determining the number of top-scoring results to keep for evaluation)."],["The namespace for this class is Google.Cloud.Dialogflow.V2 and there are 2 constructors for the class, `SmartComposeConfig()` and `SmartComposeConfig(EvaluationConfig.Types.SmartComposeConfig other)`."]]],[]]