Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer[][src]

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

An answer from Knowledge Connector.

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

Fields

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

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

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.

The system's confidence score that this Knowledge answer is a good match for this converstational query, range 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, we may deprecate it in the future. We recommend using match_confidence_level which should be generally more stable.

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

Trait Implementations

Auto Trait Implementations