Class GoogleCloudRetailV2betaGenerativeQuestionConfig
Configuration for a single generated question.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta.Data
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class GoogleCloudRetailV2betaGenerativeQuestionConfig : 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 |