public sealed class ConverseConversationRequest : IMessage<ConverseConversationRequest>, IEquatable<ConverseConversationRequest>, IDeepCloneable<ConverseConversationRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class ConverseConversationRequest.
Request message for [ConversationalSearchService.ConverseConversation][google.cloud.discoveryengine.v1beta.ConversationalSearchService.ConverseConversation] method.
Implements
IMessageConverseConversationRequest, IEquatableConverseConversationRequest, IDeepCloneableConverseConversationRequest, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
ConverseConversationRequest()
public ConverseConversationRequest()
ConverseConversationRequest(ConverseConversationRequest)
public ConverseConversationRequest(ConverseConversationRequest other)
Parameter | |
---|---|
Name | Description |
other | ConverseConversationRequest |
Properties
Conversation
public Conversation Conversation { get; set; }
The conversation to be used by auto session only. The name field will be ignored as we automatically assign new name for the conversation in auto session.
Property Value | |
---|---|
Type | Description |
Conversation |
ConversationName
public ConversationName ConversationName { get; set; }
ConversationName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ConversationName |
Name
public string Name { get; set; }
Required. The resource name of the Conversation to get. Format:
projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}
.
Use
projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-
to activate auto session mode, which automatically creates a new
conversation inside a ConverseConversation session.
Property Value | |
---|---|
Type | Description |
string |
Query
public TextInput Query { get; set; }
Required. Current user input.
Property Value | |
---|---|
Type | Description |
TextInput |
SafeSearch
public bool SafeSearch { get; set; }
Whether to turn on safe search.
Property Value | |
---|---|
Type | Description |
bool |
ServingConfig
public string ServingConfig { get; set; }
The resource name of the Serving Config to use. Format:
projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}
If this is not set, the default serving config will be used.
Property Value | |
---|---|
Type | Description |
string |
ServingConfigAsServingConfigName
public ServingConfigName ServingConfigAsServingConfigName { get; set; }
ServingConfigName-typed view over the ServingConfig resource name property.
Property Value | |
---|---|
Type | Description |
ServingConfigName |