Skip to main content

2 posts tagged with "embeddings"

View all tags
intermediatePart 9

Route each question to the right Qdrant collection, with one embedder

· 10 min read
Rafael Fernandes
NLP Engineer & Tech Writer at WiLine
Share:
Qdrant+
0/9
🎯 Skill path0/9 earned
AI evals & observability

The RAG capstone put the whole docs corpus in one vector collection and searched it for every question. That works until your corpus spans several domains that share vocabulary. Ask "how do I open a firewall port?" against one mixed collection and the top results can include compute or storage chunks that happen to mention ports — noise the generator then has to reason around.

The fix is older than RAG: don't search everything, search the right shelf. Split the corpus into one collection per domain, decide which domain a question belongs to, and search only that one. The twist that makes it cheap: you can do the deciding with the same embedder you already use for retrieval — no second model.

advancedPart 5

The capstone: build, evaluate, and observe a RAG docs assistant on the WEC API

· 28 min read
Rafael Fernandes
NLP Engineer & Tech Writer at WiLine
Share:
+Promptfoo+

Everything in this series was building to this. You can prove a model works (part 1), make its output machine-reliable (part 2), generate real test data (part 3), and observe production (part 4). Now we spend all four skills at once on the pattern behind almost every serious LLM product: RAG — retrieval-augmented generation.

We'll build a docs assistant: a containerized HTTP service that answers customer questions from WEC's own documentation. Not a notebook — a service, Docker-first, the shape you'd actually deploy. And because this series doesn't do happy-path demos: along the way our RAG hallucinates a GPU price, we root-cause it to our own scraper, fix it, and pin the fix with a regression test. Every command, number, and error below is from a real run.