Class: Google::Cloud::AIPlatform::V1::GroundingChunk

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/content.rb

Overview

Grounding chunk.

Defined Under Namespace

Classes: RetrievedContext, Web

Instance Attribute Summary collapse

Instance Attribute Details

#retrieved_context::Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext

Returns Grounding chunk from context retrieved by the retrieval tools.

Note: The following fields are mutually exclusive: retrieved_context, web. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 542

class GroundingChunk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Chunk from the web.
  # @!attribute [rw] uri
  #   @return [::String]
  #     URI reference of the chunk.
  # @!attribute [rw] title
  #   @return [::String]
  #     Title of the chunk.
  class Web
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Chunk from context retrieved by the retrieval tools.
  # @!attribute [rw] uri
  #   @return [::String]
  #     URI reference of the attribution.
  # @!attribute [rw] title
  #   @return [::String]
  #     Title of the attribution.
  # @!attribute [rw] text
  #   @return [::String]
  #     Text of the attribution.
  class RetrievedContext
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#web::Google::Cloud::AIPlatform::V1::GroundingChunk::Web

Returns Grounding chunk from the web.

Note: The following fields are mutually exclusive: web, retrieved_context. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::AIPlatform::V1::GroundingChunk::Web)

    Grounding chunk from the web.

    Note: The following fields are mutually exclusive: web, retrieved_context. If a field in that set is populated, all other fields in the set will automatically be cleared.



542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 542

class GroundingChunk
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Chunk from the web.
  # @!attribute [rw] uri
  #   @return [::String]
  #     URI reference of the chunk.
  # @!attribute [rw] title
  #   @return [::String]
  #     Title of the chunk.
  class Web
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Chunk from context retrieved by the retrieval tools.
  # @!attribute [rw] uri
  #   @return [::String]
  #     URI reference of the attribution.
  # @!attribute [rw] title
  #   @return [::String]
  #     Title of the attribution.
  # @!attribute [rw] text
  #   @return [::String]
  #     Text of the attribution.
  class RetrievedContext
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end