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".
Implements
IMessage<FaqAnswer>, IEquatable<FaqAnswer>, IDeepCloneable<FaqAnswer>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
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 |
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 | |
---|---|
Type | Description |
MapField<String, String> |
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 |