Google Cloud Dialogflow v2 API - Class FaqAnswer (4.5.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
NameDescription
otherFaqAnswer

Properties

Answer

public string Answer { get; set; }

The piece of text from the source knowledge base document.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
Single

Metadata

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

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

Property Value
TypeDescription
MapField<String, String>

Question

public string Question { get; set; }

The corresponding FAQ question.

Property Value
TypeDescription
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
TypeDescription
String