AI / Agents · 2026 · Live
Ask about Amir
A grounded AI assistant that answers recruiters’ questions from my resume
An AI assistant on my portfolio that answers questions about my experience in a few seconds, using only facts from my resume, with a checked citation for every sentence.
- 324 resume facts
- Every sentence cited
- $0 / month
The problem
Recruiters skim a resume in seconds and rarely find the detail they’re looking for. A chatbot could answer their questions, but an LLM that invents a skill or an employer is worse than no answer.
What I built
- Single source of truth: the Word master resume is converted into 324 short facts (kb.json), each tied to its source page, by the same Python build that generates the site and PDFs.
- Retrieval in the visitor’s browser: all-MiniLM-L6-v2 (8-bit, Transformers.js) embeds the question and ranks facts by cosine similarity plus an IDF keyword bonus; keyword search answers while the model loads.
- Answers from Llama 3.3 70B on Cloudflare Workers AI, with GLM-4.7-flash as a fallback. The Worker receives only fact IDs, reads the facts itself, and asks for a 1–3 sentence answer that cites them.
- Guardrails in code: every sentence must cite a provided fact or it is deleted; personal questions (pay, age, family, beliefs, health, residency, contact) are refused by rule in both the browser and the Worker; prompt-injection text is ignored.
- Production details: per-IP rate limiting, origin and input checks, graceful fallback to quoted facts when the AI is unavailable, a loading skeleton, and an embed that follows the site’s theme in 5 languages.
Results
- Answers recruiter questions in a few seconds with sources they can check, at $0 a month on free tiers.
- A miss on ‘Which companies does he work at now?’ showed the design working: search picked past jobs, the model refused to guess, and the fix (always sending current-role facts) went into retrieval, not the prompt.
- 13 Worker tests and a 21-question evaluation set, including questions it must refuse.
Tech stack
- JavaScript
- Transformers.js
- all-MiniLM-L6-v2
- Cloudflare Workers
- Workers AI
- Llama 3.3 70B
- Hugging Face Spaces
- Python
- GitHub Pages
- GitHub Actions