docs: add installation instructions for Graphiti using poetry and uv (#340)

docs: enhance README with installation instructions for Google Gemini support
This commit is contained in:
Daniel Chalef 2025-04-08 21:20:09 -07:00 committed by GitHub
parent 0f6ac57dab
commit 77406dfae9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -231,6 +231,16 @@ Make sure to replace the placeholder values with your actual Azure OpenAI creden
Graphiti supports Google's Gemini models for both LLM inference and embeddings. To use Gemini, you'll need to configure both the LLM client and embedder with your Google API key. Graphiti supports Google's Gemini models for both LLM inference and embeddings. To use Gemini, you'll need to configure both the LLM client and embedder with your Google API key.
Install Graphiti:
```bash
poetry add "graphiti-core[google-genai]"
# or
uv add "graphiti-core[google-genai]"
```
```python ```python
from graphiti_core import Graphiti from graphiti_core import Graphiti
from graphiti_core.llm_client.gemini_client import GeminiClient, LLMConfig from graphiti_core.llm_client.gemini_client import GeminiClient, LLMConfig