Commit Graph

4 Commits

Author SHA1 Message Date
Claude ff096b72db
feat: add Claude-powered graph engine (Graphify-style)
Add a Claude/Anthropic-driven graph construction engine as a drop-in
alternative to the Zep-based one. Each text chunk is sent to Claude
with a tool-use schema derived from the generated ontology, extracting
only entities/relationships explicitly grounded in the text and
merging them into a local JSON graph store. Same service interface and
graph data shape as the Zep engine, so the existing D3 visualization
works unmodified.

- backend/app/services/claude_graph_builder.py: Claude extraction agent
- backend/app/models/graph_store.py: local JSON graph persistence
- backend/app/api/graph.py: engine selection (claude/zep) on build/data/delete routes
- frontend: Claude/Zep engine toggle on the Graph Build step, defaults to Claude
- config, requirements, locales, README/.env.example updated accordingly
2026-08-03 19:51:37 +00:00
ghostubborn 9d43b77511 feat(i18n): replace hardcoded Chinese in backend SSE progress messages 2026-04-01 16:32:10 +08:00
666ghj 5f159f6d88 Enhance backend functionality with OASIS simulation features
- Updated README.md to include new simulation scripts and configuration details for OASIS, including API retry mechanisms and environment variable settings.
- Added simulation management and configuration generation services to streamline the simulation process across Twitter and Reddit platforms.
- Introduced new API routes for simulation-related operations, including entity retrieval and simulation status management.
- Implemented a robust retry mechanism for external API calls to improve system stability.
- Enhanced task management model to include detailed progress tracking.
- Added logging capabilities for action tracking during simulations.
- Included new scripts for running parallel simulations and testing profile formats.
2025-12-01 15:03:44 +08:00
666ghj 08f417f3b7 Introduce Project ID for context management, finalizing the stateful API pipeline from file submission to graph construction. 2025-11-28 17:21:08 +08:00