Skip to content

RetrieveAndGenerateConfigurationDict

Dictionary Type

RetrieveAndGenerateConfigurationDict

Bases: TypedDict

Dictionary form of RetrieveAndGenerateConfiguration.

Attributes

external_sources_configuration instance-attribute

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

knowledge_base_configuration instance-attribute

Contains details about the knowledge base for retrieving information and generating responses.

type instance-attribute
type: Required[str]

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

Note

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