Show / Hide Table of Contents

Class GoogleCloudRetailV2alphaGenerativeQuestionConfig

Configuration for a single generated question.

Inheritance
object
GoogleCloudRetailV2alphaGenerativeQuestionConfig
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.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaGenerativeQuestionConfig : IDirectResponseSchema

Properties

AllowedInConversation

Optional. Whether the question is asked at serving time.

Declaration
[JsonProperty("allowedInConversation")]
public virtual bool? AllowedInConversation { get; set; }
Property Value
Type Description
bool?

Catalog

Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}

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

ETag

The ETag of the item.

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

ExampleValues

Output only. Values that can be used to answer the question.

Declaration
[JsonProperty("exampleValues")]
public virtual IList<string> ExampleValues { get; set; }
Property Value
Type Description
IList<string>

Facet

Required. The facet to which the question is associated.

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

FinalQuestion

Optional. The question that will be used at serving time. Question can have a max length of 300 bytes. When not populated, generated_question should be used.

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

Frequency

Output only. The ratio of how often a question was asked.

Declaration
[JsonProperty("frequency")]
public virtual float? Frequency { get; set; }
Property Value
Type Description
float?

GeneratedQuestion

Output only. The LLM generated question.

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX