public sealed class KnowledgeAssistAnswer : IMessage<KnowledgeAssistAnswer>, IEquatable<KnowledgeAssistAnswer>, IDeepCloneable<KnowledgeAssistAnswer>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class KnowledgeAssistAnswer.
Represents a Knowledge Assist answer.
Implements
IMessageKnowledgeAssistAnswer, IEquatableKnowledgeAssistAnswer, IDeepCloneableKnowledgeAssistAnswer, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
KnowledgeAssistAnswer()
public KnowledgeAssistAnswer()
KnowledgeAssistAnswer(KnowledgeAssistAnswer)
public KnowledgeAssistAnswer(KnowledgeAssistAnswer other)
Parameter | |
---|---|
Name | Description |
other |
KnowledgeAssistAnswer |
Properties
AnswerRecord
public string AnswerRecord { get; set; }
The name of the answer record.
Format: projects/<Project ID>/locations/<location ID>/answer
Records/<Answer Record ID>
.
Property Value | |
---|---|
Type | Description |
string |
SuggestedQuery
public KnowledgeAssistAnswer.Types.SuggestedQuery SuggestedQuery { get; set; }
The query suggested based on the context. Suggestion is made only if it is different from the previous suggestion.
Property Value | |
---|---|
Type | Description |
KnowledgeAssistAnswerTypesSuggestedQuery |
SuggestedQueryAnswer
public KnowledgeAssistAnswer.Types.KnowledgeAnswer SuggestedQueryAnswer { get; set; }
The answer generated for the suggested query. Whether or not an answer is generated depends on how confident we are about the generated query.
Property Value | |
---|---|
Type | Description |
KnowledgeAssistAnswerTypesKnowledgeAnswer |