pub struct GoogleCloudDialogflowV2AgentAssistantFeedback {
pub answer_relevance: Option<String>,
pub document_correctness: Option<String>,
pub document_efficiency: Option<String>,
pub knowledge_assist_feedback: Option<GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback>,
pub knowledge_search_feedback: Option<GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback>,
pub summarization_feedback: Option<GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback>,
}Expand description
Detail feedback of Agent Assist result.
This type is not used in any activity, and only used as part of another schema.
Fields§
§answer_relevance: Option<String>Optional. Whether or not the suggested answer is relevant. For example: * Query: “Can I change my mailing address?” * Suggested document says: “Items must be returned/exchanged within 60 days of the purchase date.” * answer_relevance: AnswerRelevance.IRRELEVANT
document_correctness: Option<String>Optional. Whether or not the information in the document is correct. For example: * Query: “Can I return the package in 2 days once received?” * Suggested document says: “Items must be returned/exchanged within 60 days of the purchase date.” * Ground truth: “No return or exchange is allowed.” * [document_correctness]: INCORRECT
document_efficiency: Option<String>Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, document_efficiency is DocumentEfficiency.INEFFICIENT.
knowledge_assist_feedback: Option<GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback>Optional. Feedback for knowledge assist.
knowledge_search_feedback: Option<GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback>Optional. Feedback for knowledge search.
summarization_feedback: Option<GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback>Optional. Feedback for conversation summarization.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowV2AgentAssistantFeedback
impl Clone for GoogleCloudDialogflowV2AgentAssistantFeedback
Source§fn clone(&self) -> GoogleCloudDialogflowV2AgentAssistantFeedback
fn clone(&self) -> GoogleCloudDialogflowV2AgentAssistantFeedback
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudDialogflowV2AgentAssistantFeedback
impl Default for GoogleCloudDialogflowV2AgentAssistantFeedback
Source§fn default() -> GoogleCloudDialogflowV2AgentAssistantFeedback
fn default() -> GoogleCloudDialogflowV2AgentAssistantFeedback
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2AgentAssistantFeedback
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2AgentAssistantFeedback
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 Part for GoogleCloudDialogflowV2AgentAssistantFeedback
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowV2AgentAssistantFeedback
impl RefUnwindSafe for GoogleCloudDialogflowV2AgentAssistantFeedback
impl Send for GoogleCloudDialogflowV2AgentAssistantFeedback
impl Sync for GoogleCloudDialogflowV2AgentAssistantFeedback
impl Unpin for GoogleCloudDialogflowV2AgentAssistantFeedback
impl UnwindSafe for GoogleCloudDialogflowV2AgentAssistantFeedback
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