AI / ML
Retrieval
Search over your documents with citations back to source.
How we use Retrieval
Retrieval grounds answers in your data instead of model memory.
Where we reach for it
Internal knowledge search
Staff ask questions across manuals, policies and tickets and get an answer with links to the passages it came from.
Customer-facing help
A support assistant answers from your published documentation and cites the page, so customers can verify the answer.
Hybrid search
We combine keyword search with vector search, often via Postgres with pgvector or a dedicated engine, because exact terms such as product codes still matter.
Permission-aware results
Search respects who may see which document, so the assistant does not surface content a user could not open directly.
When we pick something else
If your content is small and well structured, a good full-text search or a plain FAQ page may serve better than a retrieval pipeline. If answers need precise figures from a database, a direct query is more reliable than asking a model to read text.
What we watch for
Chunking and freshness
How documents are split affects answer quality. We tune chunk size on real questions, and set up re-indexing so changed or deleted documents do not linger in results.
Measuring retrieval
We test whether the right passage is found before judging the generated answer. Many bad answers trace back to bad retrieval.
Source quality and access
Outdated or contradictory documents produce outdated or contradictory answers. We also check access control and where embeddings are stored and processed.
Common questions
- What is retrieval-augmented generation (RAG)?
The system first finds relevant passages in your documents, then gives them to a language model to write an answer. This grounds the reply in your data and allows citations.
- Do we need a vector database?
Not necessarily. For moderate volumes, Postgres with pgvector is often enough and keeps your stack simple. Dedicated engines make sense at larger scale or for specialised search features.
- Can RAG still give wrong answers?
Yes. The model can misread a passage or the right passage may not be retrieved. Citations let users check, and an evaluation set helps us find weak spots.
Next step
What is costing you time, money or customers today?
You get an honest assessment of whether and how we can help, followed by a written plan with a cost estimate and timeline.
Tell us what you're buildingWe reply within 1–3 working days, by email, call or video. Your choice.