Class: Google::Cloud::DiscoveryEngine::V1::Answer::Step::Action::Observation::SearchResult::ChunkInfo
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::Answer::Step::Action::Observation::SearchResult::ChunkInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/answer.rb
Overview
Chunk information.
Instance Attribute Summary collapse
-
#chunk ⇒ ::String
Chunk resource name.
-
#content ⇒ ::String
Chunk textual content.
-
#relevance_score ⇒ ::Float
The relevance of the chunk for a given query.
Instance Attribute Details
#chunk ⇒ ::String
Returns Chunk resource name.
354 355 356 357 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 354 class ChunkInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#content ⇒ ::String
Returns Chunk textual content.
354 355 356 357 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 354 class ChunkInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#relevance_score ⇒ ::Float
Returns 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.
354 355 356 357 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 354 class ChunkInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |