Amazon Web Services
AWS-AI3 intermediate
Build a RAG assistant with Bedrock Knowledge Bases
Turn HR policy documents in S3 into a retrieval-augmented generation (RAG) assistant: chunking, embeddings and a vector store, sync, retrieval scores, grounded answers with citations – and see the assistant decline questions its documents cannot answer.
What you'll do
- Prepare documents in S3 as a data source
- Configure chunking, an embeddings model and a vector store
- Sync and inspect chunks and vectors
- Retrieve passages and generate cited answers
- Recognise grounded vs ungrounded answers
Lab tasks
- 1 Inspect the documents in S3
-
2
Create knowledge base
hr-assistant-kb - 3 Sync the data source
- 4 Retrieval only
- 5 Retrieve and generate a cited answer
- 6 Ask something the documents do not cover