public sealed class Suggestion.Types.FaqAnswer : IMessage<Suggestion.Types.FaqAnswer>, IEquatable<Suggestion.Types.FaqAnswer>, IDeepCloneable<Suggestion.Types.FaqAnswer>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Suggestion.Types.FaqAnswer.
Represents suggested answer from "frequently asked questions".
Implements
IMessageSuggestionTypesFaqAnswer, IEquatableSuggestionTypesFaqAnswer, IDeepCloneableSuggestionTypesFaqAnswer, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
FaqAnswer()
public FaqAnswer()
FaqAnswer(FaqAnswer)
public FaqAnswer(Suggestion.Types.FaqAnswer other)
Parameter | |
---|---|
Name | Description |
other |
SuggestionTypesFaqAnswer |
Properties
Answer
public string Answer { get; set; }
Output only. The piece of text from the source
knowledge base document.
Property Value | |
---|---|
Type | Description |
string |
AnswerRecord
public string AnswerRecord { get; set; }
Output only. 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; }
Output only. 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; }
Output only. The corresponding FAQ question.
Property Value | |
---|---|
Type | Description |
string |
Source
public string Source { get; set; }
Output only. 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 |