Class: Google::Cloud::DiscoveryEngine::V1beta::Answer::Reference::ChunkInfo
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::Answer::Reference::ChunkInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1beta/answer.rb
Overview
Chunk information.
Defined Under Namespace
Classes: DocumentMetadata
Instance Attribute Summary collapse
-
#chunk ⇒ ::String
Chunk resource name.
-
#content ⇒ ::String
Chunk textual content.
-
#document_metadata ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::Answer::Reference::ChunkInfo::DocumentMetadata
Document metadata.
-
#relevance_score ⇒ ::Float
Relevance score.
Instance Attribute Details
#chunk ⇒ ::String
Returns Chunk resource name.
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 147 class ChunkInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Document metadata. # @!attribute [rw] document # @return [::String] # Document resource name. # @!attribute [rw] uri # @return [::String] # URI for the document. # @!attribute [rw] title # @return [::String] # Title. # @!attribute [rw] page_identifier # @return [::String] # Page identifier. # @!attribute [rw] struct_data # @return [::Google::Protobuf::Struct] # The structured JSON metadata for the document. # It is populated from the struct data from the Chunk in search result. class DocumentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#content ⇒ ::String
Returns Chunk textual content.
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 147 class ChunkInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Document metadata. # @!attribute [rw] document # @return [::String] # Document resource name. # @!attribute [rw] uri # @return [::String] # URI for the document. # @!attribute [rw] title # @return [::String] # Title. # @!attribute [rw] page_identifier # @return [::String] # Page identifier. # @!attribute [rw] struct_data # @return [::Google::Protobuf::Struct] # The structured JSON metadata for the document. # It is populated from the struct data from the Chunk in search result. class DocumentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#document_metadata ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::Answer::Reference::ChunkInfo::DocumentMetadata
Returns Document metadata.
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 147 class ChunkInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Document metadata. # @!attribute [rw] document # @return [::String] # Document resource name. # @!attribute [rw] uri # @return [::String] # URI for the document. # @!attribute [rw] title # @return [::String] # Title. # @!attribute [rw] page_identifier # @return [::String] # Page identifier. # @!attribute [rw] struct_data # @return [::Google::Protobuf::Struct] # The structured JSON metadata for the document. # It is populated from the struct data from the Chunk in search result. class DocumentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#relevance_score ⇒ ::Float
Returns Relevance score.
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/answer.rb', line 147 class ChunkInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Document metadata. # @!attribute [rw] document # @return [::String] # Document resource name. # @!attribute [rw] uri # @return [::String] # URI for the document. # @!attribute [rw] title # @return [::String] # Title. # @!attribute [rw] page_identifier # @return [::String] # Page identifier. # @!attribute [rw] struct_data # @return [::Google::Protobuf::Struct] # The structured JSON metadata for the document. # It is populated from the struct data from the Chunk in search result. class DocumentMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |