Class: Aws::Bedrock::Types::RetrieveAndGenerateConfiguration

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

Overview

Contains configuration details for a knowledge base retrieval and response generation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#external_sources_configurationTypes::ExternalSourcesRetrieveAndGenerateConfiguration

The configuration for the external source wrapper object in the ‘retrieveAndGenerate` function.



6529
6530
6531
6532
6533
6534
6535
# File 'lib/aws-sdk-bedrock/types.rb', line 6529

class RetrieveAndGenerateConfiguration < Struct.new(
  :type,
  :knowledge_base_configuration,
  :external_sources_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#knowledge_base_configurationTypes::KnowledgeBaseRetrieveAndGenerateConfiguration

Contains configuration details for the knowledge base retrieval and response generation.



6529
6530
6531
6532
6533
6534
6535
# File 'lib/aws-sdk-bedrock/types.rb', line 6529

class RetrieveAndGenerateConfiguration < Struct.new(
  :type,
  :knowledge_base_configuration,
  :external_sources_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of resource that contains your data for retrieving information and generating responses.

If you choose to use ‘EXTERNAL_SOURCES`, then currently only Claude 3 Sonnet models for knowledge bases are supported.

Returns:

  • (String)


6529
6530
6531
6532
6533
6534
6535
# File 'lib/aws-sdk-bedrock/types.rb', line 6529

class RetrieveAndGenerateConfiguration < Struct.new(
  :type,
  :knowledge_base_configuration,
  :external_sources_configuration)
  SENSITIVE = []
  include Aws::Structure
end