chore(rag): enable NPU reranker by default

This commit is contained in:
William Valentin
2026-06-04 15:01:26 -07:00
parent 71f3c05587
commit 06cd49247a
3 changed files with 9 additions and 9 deletions
@@ -11,13 +11,13 @@ Environment=PORT=18810
Environment=RAG_COLLECTION=obsidian_bge_npu
Environment=RAG_EMBED_MODEL=bge-base-en-v1.5-int8-ov
Environment=OLLAMA_BASE_URL=http://127.0.0.1:18817
# Optional request-time second-stage reranking. Disabled by default so :18810
# keeps working when the :18818 prototype is stopped or not yet approved live.
Environment=RAG_RERANK_ENABLED=false
# Request-time second-stage reranking. The :18810 handler keeps vector-order
# fallback on reranker timeout/error or missing positive NPU proof.
Environment=RAG_RERANK_ENABLED=true
Environment=RAG_RERANK_URL=http://127.0.0.1:18818/rerank
Environment=RAG_RERANK_INITIAL_K=20
Environment=RAG_RERANK_TOP_K=5
Environment=RAG_RERANK_TIMEOUT_MS=3000
Environment=RAG_RERANK_TIMEOUT_MS=1500
Environment=RAG_RERANK_REQUIRE_NPU_PROOF=true
[Install]