Class: Aws::BedrockAgentRuntime::Types::KnowledgeBaseRetrieveAndGenerateConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::KnowledgeBaseRetrieveAndGenerateConfiguration
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Contains details about the resource being queried.
This data type is used in the following API operations:
Retrieve request – in the
knowledgeBaseConfiguration
fieldRetrieveAndGenerate request – in the
knowledgeBaseConfiguration
field
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#generation_configuration ⇒ Types::GenerationConfiguration
Contains configurations for response generation based on the knowledge base query results.
-
#knowledge_base_id ⇒ String
The unique identifier of the knowledge base that is queried.
-
#model_arn ⇒ String
The ARN of the foundation model or [inference profile][1] used to generate a response.
-
#orchestration_configuration ⇒ Types::OrchestrationConfiguration
Settings for how the model processes the prompt prior to retrieval and generation.
-
#retrieval_configuration ⇒ Types::KnowledgeBaseRetrievalConfiguration
Contains configurations for how to retrieve and return the knowledge base query.
Instance Attribute Details
#generation_configuration ⇒ Types::GenerationConfiguration
Contains configurations for response generation based on the knowledge base query results.
2012 2013 2014 2015 2016 2017 2018 2019 2020 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2012 class KnowledgeBaseRetrieveAndGenerateConfiguration < Struct.new( :generation_configuration, :knowledge_base_id, :model_arn, :orchestration_configuration, :retrieval_configuration) SENSITIVE = [] include Aws::Structure end |
#knowledge_base_id ⇒ String
The unique identifier of the knowledge base that is queried.
2012 2013 2014 2015 2016 2017 2018 2019 2020 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2012 class KnowledgeBaseRetrieveAndGenerateConfiguration < Struct.new( :generation_configuration, :knowledge_base_id, :model_arn, :orchestration_configuration, :retrieval_configuration) SENSITIVE = [] include Aws::Structure end |
#model_arn ⇒ String
The ARN of the foundation model or inference profile used to generate a response.
2012 2013 2014 2015 2016 2017 2018 2019 2020 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2012 class KnowledgeBaseRetrieveAndGenerateConfiguration < Struct.new( :generation_configuration, :knowledge_base_id, :model_arn, :orchestration_configuration, :retrieval_configuration) SENSITIVE = [] include Aws::Structure end |
#orchestration_configuration ⇒ Types::OrchestrationConfiguration
Settings for how the model processes the prompt prior to retrieval and generation.
2012 2013 2014 2015 2016 2017 2018 2019 2020 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2012 class KnowledgeBaseRetrieveAndGenerateConfiguration < Struct.new( :generation_configuration, :knowledge_base_id, :model_arn, :orchestration_configuration, :retrieval_configuration) SENSITIVE = [] include Aws::Structure end |
#retrieval_configuration ⇒ Types::KnowledgeBaseRetrievalConfiguration
Contains configurations for how to retrieve and return the knowledge base query.
2012 2013 2014 2015 2016 2017 2018 2019 2020 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2012 class KnowledgeBaseRetrieveAndGenerateConfiguration < Struct.new( :generation_configuration, :knowledge_base_id, :model_arn, :orchestration_configuration, :retrieval_configuration) SENSITIVE = [] include Aws::Structure end |