public sealed class SearchKnowledgeResponse : IMessage<SearchKnowledgeResponse>, IEquatable<SearchKnowledgeResponse>, IDeepCloneable<SearchKnowledgeResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SearchKnowledgeResponse.
The response message for [Conversations.SearchKnowledge][google.cloud.dialogflow.v2.Conversations.SearchKnowledge].
Implements
IMessageSearchKnowledgeResponse, IEquatableSearchKnowledgeResponse, IDeepCloneableSearchKnowledgeResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
SearchKnowledgeResponse()
public SearchKnowledgeResponse()
SearchKnowledgeResponse(SearchKnowledgeResponse)
public SearchKnowledgeResponse(SearchKnowledgeResponse other)
Parameter | |
---|---|
Name | Description |
other | SearchKnowledgeResponse |
Properties
Answers
public RepeatedField<SearchKnowledgeAnswer> Answers { get; }
Most relevant snippets extracted from articles in the given knowledge base, ordered by confidence.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSearchKnowledgeAnswer |
RewrittenQuery
public string RewrittenQuery { get; set; }
The rewritten query used to search knowledge.
Property Value | |
---|---|
Type | Description |
string |