Class: Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage
- Inherits:
-
Object
- Object
- Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb
Overview
A multi-part text message.
Defined Under Namespace
Modules: TextType
Instance Attribute Summary collapse
-
#parts ⇒ ::Array<::String>
Optional.
-
#text_type ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage::TextType
Optional.
-
#thought_signature ⇒ ::String
Optional.
Instance Attribute Details
#parts ⇒ ::Array<::String>
Returns Optional. The parts of the message.
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 427 class TextMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the text message. module TextType # The default text type. TEXT_TYPE_UNSPECIFIED = 0 # The text is a final response to the user question. FINAL_RESPONSE = 1 # The text is a thought from the model. THOUGHT = 2 # 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. PROGRESS = 3 end end |
#text_type ⇒ ::Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage::TextType
Returns Optional. The type of the text message.
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 427 class TextMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the text message. module TextType # The default text type. TEXT_TYPE_UNSPECIFIED = 0 # The text is a final response to the user question. FINAL_RESPONSE = 1 # The text is a thought from the model. THOUGHT = 2 # 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. PROGRESS = 3 end end |
#thought_signature ⇒ ::String
Returns Optional. An opaque signature for a thought so it can be reused in subsequent requests.
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 427 class TextMessage include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of the text message. module TextType # The default text type. TEXT_TYPE_UNSPECIFIED = 0 # The text is a final response to the user question. FINAL_RESPONSE = 1 # The text is a thought from the model. THOUGHT = 2 # 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. PROGRESS = 3 end end |