* first cut * Update dependencies and enhance README for optional LLM providers - Bump aiohttp version from 3.11.14 to 3.11.16 - Update yarl version from 1.18.3 to 1.19.0 - Modify pyproject.toml to include optional extras for Anthropic, Groq, and Google Gemini - Revise README.md to reflect new optional LLM provider installation instructions and clarify API key requirements * Remove deprecated packages from poetry.lock and update content hash - Removed cachetools, google-auth, google-genai, pyasn1, pyasn1-modules, rsa, and websockets from the lock file. - Added new extras for anthropic, google-genai, and groq. - Updated content hash to reflect changes. * Refactor import paths for GeminiClient in README and __init__.py - Updated import statement in README.md to reflect the new module structure for GeminiClient. - Removed GeminiClient from the __all__ list in __init__.py as it is no longer directly imported. * Refactor import paths for GeminiEmbedder in README and __init__.py - Updated import statement in README.md to reflect the new module structure for GeminiEmbedder. - Removed GeminiEmbedder and GeminiEmbedderConfig from the __all__ list in __init__.py as they are no longer directly imported. |
||
|---|---|---|
| .. | ||
| graph_service | ||
| .env.example | ||
| Makefile | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
graph-service
Graph service is a fast api server implementing the graphiti package.
Running Instructions
-
Ensure you have Docker and Docker Compose installed on your system.
-
Add
zepai/graphiti:latestto your service setup -
Make sure to pass the following environment variables to the service
OPENAI_API_KEY=your_openai_api_key NEO4J_USER=your_neo4j_user NEO4J_PASSWORD=your_neo4j_password NEO4J_PORT=your_neo4j_port -
This service depends on having access to a neo4j instance, you may wish to add a neo4j image to your service setup as well. Or you may wish to use neo4j cloud or a desktop version if running this locally.
An example of docker compose setup may look like this:
version: '3.8' services: graph: image: zepai/graphiti:latest ports: - "8000:8000" environment: - OPENAI_API_KEY=${OPENAI_API_KEY} - NEO4J_URI=bolt://neo4j:${NEO4J_PORT} - NEO4J_USER=${NEO4J_USER} - NEO4J_PASSWORD=${NEO4J_PASSWORD} neo4j: image: neo4j:5.22.0 ports: - "7474:7474" # HTTP - "${NEO4J_PORT}:${NEO4J_PORT}" # Bolt volumes: - neo4j_data:/data environment: - NEO4J_AUTH=${NEO4J_USER}/${NEO4J_PASSWORD} volumes: neo4j_data: -
Once you start the service, it will be available at
http://localhost:8000(or the port you have specified in the docker compose file). -
You may access the swagger docs at
http://localhost:8000/docs. You may also access redocs athttp://localhost:8000/redoc. -
You may also access the neo4j browser at
http://localhost:7474(the port depends on the neo4j instance you are using).