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.



2843
2844
2845
2846
2847
2848
2849
2850
2851
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2843

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)


2843
2844
2845
2846
2847
2848
2849
2850
2851
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2843

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)


2843
2844
2845
2846
2847
2848
2849
2850
2851
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2843

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.



2843
2844
2845
2846
2847
2848
2849
2850
2851
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2843

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.



2843
2844
2845
2846
2847
2848
2849
2850
2851
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 2843

class KnowledgeBaseRetrieveAndGenerateConfiguration < Struct.new(
  :generation_configuration,
  :knowledge_base_id,
  :model_arn,
  :orchestration_configuration,
  :retrieval_configuration)
  SENSITIVE = []
  include Aws::Structure
end