Class GoogleCloudDiscoveryengineV1alphaStreamAssistRequest
Request for the AssistantService.StreamAssist method.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaStreamAssistRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
GenerationSpec
Optional. Specification of the generation configuration for the request.
Declaration
[JsonProperty("generationSpec")]
public virtual GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec GenerationSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec |
Query
Optional. Current user query. Empty query is only supported if file_ids are provided. In this case, the
answer will be generated based on those context files.
Declaration
[JsonProperty("query")]
public virtual GoogleCloudDiscoveryengineV1alphaQuery Query { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1alphaQuery |
Session
Optional. The session to use for the request. If specified, the assistant has access to the session history,
and the query and the answer are stored there. If - is specified as the session ID, or it is left empty,
then a new session is created with an automatically generated ID. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}
Declaration
[JsonProperty("session")]
public virtual string Session { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ToolsSpec
Optional. Specification of tools that are used to serve the request.
Declaration
[JsonProperty("toolsSpec")]
public virtual GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec ToolsSpec { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpec |
UserMetadata
Optional. Information about the user initiating the query.
Declaration
[JsonProperty("userMetadata")]
public virtual GoogleCloudDiscoveryengineV1alphaAssistUserMetadata UserMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1alphaAssistUserMetadata |