MicroFish/.kiro/specs
Dominik Seemann fb0ac4b5fe fix(graph): replace passthrough reranker with ollama-backed cross-encoder
Graphiti's default cross-encoder hard-codes the OpenAI gpt-4.1-nano model
and depends on OpenAI-specific logprobs/logit_bias, so the adapter has
been injecting a no-op _PassthroughReranker just to keep search code
paths working. Search results consumed by SearchResult, InsightForge,
Panorama, and Interview were therefore returned in Graphiti's RRF order
with no real reranking signal.

Add an Ollama-backed CrossEncoderClient that scores passages through a
local chat model via the OpenAI-compatible /v1 surface and wire it into
_get_graphiti() behind a RERANKER_PROVIDER switch (default: ollama).
Construction is side-effect-free and the rank() method never raises:
per-passage parse failures degrade to a deterministic low score, and a
whole-call failure falls back to passthrough order with a single WARNING
log so Flask keeps serving when Ollama is unreachable. Setting
RERANKER_PROVIDER=none preserves the legacy passthrough for CI and slim
containers that cannot pull the model.

Closes #39
2026-05-11 10:39:50 +00:00
..
graph-build-empty-fix fix(graph): default embeddings to local ollama and gate empty graph builds 2026-05-11 09:43:28 +00:00
graphiti-neo4j-finalize fix(graph): replace passthrough reranker with ollama-backed cross-encoder 2026-05-11 10:39:50 +00:00
graphiti-ollama-embedder fix(graphiti): surface embedding failures and document ollama embedder 2026-05-07 20:39:42 +00:00
graphiti-ollama-reranker fix(graph): replace passthrough reranker with ollama-backed cross-encoder 2026-05-11 10:39:50 +00:00
i18n-backfill-zh-json fix(i18n): backfill english-only entries in zh.json 2026-05-07 15:32:30 +00:00
i18n-ci-guard chore(i18n): refresh cjk baseline and update spec status 2026-05-09 10:59:51 +00:00
i18n-e2e-english-verification chore(i18n): add e2e english verification spec, audit, and report 2026-05-07 18:44:13 +00:00
i18n-externalize-backend-logs feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
i18n-externalize-remaining-backend-logs fix(i18n): externalize remaining chinese backend log strings 2026-05-07 22:40:18 +00:00
i18n-frontend-comments docs(i18n): translate chinese comments in frontend src to english 2026-05-07 17:42:05 +00:00
i18n-frontend-ui-strings fix(i18n): externalize chinese ui strings in process and step views 2026-05-07 21:57:06 +00:00
i18n-locale-parity-guard feat(i18n): enforce locale-key parity in pr-time ci guard 2026-05-09 00:46:37 +00:00
i18n-oasis-profile-generator-prompts Merge remote-tracking branch 'origin/main' into feat/25-i18n-oasis-profile-generator-prompts 2026-05-11 11:19:46 +02:00
i18n-ontology-generator-prompts feat(i18n): translate ontology_generator prompts to english 2026-05-07 09:40:27 +00:00
i18n-readme-tagline-and-assets docs(i18n): translate readme tagline and rename chinese assets 2026-05-07 19:39:30 +00:00
i18n-report-agent-prompts feat(i18n): translate report_agent react prompts to english 2026-05-07 12:49:23 +00:00
i18n-simulation-config-generator-prompts feat(i18n): translate simulation_config_generator prompts to english 2026-05-07 11:43:47 +00:00
i18n-translate-backend-comments chore(i18n): refresh cjk baseline and update spec status 2026-05-09 10:59:51 +00:00