Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class ClarificationMessage.
A message of questions to help clarify the user's query. This is returned when the system cannot confidently answer the user's question.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.ClarificationMessage
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ questions |
array<ClarificationQuestion>
Required. A batch of clarification questions to ask the user. |
getQuestions
Required. A batch of clarification questions to ask the user.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setQuestions
Required. A batch of clarification questions to ask the user.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ClarificationQuestion>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|