Class GenerativeQuestionConfig (1.23.1)

GenerativeQuestionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for a single generated question.

Attributes

Name Description
catalog str
Required. Resource name of the catalog. Format: projects/{project}/locations/{location}/catalogs/{catalog}
facet str
Required. The facet to which the question is associated.
generated_question str
Output only. The LLM generated question.
final_question str
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.
example_values MutableSequence[str]
Output only. Values that can be used to answer the question.
frequency float
Output only. The ratio of how often a question was asked.
allowed_in_conversation bool
Optional. Whether the question is asked at serving time.