[][src]Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer

pub struct GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer {
    pub answer: Option<String>,
    pub match_confidence: Option<f32>,
    pub match_confidence_level: Option<String>,
    pub faq_question: Option<String>,
    pub source: Option<String>,
}

An answer from Knowledge Connector.

This type is not used in any activity, and only used as part of another schema.

Fields

answer: Option<String>

The piece of text from the source knowledge base document that answers this conversational query.

match_confidence: Option<f32>

The system's confidence score that this Knowledge answer is a good match for this conversational query. The range is from 0.0 (completely uncertain) to 1.0 (completely certain). Note: The confidence score is likely to vary somewhat (possibly even for identical requests), as the underlying model is under constant improvement. It may be deprecated in the future. We recommend using match_confidence_level which should be generally more stable.

match_confidence_level: Option<String>

The system's confidence level that this knowledge answer is a good match for this conversational query. NOTE: The confidence level for a given <query, answer> pair may change without notice, as it depends on models that are constantly being improved. However, it will change less frequently than the confidence score below, and should be preferred for referencing the quality of an answer.

faq_question: Option<String>

The corresponding FAQ question if the answer was extracted from a FAQ Document, empty otherwise.

source: Option<String>

Indicates which Knowledge Document this answer was extracted from. Format: projects/<Project ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>.

Trait Implementations

impl Part for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer[src]

impl Default for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer[src]

impl Clone for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer[src]

impl Serialize for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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