Reference documentation and code samples for the Data Analytics API with Gemini V1 API module Google::Cloud::GeminiDataAnalytics::V1::TextMessage::TextType.
The type of the text message.
Constants
TEXT_TYPE_UNSPECIFIED
value: 0
The default text type.
FINAL_RESPONSE
value: 1
The text is a final response to the user question.
THOUGHT
value: 2
The text is a thought from the model.
PROGRESS
value: 3
The text is an informational message about the agent's progress, such as
a tool being invoked. This is distinct from the agent's internal thought
process (THOUGHT) and the final answer to the user
(FINAL_RESPONSE). These messages provide insight into the agent's
actions.
FOLLOWUP_QUESTIONS
value: 4
The text is a list of follow-up questions suggested.
Each item in parts is a follow-up question.