graphiti/graphiti_core
mvanders 36a421150e feat: Add Ollama integration and production Docker setup
WHAT:
- Add OllamaClient implementation for local LLM support
- Add production-ready Docker compose configuration
- Add requirements file for Ollama dependencies
- Add comprehensive integration documentation
- Add example FastAPI deployment

WHY:
- Eliminates OpenAI API dependency and costs
- Enables fully local/private processing
- Resolves Docker health check race conditions
- Fixes function signature corruption issues

TESTING:
- Production tested with 1,700+ items from ZepCloud
- 44 users, 81 threads, 1,638 messages processed
- 48+ hours continuous operation
- 100% success rate (vs <30% with MCP integration)

TECHNICAL DETAILS:
- Model: qwen2.5:7b (also tested llama2, mistral)
- Response time: ~200ms average
- Memory usage: Stable at ~150MB
- Docker: Removed problematic health checks
- Group ID: Fixed validation (ika-production format)

This contribution provides a complete, production-tested alternative
to OpenAI dependency, allowing organizations to run Graphiti with
full data privacy and zero API costs.

Resolves common issues:
- OpenAI API rate limiting
- Docker container startup failures
- Function parameter type mismatches
- MCP integration complexity

Co-authored-by: Marc <mvanders@github.com>
2025-08-06 16:51:59 +02:00
..
cross_encoder Bulk ingestion (#698) 2025-07-10 12:14:49 -04:00
driver chore/prepare kuzu integration (#762) 2025-07-29 09:07:34 -04:00
embedder save edge update (#721) 2025-07-14 11:15:38 -04:00
llm_client feat: Add Ollama integration and production Docker setup 2025-08-06 16:51:59 +02:00
models chore/prepare kuzu integration (#762) 2025-07-29 09:07:34 -04:00
prompts move summary out of attribute extraction (#792) 2025-07-31 12:15:21 -04:00
search move summary out of attribute extraction (#792) 2025-07-31 12:15:21 -04:00
telemetry feat: add telemetry with PostHog and update Docker configurations (#633) 2025-06-27 12:23:30 -07:00
utils move summary out of attribute extraction (#792) 2025-07-31 12:15:21 -04:00
__init__.py chore: Fix packaging (#38) 2024-08-25 10:07:50 -07:00
edges.py chore/prepare kuzu integration (#762) 2025-07-29 09:07:34 -04:00
errors.py Add group ID validation and error handling (#618) 2025-06-24 09:33:54 -07:00
graph_queries.py add community group id index (#802) 2025-08-04 12:24:44 -04:00
graphiti.py update add triple to always have embeddings (#803) 2025-08-04 16:33:07 -04:00
graphiti_types.py Add support for falkordb (#575) 2025-06-13 12:06:57 -04:00
helpers.py move summary out of attribute extraction (#792) 2025-07-31 12:15:21 -04:00
nodes.py chore/prepare kuzu integration (#762) 2025-07-29 09:07:34 -04:00
py.typed Add py.typed file (#105) 2024-09-11 08:44:06 -04:00