Class: Google::Cloud::GeminiDataAnalytics::V1beta::TextMessage

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#parts::Array<::String>

Returns Optional. The parts of the message.

Returns:

  • (::Array<::String>)

    Optional. The parts of the message.



418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 418

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 thinking plan generated by the thinking tool.
    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.

Returns:



418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
# File 'proto_docs/google/cloud/geminidataanalytics/v1beta/data_chat_service.rb', line 418

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 thinking plan generated by the thinking tool.
    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