Amna Ahmad

Ask My Docs

Twelve public-domain food-safety sheets, searched sixteen ways. The table is the saved evaluation. The winner is LLM chunks reranked by Groq. These are US rules.

Ask on this computer

This page shows the saved evaluation. A new question loads a local embedding model and keeps the API key on the server, so the ask box is not published here.

uv run python app.py

Then open http://127.0.0.1:8765/projects/ask-my-docs/

Retrieval comparison

Cited answers kept 7 of 16 in-scope replies. Refusals held on 10 of 10.

ChunksSearchHitsMRR
character-500BM2511/160.590
character-500Vector14/160.724
character-500Hybrid15/160.724
character-500Cross-encoder15/160.807
character-1000BM2510/160.575
character-1000Vector15/160.744
character-1000Hybrid15/160.704
character-1000Cross-encoder15/160.859
sectionBM2512/160.604
sectionVector14/160.792
sectionHybrid15/160.728
sectionCross-encoder15/160.854
llm-chunksBM2515/160.792
llm-chunksVector16/160.886
llm-chunksHybrid16/160.881
llm-chunksGroq rerankWinner16/160.964