Struct google_dialogflow2::api::GoogleCloudDialogflowV2AgentAssistantFeedback[][src]

pub struct GoogleCloudDialogflowV2AgentAssistantFeedback {
    pub answer_relevance: Option<String>,
    pub document_correctness: Option<String>,
    pub document_efficiency: Option<String>,
}

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.

Trait Implementations

impl Clone for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

impl Debug for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

impl Default for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

impl Part for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

impl Serialize for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

Auto Trait Implementations

impl RefUnwindSafe for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

impl Send for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

impl Sync for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

impl Unpin for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

impl UnwindSafe for GoogleCloudDialogflowV2AgentAssistantFeedback[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.