RetrieveAndGenerateConfiguration
¶
Used by
Source code in docs_src/capo_bedrock_agent_runtime/types/retrieve_and_generate_configuration.py
external_sources_configuration
instance-attribute
¶
external_sources_configuration: NotRequired[
ExternalSourcesRetrieveAndGenerateConfiguration
]
The configuration for the external source wrapper object in the retrieveAndGenerate function.
knowledge_base_configuration
instance-attribute
¶
knowledge_base_configuration: NotRequired[KnowledgeBaseRetrieveAndGenerateConfiguration]
Contains details about the knowledge base for retrieving information and generating responses.
type
instance-attribute
¶
type: RetrieveAndGenerateType
The type of resource that contains your data for retrieving information and generating responses.
If you choose to use EXTERNAL_SOURCES, then currently only Anthropic Claude 3 Sonnet models for knowledge bases are supported.