work / 2026 / Built at work

Internal policy assistant

A RAG assistant for internal policies at AYE Finance, with department-scoped retrieval, private document chat, an admin portal and desktop and WhatsApp clients.

  • RAG
  • FastAPI
  • Qdrant
  • AWS Bedrock
  • Electron

What it is

An assistant employees can ask about internal policy. Answers are generated from the policy documents rather than from the model's memory.

Shape of it

  • Backend: FastAPI, PostgreSQL on RDS, Qdrant for vector search, AWS Bedrock for generation.
  • Two modes: an organisation-wide policy chat, scoped by department, and a private "My Docs" mode where uploaded files live in a session and are purged after a time limit.
  • Access: employees are matched against an employee table and get a JWT; the admin portal is role-gated through directory login.
  • Clients: a web admin portal, an Electron tray app with local file search, and a WhatsApp bridge.

The design notes are in Notes on a policy RAG assistant.

← back to work