Skip to content

Knowledge bases for Amazon Bedrock

Knowledge bases for Amazon Bedrock provides you the capability of amassing data sources into a repository of information. With knowledge bases, you can easily build an application that takes advantage of retrieval augmented generation (RAG), a technique in which the retrieval of information from data sources augments the generation of model responses. For more information, visit the AWS documentation here.

Prerequisites

The principal must have the following permissions:

Configurations

agenteval.yml
target:
  type: bedrock-knowledge-base
  model_id: my-model-id
  knowledge_base_id: my-kb-id

model_id (string)

The unique identifier of the foundation model used to generate a response.


knowledge_base_id (string)

The unique identifier of the knowledge base that is queried and the foundation model used for generation.