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.



2147
2148
2149
2150
2151
2152
2153
# File 'lib/aws-sdk-bedrock/types.rb', line 2147

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)


2147
2148
2149
2150
2151
2152
2153
# File 'lib/aws-sdk-bedrock/types.rb', line 2147

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:



2147
2148
2149
2150
2151
2152
2153
# File 'lib/aws-sdk-bedrock/types.rb', line 2147

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