Class: Aws::Bedrock::Types::KnowledgeBaseRetrieveAndGenerateConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrock/types.rb

Overview

Contains configuration details for retrieving information from a knowledge base and generating responses.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#generation_configurationTypes::GenerationConfiguration

Contains configurations details for response generation based on retrieved text chunks.



4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'lib/aws-sdk-bedrock/types.rb', line 4363

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

#knowledge_base_idString

The unique identifier of the knowledge base.

Returns:

  • (String)


4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'lib/aws-sdk-bedrock/types.rb', line 4363

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

#model_arnString

The Amazon Resource Name (ARN) of the foundation model or [inference profile] used to generate responses.

[1]: docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html

Returns:

  • (String)


4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'lib/aws-sdk-bedrock/types.rb', line 4363

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

#orchestration_configurationTypes::OrchestrationConfiguration

Contains configuration details for the model to process the prompt prior to retrieval and response generation.



4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'lib/aws-sdk-bedrock/types.rb', line 4363

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

#retrieval_configurationTypes::KnowledgeBaseRetrievalConfiguration

Contains configuration details for retrieving text chunks.



4363
4364
4365
4366
4367
4368
4369
4370
4371
# File 'lib/aws-sdk-bedrock/types.rb', line 4363

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