Google Cloud Dialogflow v2beta1 API - Class SuggestKnowledgeAssistRequest (1.0.0-beta18)

public sealed class SuggestKnowledgeAssistRequest : IMessage<SuggestKnowledgeAssistRequest>, IEquatable<SuggestKnowledgeAssistRequest>, IDeepCloneable<SuggestKnowledgeAssistRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class SuggestKnowledgeAssistRequest.

The request message for [Participants.SuggestKnowledgeAssist][google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist].

Inheritance

object > SuggestKnowledgeAssistRequest

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Constructors

SuggestKnowledgeAssistRequest()

public SuggestKnowledgeAssistRequest()

SuggestKnowledgeAssistRequest(SuggestKnowledgeAssistRequest)

public SuggestKnowledgeAssistRequest(SuggestKnowledgeAssistRequest other)
Parameter
Name Description
other SuggestKnowledgeAssistRequest

Properties

ContextSize

public int ContextSize { get; set; }

Optional. Max number of messages prior to and including [latest_message][google.cloud.dialogflow.v2beta1.SuggestKnowledgeAssistRequest.latest_message] to use as context when compiling the suggestion. The context size is by default 100 and at most 100.

Property Value
Type Description
int

LatestMessage

public string LatestMessage { get; set; }

Optional. The name of the latest conversation message to compile suggestions for. If empty, it will be the latest message of the conversation. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/messages/<Message ID>.

Property Value
Type Description
string

LatestMessageAsMessageName

public MessageName LatestMessageAsMessageName { get; set; }

MessageName-typed view over the LatestMessage resource name property.

Property Value
Type Description
MessageName

Parent

public string Parent { get; set; }

Required. The name of the participant to fetch suggestions for. Format: projects/<Project ID>/locations/<Location ID>/conversations/<Conversation ID>/participants/<Participant ID>.

Property Value
Type Description
string

ParentAsParticipantName

public ParticipantName ParentAsParticipantName { get; set; }

ParticipantName-typed view over the Parent resource name property.

Property Value
Type Description
ParticipantName

PreviousSuggestedQuery

public string PreviousSuggestedQuery { get; set; }

Optional. The previously suggested query for the given conversation. This helps identify whether the next suggestion we generate is resonably different from the previous one. This is useful to avoid similar suggestions within the conversation.

Property Value
Type Description
string