Skip to content

Bedrock Agent Runtime  >  Structures  >  ExternalSourcesRetrieveAndGenerateConfiguration

ExternalSourcesRetrieveAndGenerateConfiguration

Structure Class

ExternalSourcesRetrieveAndGenerateConfiguration dataclass

The configurations of the external source wrapper object in the retrieveAndGenerate function.

Attributes

generation_configuration class-attribute instance-attribute
generation_configuration: ExternalSourcesGenerationConfiguration | None = None

The prompt used with the external source wrapper object with the retrieveAndGenerate function.

model_arn instance-attribute
model_arn: str

The model Amazon Resource Name (ARN) for the external source wrapper object in the retrieveAndGenerate function.

sources instance-attribute
sources: list[ExternalSource]

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