pub struct GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest {
pub context_size: Option<i32>,
pub latest_message: Option<String>,
pub previous_suggested_query: Option<String>,
}Expand description
The request message for Participants.SuggestKnowledgeAssist.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§context_size: Option<i32>Optional. Max number of messages prior to and including latest_message to use as context when compiling the suggestion. The context size is by default 100 and at most 100.
latest_message: Option<String>Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: projects//locations//conversations//messages/.
previous_suggested_query: Option<String>Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is resonably different from the previous one. This is useful to avoid similar suggestions within the conversation.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
impl Clone for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
Source§fn clone(&self) -> GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
fn clone(&self) -> GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
impl Default for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
Source§fn default() -> GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
fn default() -> GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
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>,
impl RequestValue for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
impl RefUnwindSafe for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
impl Send for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
impl Sync for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
impl Unpin for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
impl UnwindSafe for GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more