MicroFish/backend/app
Dominik Seemann b8de81a539 fix(graphiti): surface embedding failures and document ollama embedder
Replace the silent placeholder-UUID fallback in
_GraphNamespace.add_batch with logger.exception(...) + raise so
embedder misconfiguration (404 unknown model, connection refused, etc.)
fails the surrounding graph-build Task with a visible error instead of
producing a Task that looks completed while the graph stays empty.

Document the existing-but-undocumented Ollama embedder configuration
in .env.example, CLAUDE.md, README.md, and docker-compose.yml.
mxbai-embed-large is the recommended local model because its 1024-dim
output matches Graphiti's default EMBEDDING_DIM. Adds a curl smoke
test to verify embedder reachability before the first graph build.

No new env var or provider literal: Ollama is reached through the
existing openai-provider branch by setting EMBEDDING_BASE_URL,
EMBEDDING_API_KEY, and EMBEDDING_MODEL.

Closes #18
2026-05-07 20:39:42 +00:00
..
api feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
models feat(i18n): replace hardcoded Chinese in backend SSE progress messages 2026-04-01 16:32:10 +08:00
services fix(graphiti): surface embedding failures and document ollama embedder 2026-05-07 20:39:42 +00:00
utils feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
__init__.py feat(i18n): externalize chinese log and api response strings 2026-05-07 13:52:22 +00:00
config.py feat(graphiti): finalize neo4j migration with provider switch 2026-05-07 08:43:36 +00:00