Class: Google::Cloud::DiscoveryEngine::V1::Answer::Reference::UnstructuredDocumentInfo
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::Answer::Reference::UnstructuredDocumentInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/answer.rb
Overview
Unstructured document information.
Defined Under Namespace
Classes: ChunkContent
Instance Attribute Summary collapse
-
#chunk_contents ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1::Answer::Reference::UnstructuredDocumentInfo::ChunkContent>
List of cited chunk contents derived from document content.
-
#document ⇒ ::String
Document resource name.
-
#struct_data ⇒ ::Google::Protobuf::Struct
The structured JSON metadata for the document.
-
#title ⇒ ::String
Title.
-
#uri ⇒ ::String
URI for the document.
Instance Attribute Details
#chunk_contents ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1::Answer::Reference::UnstructuredDocumentInfo::ChunkContent>
Returns List of cited chunk contents derived from document content.
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 120 class UnstructuredDocumentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Chunk content. # @!attribute [rw] content # @return [::String] # Chunk textual content. # @!attribute [rw] page_identifier # @return [::String] # Page identifier. # @!attribute [rw] relevance_score # @return [::Float] # The relevance of the chunk for a given query. Values range from 0.0 # (completely irrelevant) to 1.0 (completely relevant). # This value is for informational purpose only. It may change for # the same query and chunk at any time due to a model retraining or # change in implementation. class ChunkContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#document ⇒ ::String
Returns Document resource name.
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 120 class UnstructuredDocumentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Chunk content. # @!attribute [rw] content # @return [::String] # Chunk textual content. # @!attribute [rw] page_identifier # @return [::String] # Page identifier. # @!attribute [rw] relevance_score # @return [::Float] # The relevance of the chunk for a given query. Values range from 0.0 # (completely irrelevant) to 1.0 (completely relevant). # This value is for informational purpose only. It may change for # the same query and chunk at any time due to a model retraining or # change in implementation. class ChunkContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#struct_data ⇒ ::Google::Protobuf::Struct
Returns The structured JSON metadata for the document. It is populated from the struct data from the Chunk in search result.
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 120 class UnstructuredDocumentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Chunk content. # @!attribute [rw] content # @return [::String] # Chunk textual content. # @!attribute [rw] page_identifier # @return [::String] # Page identifier. # @!attribute [rw] relevance_score # @return [::Float] # The relevance of the chunk for a given query. Values range from 0.0 # (completely irrelevant) to 1.0 (completely relevant). # This value is for informational purpose only. It may change for # the same query and chunk at any time due to a model retraining or # change in implementation. class ChunkContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#title ⇒ ::String
Returns Title.
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 120 class UnstructuredDocumentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Chunk content. # @!attribute [rw] content # @return [::String] # Chunk textual content. # @!attribute [rw] page_identifier # @return [::String] # Page identifier. # @!attribute [rw] relevance_score # @return [::Float] # The relevance of the chunk for a given query. Values range from 0.0 # (completely irrelevant) to 1.0 (completely relevant). # This value is for informational purpose only. It may change for # the same query and chunk at any time due to a model retraining or # change in implementation. class ChunkContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#uri ⇒ ::String
Returns URI for the document.
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 120 class UnstructuredDocumentInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Chunk content. # @!attribute [rw] content # @return [::String] # Chunk textual content. # @!attribute [rw] page_identifier # @return [::String] # Page identifier. # @!attribute [rw] relevance_score # @return [::Float] # The relevance of the chunk for a given query. Values range from 0.0 # (completely irrelevant) to 1.0 (completely relevant). # This value is for informational purpose only. It may change for # the same query and chunk at any time due to a model retraining or # change in implementation. class ChunkContent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |