Google Cloud Dialogflow v2beta1 API - Class KnowledgeAnswers.Types.Answer (1.0.0-beta17)

public sealed class KnowledgeAnswers.Types.Answer : IMessage<KnowledgeAnswers.Types.Answer>, IEquatable<KnowledgeAnswers.Types.Answer>, IDeepCloneable<KnowledgeAnswers.Types.Answer>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class KnowledgeAnswers.Types.Answer.

An answer from Knowledge Connector.

Inheritance

object > KnowledgeAnswers.Types.Answer

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

Answer()

public Answer()

Answer(Answer)

public Answer(KnowledgeAnswers.Types.Answer other)
Parameter
Name Description
other KnowledgeAnswersTypesAnswer

Properties

Answer_

public string Answer_ { get; set; }

The piece of text from the source knowledge base document that answers this conversational query.

Property Value
Type Description
string

FaqQuestion

public string FaqQuestion { get; set; }

The corresponding FAQ question if the answer was extracted from a FAQ Document, empty otherwise.

Property Value
Type Description
string

MatchConfidence

public float MatchConfidence { get; set; }

The system's confidence score that this Knowledge answer is a good match for this conversational query. The range is from 0.0 (completely uncertain) to 1.0 (completely certain). Note: The confidence score is likely to vary somewhat (possibly even for identical requests), as the underlying model is under constant improvement. It may be deprecated in the future. We recommend using match_confidence_level which should be generally more stable.

Property Value
Type Description
float

MatchConfidenceLevel

public KnowledgeAnswers.Types.Answer.Types.MatchConfidenceLevel MatchConfidenceLevel { get; set; }

The system's confidence level that this knowledge answer is a good match for this conversational query. NOTE: The confidence level for a given <query, answer> pair may change without notice, as it depends on models that are constantly being improved. However, it will change less frequently than the confidence score below, and should be preferred for referencing the quality of an answer.

Property Value
Type Description
KnowledgeAnswersTypesAnswerTypesMatchConfidenceLevel

Source

public string Source { get; set; }

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

Property Value
Type Description
string

SourceAsDocumentName

public DocumentName SourceAsDocumentName { get; set; }

DocumentName-typed view over the Source resource name property.

Property Value
Type Description
DocumentName