Struct gapi_grpc::google::cloud::dialogflow::v2::human_agent_assistant_config::SuggestionQueryConfig [−][src]
Config for suggestion query.
Fields
max_results: i32
Maximum number of results to return. Currently, if unset, defaults to 10. And the max number is 20.
confidence_threshold: f32
Confidence threshold of query result.
Agent Assist gives each suggestion a score in the range [0.0, 1.0], based on the relevance between the suggestion and the current conversation context. A score of 0.0 has no relevance, while a score of 1.0 has high relevance. Only suggestions with a score greater than or equal to the value of this field are included in the results.
For a baseline model (the default), the recommended value is in the range [0.05, 0.1].
For a custom model, there is no recommended value. Tune this value by starting from a very low value and slowly increasing until you have desired results.
If this field is not set, it defaults to 0.0, which means that all suggestions are returned.
Supported features: ARTICLE_SUGGESTION.
context_filter_settings: Option<ContextFilterSettings>
Determines how recent conversation context is filtered when generating suggestions. If unspecified, no messages will be dropped.
query_source: Option<QuerySource>
Source of query.
Trait Implementations
impl Clone for SuggestionQueryConfig
[src][+]
impl Debug for SuggestionQueryConfig
[src][+]
impl Default for SuggestionQueryConfig
[src][+]
impl Message for SuggestionQueryConfig
[src][+]
impl PartialEq<SuggestionQueryConfig> for SuggestionQueryConfig
[src][+]
impl StructuralPartialEq for SuggestionQueryConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for SuggestionQueryConfig
impl Send for SuggestionQueryConfig
impl Sync for SuggestionQueryConfig
impl Unpin for SuggestionQueryConfig
impl UnwindSafe for SuggestionQueryConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,