Skip to content

Commit cecc2a2

Browse files
committed
docs(config): document Eden AI as an EU OpenAI-compatible provider
Eden AI is a French, EU-based OpenAI-compatible gateway. OpenKB already supports it through the existing OPENAI_API_BASE override, so this documents the config in the configuration guide and .env.example: set LLM_API_KEY to an Eden AI key, OPENAI_API_BASE to https://api.edenai.run/v3 (or the EU endpoint), and a double-prefixed model (openai/<vendor>/<model>) so LiteLLM keeps Eden AI's vendor-prefixed id intact.
1 parent a69c7d4 commit cecc2a2

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ LLM_API_KEY=your-key-here
77

88
# Optional base URL override for OpenAI-compatible gateways
99
# OPENAI_API_BASE=https://api.deepseek.com
10+
# Eden AI (EU-based, OpenAI-compatible, zero data retention): OPENAI_API_BASE=https://api.edenai.run/v3
11+
# (or https://api.eu.edenai.run/v3 for EU data residency); then set
12+
# model: openai/<vendor>/<model>, e.g. openai/openai/gpt-4o-mini
1013

1114
# --- REST API server variables (read by `openkb-api` / `python -m openkb.api`) ---
1215
# OPENKB_API_TOKEN=... # required bearer token clients send as Authorization: Bearer <token>

examples/configuration/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,29 @@ LLM_API_KEY=your-key-here
216216
# Write it as bare `null` — not `None` or "null".
217217
```
218218

219+
- **Eden AI** (`OPENAI_API_BASE=https://api.edenai.run/v3`) is a French, EU-based
220+
OpenAI-compatible gateway. Set `LLM_API_KEY` to your Eden AI key, point
221+
`OPENAI_API_BASE` at Eden AI, and use a double-prefixed `model` so LiteLLM
222+
keeps Eden AI's vendor-prefixed id intact:
223+
224+
```bash
225+
# <kb>/.env
226+
LLM_API_KEY=your-edenai-key
227+
OPENAI_API_BASE=https://api.edenai.run/v3 # or https://api.eu.edenai.run/v3 for EU data residency
228+
```
229+
230+
```yaml
231+
# <kb>/.openkb/config.yaml
232+
model: openai/openai/gpt-4o-mini # openai/<vendor>/<model>, e.g. openai/anthropic/claude-sonnet-4-5
233+
```
234+
235+
The leading `openai/` selects LiteLLM's OpenAI-compatible transport (so it uses
236+
`OPENAI_API_BASE`); the remaining `<vendor>/<model>` is Eden AI's model id. Eden
237+
AI's EU endpoint processes and routes prompts and outputs within the European
238+
Union, with zero data retention by default (SOC 2 / ISO 27001, DPA as standard),
239+
which is useful for GDPR-sensitive knowledge bases. See
240+
https://www.edenai.co/data-compliancy.
241+
219242
**Where keys are read from** (first match wins, existing env always respected):
220243

221244
1. your shell environment

0 commit comments

Comments
 (0)