Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1betaSessionTurn

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

Inheritance
object
GoogleCloudDiscoveryengineV1betaSessionTurn
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.v1beta.Data
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaSessionTurn : 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 GoogleCloudDiscoveryengineV1betaAnswer DetailedAnswer { get; set; }
Property Value
Type Description
GoogleCloudDiscoveryengineV1betaAnswer

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 GoogleCloudDiscoveryengineV1betaAssistAnswer DetailedAssistAnswer { get; set; }
Property Value
Type Description
GoogleCloudDiscoveryengineV1betaAssistAnswer

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 GoogleCloudDiscoveryengineV1betaQuery Query { get; set; }
Property Value
Type Description
GoogleCloudDiscoveryengineV1betaQuery

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