View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2GenerativeQuestionConfig (google_api_retail v0.19.1)
Configuration for a single generated question.
Attributes
-
allowedInConversation
(type:boolean()
, default:nil
) - Optional. Whether the question is asked at serving time. -
catalog
(type:String.t
, default:nil
) - Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog} -
exampleValues
(type:list(String.t)
, default:nil
) - Output only. Values that can be used to answer the question. -
facet
(type:String.t
, default:nil
) - Required. The facet to which the question is associated. -
finalQuestion
(type:String.t
, default:nil
) - 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. -
frequency
(type:number()
, default:nil
) - Output only. The ratio of how often a question was asked. -
generatedQuestion
(type:String.t
, default:nil
) - Output only. The LLM generated question.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2GenerativeQuestionConfig{ allowedInConversation: boolean() | nil, catalog: String.t() | nil, exampleValues: [String.t()] | nil, facet: String.t() | nil, finalQuestion: String.t() | nil, frequency: number() | nil, generatedQuestion: String.t() | nil }