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.
6989 6990 6991 6992 6993 6994 6995 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6989 class RerankDocument < Struct.new( :type, :text_document, :json_document) SENSITIVE = [:text_document] include Aws::Structure end |
#text_document ⇒ Types::RerankTextDocument
Contains information about a text document to rerank.
6989 6990 6991 6992 6993 6994 6995 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6989 class RerankDocument < Struct.new( :type, :text_document, :json_document) SENSITIVE = [:text_document] include Aws::Structure end |
#type ⇒ String
The type of document to rerank.
6989 6990 6991 6992 6993 6994 6995 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 6989 class RerankDocument < Struct.new( :type, :text_document, :json_document) SENSITIVE = [:text_document] include Aws::Structure end |