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.
4488 4489 4490 4491 4492 4493 4494 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4488 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.
4488 4489 4490 4491 4492 4493 4494 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4488 class RerankDocument < Struct.new( :json_document, :text_document, :type) SENSITIVE = [:text_document] include Aws::Structure end |
#type ⇒ String
The type of document to rerank.
4488 4489 4490 4491 4492 4493 4494 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 4488 class RerankDocument < Struct.new( :json_document, :text_document, :type) SENSITIVE = [:text_document] include Aws::Structure end |