Skip to content

fix(rag): incorporate embed model in index fingerprint and clean up eval script - #19

Merged
KazKozDev merged 1 commit into
mainfrom
fix/rag-index-version-and-eval-cleanup
Sep 4, 2026
Merged

KazKozDev merged 1 commit into
mainfrom
fix/rag-index-version-and-eval-cleanup

Conversation

@KazKozDev

Copy link
Copy Markdown
Owner

Summary of changes

  • Index fingerprinting: added self.embed_model to the SHA-256 digest calculation in SemanticRAG._load_chunks. Changing embedding models will now cleanly invalidate cached .npz indices and update the reported index version.
  • Unit test: added test_index_version_changes_with_embed_model in tests/test_rag.py.
  • Benchmark script cleanup: removed unused OLLAMA_BASE_URL parameter from scripts/evaluate_rag.py, passing embed_model explicitly.
  • Baseline and docs sync: updated index version to a07db2f30577badb in evals/rag_baseline.json and README.md.

@KazKozDev
KazKozDev merged commit 4201ff7 into main Sep 4, 2026
1 check passed
@KazKozDev
KazKozDev deleted the fix/rag-index-version-and-eval-cleanup branch September 4, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant