Class: Google::Cloud::AIPlatform::V1::GroundingChunk
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::GroundingChunk
- 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
-
#retrieved_context ⇒ ::Google::Cloud::AIPlatform::V1::GroundingChunk::RetrievedContext
Grounding chunk from context retrieved by the retrieval tools.
-
#web ⇒ ::Google::Cloud::AIPlatform::V1::GroundingChunk::Web
Grounding chunk from the web.
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.
646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 646 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] rag_chunk # @return [::Google::Cloud::AIPlatform::V1::RagChunk] # Additional context for the RAG retrieval result. This is only populated # when using the RAG retrieval tool. # @!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.
646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 |
# File 'proto_docs/google/cloud/aiplatform/v1/content.rb', line 646 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] rag_chunk # @return [::Google::Cloud::AIPlatform::V1::RagChunk] # Additional context for the RAG retrieval result. This is only populated # when using the RAG retrieval tool. # @!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 |