Struct gapi_grpc::google::cloud::dialogflow::v2::FaqAnswer[][src]

pub struct FaqAnswer {
    pub answer: String,
    pub confidence: f32,
    pub question: String,
    pub source: String,
    pub metadata: HashMap<String, String>,
    pub answer_record: String,
}
[]

Represents answer from “frequently asked questions”.

Fields

answer: String
[]

The piece of text from the source knowledge base document.

confidence: 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).

question: String
[]

The corresponding FAQ question.

source: String
[]

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

metadata: HashMap<String, String>
[]

A map that contains metadata about the answer and the document from which it originates.

answer_record: String
[]

The name of answer record, in the format of “projects//locations//answerRecords/

Trait Implementations

impl Clone for FaqAnswer[src][+]

impl Debug for FaqAnswer[src][+]

impl Default for FaqAnswer[src][+]

impl Message for FaqAnswer[src][+]

impl PartialEq<FaqAnswer> for FaqAnswer[src][+]

impl StructuralPartialEq for FaqAnswer[src]

Auto Trait Implementations

impl RefUnwindSafe for FaqAnswer

impl Send for FaqAnswer

impl Sync for FaqAnswer

impl Unpin for FaqAnswer

impl UnwindSafe for FaqAnswer

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> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]