AI/MLEnterpriseHR Tech

RAG AI HR Assistant

A retrieval-based HR assistant that answers from approved policy documents and exposes its source context instead of relying on model memory alone.

Delivered value

Turns approved policy documents into cited answers and declines when the supporting evidence is missing.

Published
Updated
Stack
4 technologies
Editorial system visual showing approved policy files moving through retrieval into a cited HR answer with fallback
Editorial system visual. Delivered product evidence appears below.

The problem

Employees asked recurring policy and procedure questions, but the approved answers lived across documents. The assistant needed to find relevant source passages and decline when the material did not support an answer.

The system response

I built an intelligent conversational AI assistant using Retrieval-Augmented Generation technology that delivers accurate, policy-grounded responses to employee inquiries automatically.

Key capabilities:

  • Semantic search via Supabase vector storage
  • Automated Google Drive document ingestion
  • Retrieval and response guardrails for unsupported questions
  • Modern web chat with webhook API integration
  • Context-aware answers from verified documents only

What shipped

The delivered chat retrieves approved document passages before drafting an answer and uses a fallback when relevant context is missing. The ingestion path keeps document updates separate from the employee-facing chat flow.

Turns approved policy documents into cited answers and declines when the supporting evidence is missing.

Architecture decisions

  1. Ingest approved Google Drive documents into a controlled processing path
  2. Store searchable chunks and embeddings in Supabase
  3. Retrieve source context before generating a response
  4. Return a fallback when the retrieval threshold is not met

Release checks

  • Test questions answered directly by an approved source
  • Test ambiguous and unsupported questions
  • Confirm removed documents no longer appear in retrieval results

Project evidence

Real interface screenshots and diagrams are kept separate from the editorial cover visual.

HR policy assistant chat grounded in approved documents
Project evidence from the delivered system.

Evidence note: The screenshot and architecture description support the implementation summary. Private HR documents, employee conversations, and unsupported ticket-reduction claims are excluded.

Have a workflow that needs the same level of control?

Bring the current process, the systems involved, and the failure points. I will turn them into a written scope with acceptance checks before recommending a build.