pub struct GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig {
pub allowlist_document: Option<String>,
pub max_result_count: Option<i32>,
}
Expand description
Smart compose specific configuration for evaluation job.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allowlist_document: Option<String>
The allowlist document resource name. Format: projects//knowledgeBases//documents/
. Only used for smart compose model.
max_result_count: Option<i32>
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.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
impl Clone for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
source§fn clone(&self) -> GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
fn clone(&self) -> GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
impl Default for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
source§fn default() -> GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
fn default() -> GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
impl Send for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
impl Sync for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
impl Unpin for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
impl UnwindSafe for GoogleCloudDialogflowV2EvaluationConfigSmartComposeConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more