Hernando Abella

Customer Support Knowledge Assistant · Step 3 of 7

Build retrieval before generation

Create a search function using a simple baseline first, then add embeddings if useful. Return the top passages with source metadata and scores.

Understand

Checking retrieved passages separately makes it easier to diagnose retrieval errors than blaming the model.

Build

For each prepared question, inspect whether the right evidence appears in the top results. Tune chunking or ranking before calling a language model.

Check

Known answer questions retrieve relevant evidence, while unrelated questions do not appear confidently supported.

Try it

Add a small evaluation set with expected source IDs and calculate a simple retrieval hit rate.