Enterprise AI Bootcamp Demo 1

The model was not the problem

Every retrieval, rerank and generation emits a span using the OpenTelemetry GenAI attribute names, so the question "was this the model or the retrieval?" is answered by reading the trace rather than by arguing about it.

Trace e7fbc0ffa89e4e33

eval.improved · 2318 ms · status ok

Question
Give me the crankcase oil change procedure for the 15 CFM 175 PSI tank-mounted Bauer compressor.
Mode
improved
Documents returned
Answer refused
Cost
$0.00000

Span tree

retrieval retrieve
2318.0 ms
9 attributes
atlas.doc_ids ['tm-5-4310-363-14', 'tm-5-4310-363-14', 'tm-5-4310-363-14', 'tm-5-4310-363-14', 'tm-5-4310-363-14']
atlas.families ['B']
atlas.k 5
atlas.mode improved
atlas.n_results 5
atlas.pages [1, 2, 4, 15, 126]
atlas.reranked True
atlas.top_score 6.4367
atlas.withheld 0

The counterfactual: same model, correct passages

The argument that the bottleneck is retrieval is only worth making if it can be falsified. This runs the identical question through the identical model and the identical prompt, changing one thing: the second run is handed the passages the gold set says contain the answer. If the answer becomes correct, the model was never the constraint. The gold passages are the ones pipeline/questions.py located in the corpus, not passages chosen to make the point.

Index built by scripts/build_index.py at 2026-08-10 01:44:34 in 711s: 25 documents, 3,146 pages, 12,590 improved chunks / 5,434 naive chunks. Embeddings: Snowflake/snowflake-arctic-embed-s (int8 ONNX, Apache-2.0). Reranker: cross-encoder/ms-marco-MiniLM-L-6-v2 (ONNX, Apache-2.0).