Class: Aws::BedrockAgentRuntime::Types::KnowledgeBaseRetrieveAndGenerateConfiguration

Inherits:
Struct
  • Object
show all
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:

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#generation_configurationTypes::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_idString

The unique identifier of the knowledge base that is queried.

Returns:

  • (String)


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_arnString

The ARN of the foundation model or inference profile used to generate a response.

Returns:

  • (String)


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_configurationTypes::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_configurationTypes::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