> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tokenlab.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Graphiti

> TokenLab'i OpenAI uyumlu bir Graphiti LLM sağlayıcısı olarak kullanın

## Genel Bakış

Graphiti, `OpenAIGenericClient` aracılığıyla OpenAI uyumlu `/v1` uç noktalarını destekler. Bu istemciyi TokenLab'e yönlendirin ve bir TokenLab modeli seçin.

<Note>
  **Tür**: Bilgi grafiği bellek çerçevesi

  **Birincil Yol**: OpenAI uyumlu Sohbet Tamamlama (Chat Completions)

  **Destek Güveni**: Desteklenen OpenAI uyumlu yol
</Note>

## Ortam

```bash theme={null}
export TOKENLAB_API_KEY="sk-your-tokenlab-key"
```

## LLM İstemcisi

```python theme={null}
import os

from graphiti_core.llm_client.config import LLMConfig
from graphiti_core.llm_client.openai_generic_client import OpenAIGenericClient

llm_config = LLMConfig(
    api_key=os.environ["TOKENLAB_API_KEY"],
    model="claude-sonnet-5",
    small_model="gpt-5.4-mini",
    base_url="https://api.tokenlab.sh/v1",
)

llm_client = OpenAIGenericClient(config=llm_config)
```

`llm_client` nesnesini, grafik veritabanınız ve gömücü (embedder) yapılandırmanızla birlikte `Graphiti(...)` örneğinize aktarın.

## Uç Nokta Notları

Graphiti'nin OpenAI uyumlu yolu, sohbet tamamlama odaklıdır. Çıkarım ve tekilleştirme görevleri için güvenilir bir şekilde yapılandırılmış JSON döndüren modelleri kullanın.
