Google Cloud Dialogflow v2 API - Class FaqAnswer (4.22.0)

public sealed class FaqAnswer : IMessage<FaqAnswer>, IEquatable<FaqAnswer>, IDeepCloneable<FaqAnswer>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class FaqAnswer.

Represents answer from "frequently asked questions".

Inheritance

object > FaqAnswer

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Constructors

FaqAnswer()

public FaqAnswer()

FaqAnswer(FaqAnswer)

public FaqAnswer(FaqAnswer other)
Parameter
Name Description
other FaqAnswer

Properties

Answer

public string Answer { get; set; }

The piece of text from the source knowledge base document.

Property Value
Type Description
string

AnswerRecord

public string AnswerRecord { get; set; }

The name of answer record, in the format of "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record ID>"

Property Value
Type Description
string

Confidence

public float Confidence { get; set; }

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

Property Value
Type Description
float

Metadata

public MapField<string, string> Metadata { get; }

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

Property Value
Type Description
MapFieldstringstring

Question

public string Question { get; set; }

The corresponding FAQ question.

Property Value
Type Description
string

Source

public string Source { get; set; }

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

Property Value
Type Description
string