Class: Aws::BedrockAgentRuntime::Types::RerankDocument
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::RerankDocument
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Contains information about a document to rerank. Choose the type
to
define and include the field that corresponds to the type.
Constant Summary collapse
- SENSITIVE =
[:text_document]
Instance Attribute Summary collapse
-
#json_document ⇒ Hash, ...
Contains a JSON document to rerank.
-
#text_document ⇒ Types::RerankTextDocument
Contains information about a text document to rerank.
-
#type ⇒ String
The type of document to rerank.
Instance Attribute Details
#json_document ⇒ Hash, ...
Contains a JSON document to rerank.
5514 5515 5516 5517 5518 5519 5520 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5514 class RerankDocument < Struct.new( :json_document, :text_document, :type) SENSITIVE = [:text_document] include Aws::Structure end |
#text_document ⇒ Types::RerankTextDocument
Contains information about a text document to rerank.
5514 5515 5516 5517 5518 5519 5520 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5514 class RerankDocument < Struct.new( :json_document, :text_document, :type) SENSITIVE = [:text_document] include Aws::Structure end |
#type ⇒ String
The type of document to rerank.
5514 5515 5516 5517 5518 5519 5520 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5514 class RerankDocument < Struct.new( :json_document, :text_document, :type) SENSITIVE = [:text_document] include Aws::Structure end |