Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1alphaSessionTurn

Represents a turn, including a query from the user and a answer from service.

Inheritance
object
GoogleCloudDiscoveryengineV1alphaSessionTurn
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaSessionTurn : IDirectResponseSchema

Properties

Answer

Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.

Declaration
[JsonProperty("answer")]
public virtual string Answer { get; set; }
Property Value
Type Description
string

DetailedAnswer

Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting answer query session.

Declaration
[JsonProperty("detailedAnswer")]
public virtual GoogleCloudDiscoveryengineV1alphaAnswer DetailedAnswer { get; set; }
Property Value
Type Description
GoogleCloudDiscoveryengineV1alphaAnswer

DetailedAssistAnswer

Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting assistant session.

Declaration
[JsonProperty("detailedAssistAnswer")]
public virtual GoogleCloudDiscoveryengineV1alphaAssistAnswer DetailedAssistAnswer { get; set; }
Property Value
Type Description
GoogleCloudDiscoveryengineV1alphaAssistAnswer

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Query

Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn

Declaration
[JsonProperty("query")]
public virtual GoogleCloudDiscoveryengineV1alphaQuery Query { get; set; }
Property Value
Type Description
GoogleCloudDiscoveryengineV1alphaQuery

QueryConfig

Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is reserved for Google-developed functionality.

Declaration
[JsonProperty("queryConfig")]
public virtual IDictionary<string, string> QueryConfig { get; set; }
Property Value
Type Description
IDictionary<string, string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX