Class ClarificationQuestion (0.10.0)

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

Represents a single question to the user to help clarify their query.

Attributes

Name Description
question str
Required. The natural language question to ask the user.
selection_mode google.cloud.geminidataanalytics_v1beta.types.ClarificationQuestion.SelectionMode
Required. The selection mode for this question.
options MutableSequence[str]
Required. A list of distinct options for the user to choose from. The number of options is limited to a maximum of 5.
clarification_question_type google.cloud.geminidataanalytics_v1beta.types.ClarificationQuestion.ClarificationQuestionType
Optional. The type of clarification question.

Classes

ClarificationQuestionType

ClarificationQuestionType(value)

The type of clarification question. This enum may be extended with new values in the future.

SelectionMode

SelectionMode(value)

The selection mode for the clarification question.