KnowledgeBaseRetrieveAndGenerateConfiguration
Contains details about the resource being queried.
This data type is used in the following API operations:
Retrieve request – in the
knowledgeBaseConfiguration
fieldRetrieveAndGenerate request – in the
knowledgeBaseConfiguration
field
Types
Properties
Link copied to clipboard
Contains configurations for response generation based on the knowledge base query results.
Link copied to clipboard
The unique identifier of the knowledge base that is queried.
Link copied to clipboard
The ARN of the foundation model or inference profile used to generate a response.
Link copied to clipboard
Settings for how the model processes the prompt prior to retrieval and generation.
Link copied to clipboard
Contains configurations for how to retrieve and return the knowledge base query.
Functions
Link copied to clipboard
inline fun copy(block: KnowledgeBaseRetrieveAndGenerateConfiguration.Builder.() -> Unit = {}): KnowledgeBaseRetrieveAndGenerateConfiguration