fix: complete requirements.txt and inference.py output correctness.

- Add faiss-cpu, rank-bm25, sentence-transformers, numpy to requirements.txt.
  (previously only pymupdf was listed; other deps were manual-install only)
- Cast score to float() before round() to avoid numpy type serialization errors.
- Pass expected_standards through _format_result for eval script compatibility.
- Update retrieval_results.json with expected_standards per query for eval.
This commit is contained in:
K
2026-05-03 00:03:03 +05:30
parent 8e1348fb63
commit 29b32dfcac
3 changed files with 58 additions and 15 deletions
+4
View File
@@ -1 +1,5 @@
pymupdf>=1.24.0
faiss-cpu>=1.7.4
rank-bm25>=0.2.2
sentence-transformers>=3.0.0
numpy>=1.26.0