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.
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 content offers access to documentation for multiple versions of the API, ranging from version 3.2.0 to the latest 4.26.0, allowing for historical and current version comparisons.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSmartComposeConfig\u003c/code\u003e class is a sealed class that implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring type safety and various utility functions for message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor (\u003ccode\u003eSmartComposeConfig()\u003c/code\u003e) and a copy constructor (\u003ccode\u003eSmartComposeConfig(SmartComposeConfig)\u003c/code\u003e) that accepts another \u003ccode\u003eSmartComposeConfig\u003c/code\u003e object as an argument.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSmartComposeConfig\u003c/code\u003e class has two key properties, \u003ccode\u003eAllowlistDocument\u003c/code\u003e which is a string, and \u003ccode\u003eMaxResultCount\u003c/code\u003e which is an integer, allowing you to set which document to use for allowing and how many results to keep.\u003c/p\u003e\n"]]],[],null,[]]