Class: Aws::BedrockAgentRuntime::Types::RerankResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::RerankResult
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Contains information about a document that was reranked.
Constant Summary collapse
- SENSITIVE =
[:document]
Instance Attribute Summary collapse
-
#document ⇒ Types::RerankDocument
Contains information about the document.
-
#index ⇒ Integer
The original index of the document from the input sources array.
-
#relevance_score ⇒ Float
The relevance score of the document.
Instance Attribute Details
#document ⇒ Types::RerankDocument
Contains information about the document.
7157 7158 7159 7160 7161 7162 7163 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 7157 class RerankResult < Struct.new( :document, :index, :relevance_score) SENSITIVE = [:document] include Aws::Structure end |
#index ⇒ Integer
The original index of the document from the input sources array.
7157 7158 7159 7160 7161 7162 7163 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 7157 class RerankResult < Struct.new( :document, :index, :relevance_score) SENSITIVE = [:document] include Aws::Structure end |
#relevance_score ⇒ Float
The relevance score of the document.
7157 7158 7159 7160 7161 7162 7163 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 7157 class RerankResult < Struct.new( :document, :index, :relevance_score) SENSITIVE = [:document] include Aws::Structure end |