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
answer: Option<String>
The piece of text from the source
knowledge base document that answers
this conversational query.
source: Option<String>
Indicates which Knowledge Document this answer was extracted from.
Format: projects/<Project ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>
.
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.
match_confidence: Option<f32>
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.
faq_question: Option<String>
The corresponding FAQ question if the answer was extracted from a FAQ Document, empty otherwise.
Trait Implementations
impl Default for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
[src]
impl Default for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
fn default() -> GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
[src]
fn default() -> GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
[src]
impl Clone for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
fn clone(&self) -> GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
[src]
fn clone(&self) -> GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
[src]
impl Debug for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
[src]
impl Part for GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer