Leave of 4 or more working days needs your department head’s approval first, then HR confirmation1. File it in the system at least 5 working days ahead, except sick leave with paperwork2.
Enterprise project (client details confidential)
A Q&A assistant over company documents that answers with citations or says it doesn't know
Staff ask in plain language. The assistant searches internal PDFs, Office files, images and videos, then answers with citations to the exact passages. If it can't find a source, it says it doesn't know. The search step makes no LLM calls, thanks to Inverted HyDE.
- Role
- AI architect, technical lead
- Period
- 2023 – 2025
- Status
- Handed over
- 4 types
- of documents: PDF, Office, images, video
- 0
- LLM calls during search, thanks to Inverted HyDE
- 100%
- of answers cite their sources
Context
Staff ask in everyday language, while internal documents are written in the language of procedures. Keyword search misses. Plain vector search misses too, because the question and the passage “don’t look alike”. An assistant that answers fluently but gets the regulations wrong is more dangerous than no assistant at all.
The agent I built
- Reads every format and keeps the structure. PDFs, Office files, images and videos are split by chapter, section and table instead of evenly by character count, so each passage returned keeps enough context.
- Inverted HyDE. Instead of making the LLM write a “hypothetical document” for each question at query time (slow and costly), the system generates hypothetical questions for each passage ahead of time, during indexing. Search becomes matching questions against questions. Details in the blog post on Inverted HyDE.
- Hybrid search: vector search combined with BM25, then re-ranking with a cross-encoder.
Guardrails
- Answers only from the document store. Every point in an answer cites the exact passage and source document, so the person asking can click through and check.
- No source means “I don’t know”. The assistant doesn’t guess, and points the person to where they can ask next.
- Search steps are shown to the user. Each answer shows where it searched, how long each step took, and which passages were chosen.
Results
Queries take under one second on a multi-format document store. The search step makes no LLM calls, and users can check every answer.
What a business gets
I build document assistants for businesses the same way:
- A 2-week trial on your real documents, with test questions written by your own staff.
- A scorecard for every answer: right or wrong, cited or not, how long it took, how much it cost.
- Clear guardrails: only your documents are used, and when there isn’t enough evidence it says it doesn’t know.
The project is confidential at the client’s request, so the picture uses a stand-in company name and documents.
Send your website, get a proposal within 2 working days.
No website yet, or need a tool or an AI agent? Send a message or an email and I reply within 1 working day.
hello@behitek.com · 0372 615 855 · text any time; calls after 6 pm Vietnam time (GMT+7)