Struct google_dialogflow2_beta1::api::GoogleCloudDialogflowV2beta1FaqAnswer [−][src]
pub struct GoogleCloudDialogflowV2beta1FaqAnswer {
pub answer: Option<String>,
pub answer_record: Option<String>,
pub confidence: Option<f32>,
pub metadata: Option<HashMap<String, String>>,
pub question: Option<String>,
pub source: Option<String>,
}
Expand description
Represents answer from “frequently asked questions”.
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.
answer_record: Option<String>
The name of answer record, in the format of “projects//locations//answerRecords/”
confidence: Option<f32>
The system’s confidence score that this Knowledge answer is a good match for this conversational query, range from 0.0 (completely uncertain) to 1.0 (completely certain).
metadata: Option<HashMap<String, String>>
A map that contains metadata about the answer and the document from which it originates.
question: Option<String>
The corresponding FAQ question.
source: Option<String>
Indicates which Knowledge Document this answer was extracted from. Format: projects//locations//agent/knowledgeBases//documents/
.
Trait Implementations
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more