RetrieveAndGenerateConfiguration
Contains details about the resource being queried.
This data type is used in the following API operations:
-
RetrieveAndGenerate request – in the
retrieveAndGenerateConfigurationfield
Contents
- type
-
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.Type: String
Valid Values:
KNOWLEDGE_BASE | EXTERNAL_SOURCESRequired: Yes
- externalSourcesConfiguration
-
The configuration for the external source wrapper object in the
retrieveAndGeneratefunction.Type: ExternalSourcesRetrieveAndGenerateConfiguration object
Required: No
- knowledgeBaseConfiguration
-
Contains details about the knowledge base for retrieving information and generating responses.
Type: KnowledgeBaseRetrieveAndGenerateConfiguration object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: