Skip to content

ExternalSourcesRetrieveAndGenerateConfigurationDict

Dictionary Type

ExternalSourcesRetrieveAndGenerateConfigurationDict

Bases: TypedDict

Dictionary form of ExternalSourcesRetrieveAndGenerateConfiguration.

Attributes

generation_configuration instance-attribute

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

model_arn instance-attribute
model_arn: Required[str]

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

sources instance-attribute

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