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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eEvaluationConfig.Types.SmartComposeConfig\u003c/code\u003e class within the Google Cloud Dialogflow v2 API, detailing its use in configuring smart compose features for evaluation jobs.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSmartComposeConfig\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSmartComposeConfig\u003c/code\u003e class include \u003ccode\u003eAllowlistDocument\u003c/code\u003e (for specifying the document resource name) and \u003ccode\u003eMaxResultCount\u003c/code\u003e (determining the number of top-scoring results to keep for evaluation).\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this class is Google.Cloud.Dialogflow.V2 and there are 2 constructors for the class, \u003ccode\u003eSmartComposeConfig()\u003c/code\u003e and \u003ccode\u003eSmartComposeConfig(EvaluationConfig.Types.SmartComposeConfig other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]