Skip to content
Abhinav Anand
work

RAG / AWS

NovaTech HR Policy Assistant

RAG assistant that answers HR policy questions with cited source passages.

[01] problem

Answer employee questions from policy documents, showing where each answer came from and refusing what the documents don't support.

[02] approach

  1. 01Synthetic HR policy PDFs are stored in Amazon S3 and indexed with Amazon Bedrock Knowledge Bases for managed retrieval and generation.
  2. 02Answers come back with retrieved passages and source references.
  3. 03Bedrock Guardrails plus application-level validation catch unsafe or out-of-scope inputs and unsupported answers.

[03] what's interesting

  • There are two layers of safety: Bedrock Guardrails, then application-level validation.
  • The policy documents are synthetic.

[04] stack

  • Python
  • Streamlit
  • AWS S3
  • Amazon Bedrock
  • Bedrock Guardrails
  • Boto3