Class: Aws::Bedrock::Types::ExternalSourcesRetrieveAndGenerateConfiguration

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

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#generation_configurationTypes::ExternalSourcesGenerationConfiguration

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



4777
4778
4779
4780
4781
4782
4783
# File 'lib/aws-sdk-bedrock/types.rb', line 4777

class ExternalSourcesRetrieveAndGenerateConfiguration < Struct.new(
  :model_arn,
  :sources,
  :generation_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)


4777
4778
4779
4780
4781
4782
4783
# File 'lib/aws-sdk-bedrock/types.rb', line 4777

class ExternalSourcesRetrieveAndGenerateConfiguration < Struct.new(
  :model_arn,
  :sources,
  :generation_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#sourcesArray<Types::ExternalSource>

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

Returns:



4777
4778
4779
4780
4781
4782
4783
# File 'lib/aws-sdk-bedrock/types.rb', line 4777

class ExternalSourcesRetrieveAndGenerateConfiguration < Struct.new(
  :model_arn,
  :sources,
  :generation_configuration)
  SENSITIVE = []
  include Aws::Structure
end