$stack/retrieval

Retrieval is where AI succeeds or fails

Almost every broken AI feature we are called in to fix is a retrieval problem, not a model problem. We build the corpus, the index and the evaluation that decides whether an answer was any good.

$retrieval services

Three reasons retrieval work comes to us

The corpus first

Before any index exists, we look at what you actually have: formats, duplication, access rules, how often it changes, and what is simply wrong. Indexing bad material faster does not help.

→Corpus audit: formats, duplication, freshness, gaps→Chunking designed against document structure, not a fixed size→Metadata and permissions modelled up front→Source of truth agreed where documents disagree→A refresh pipeline, because the corpus keeps moving

Index and query design

Vector search alone rarely wins. We combine it with keyword and filters, then tune retrieval against questions your experts actually ask.

→Hybrid search: vectors, keywords and metadata filters→Re-ranking where precision matters more than recall→Query rewriting for how people really type→Row- and document-level access enforced at query time→Latency and cost measured per query shape

Evaluation and citations

We build an eval set with your domain experts and hold every change against it — and every answer points back to the passage it came from.

→Eval set written with your experts, owned by you→Retrieval metrics separated from generation metrics→Citations to the exact passage, not the document→Regression testing on every index or model change→Dashboards for unanswered and low-confidence queriesBook a call →
$evaluation

Measured, not asserted

Retrieval quality is a number. We report it before and after every change, and we separate it from how well the model writes.

Every answerCited to the passage it came from
SeparateRetrieval and generation measured apart
OwnedEval set handed to your team, not ours
3-6 wksCorpus audit to evaluated retrieval

What we build it on

A short, deliberate list — each in production on a system we maintain. See the full partner stack.

PineconeVector search
SupabaseData platform partner
PostgreSQLCore data engine
Claude (Anthropic)AI platform partner
OpenAIPlatform — production use
LangSmithEvals and tracing
SnowflakeWarehouse — healthcare data
Google CloudCertified — data & AI

Clients we work with

Bayt Travel
Travel Secrets
DAX — Doha Express
Orangetheory Fitness
Nova Fertility
Octillion Global
Ornamint
Shubhra Krishan
IKISAKI
$case studies

Retrieval case studies

Retrieval interface
ResearchNova FertilityA decade of clinical literature made answerable, with citations to the passage and an eval set the research team owns.
Knowledge console
Internal knowledgeBayt TravelFare rules and operational policy retrieved with permissions applied per role, not per document.

What we will not do

Retrieval is not always the answer either. These are the jobs we hand back.

$./retrieval-review→
01Index a corpus nobody has cleaned or agreed the source of truth for.02Use vector search where a database query answers the question exactly.03Ship retrieval with no eval set and no owner.04Return answers with no citation to the passage behind them.05Ignore permissions because the pilot was internal-only.