public sealed class SuggestArticlesResponse : IMessage<SuggestArticlesResponse>, IEquatable<SuggestArticlesResponse>, IDeepCloneable<SuggestArticlesResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class SuggestArticlesResponse.
The response message for [Participants.SuggestArticles][google.cloud.dialogflow.v2.Participants.SuggestArticles].
Implements
IMessageSuggestArticlesResponse, IEquatableSuggestArticlesResponse, IDeepCloneableSuggestArticlesResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
SuggestArticlesResponse()
public SuggestArticlesResponse()
SuggestArticlesResponse(SuggestArticlesResponse)
public SuggestArticlesResponse(SuggestArticlesResponse other)
Parameter | |
---|---|
Name | Description |
other |
SuggestArticlesResponse |
Properties
ArticleAnswers
public RepeatedField<ArticleAnswer> ArticleAnswers { get; }
Articles ordered by score in descending order.
Property Value | |
---|---|
Type | Description |
RepeatedFieldArticleAnswer |
ContextSize
public int ContextSize { get; set; }
Number of messages prior to and including [latest_message][google.cloud.dialogflow.v2.SuggestArticlesResponse.latest_message] to compile the suggestion. It may be smaller than the [SuggestArticlesRequest.context_size][google.cloud.dialogflow.v2.SuggestArticlesRequest.context_size] field in the request if there aren't that many messages in the conversation.
Property Value | |
---|---|
Type | Description |
int |
LatestMessage
public string LatestMessage { get; set; }
The name of the latest conversation message used to compile suggestion for.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>
.
Property Value | |
---|---|
Type | Description |
string |