MicroFish/backend/app
ENI ee3609d439 Productionize: add ingest_text one-call API, ontology JSON retry, README fork notice, e2e Dockerfile path fix
- backend/app/api/graph.py: add POST /api/graph/ingest_text
  (one-call: project + ontology + async build + returns project_id/task_id)
  Designed for cron automations that need to ingest a markdown briefing
  without the 3-step project -> ontology -> build dance.

- backend/app/services/ontology_generator.py: bump max_tokens 4096->16384
  and add a retry-with-compact-prompt path on JSON parse failure.
  M3 truncates long entity-attribute arrays; the retry asks for a stripped
  schema (no attributes, 6 entity types max, 6 edge types max).

- deploy/Dockerfile.e2e: build context is the project root, so COPY
  needs the deploy/ prefix; entrypoint uses 'uv run python' because
  the MiroFish image is uv-managed (flask/graphiti/falkordb all live
  under /app/backend/.venv).

- README.md: replace Zep + Qwen references with the Graphiti+FalkorDB
  stack and MiniMax M-series LLMs; add 'About this fork' section
  documenting the deploy overlay, ingest_text API, and cron integration.
2026-06-09 13:58:08 +00:00
..
api Productionize: add ingest_text one-call API, ontology JSON retry, README fork notice, e2e Dockerfile path fix 2026-06-09 13:58:08 +00:00
models feat(i18n): replace hardcoded Chinese in backend SSE progress messages 2026-04-01 16:32:10 +08:00
services Productionize: add ingest_text one-call API, ontology JSON retry, README fork notice, e2e Dockerfile path fix 2026-06-09 13:58:08 +00:00
utils Refactor: replace Zep with Graphiti+FalkorDB (FalkorDriver adapter, M3 LLM, deterministic embedder) + add e2e test, docker-compose, e2e one-shot, deploy notes 2026-06-09 13:56:34 +00:00
__init__.py Implement Report Agent for automated report generation and interaction 2025-12-09 15:10:55 +08:00
config.py Refactor: replace Zep with Graphiti+FalkorDB (FalkorDriver adapter, M3 LLM, deterministic embedder) + add e2e test, docker-compose, e2e one-shot, deploy notes 2026-06-09 13:56:34 +00:00