Skip to content

docs(config): document Eden AI as an EU OpenAI-compatible provider#202

Open
MVS-source wants to merge 1 commit into
VectifyAI:mainfrom
MVS-source:docs/edenai-provider
Open

docs(config): document Eden AI as an EU OpenAI-compatible provider#202
MVS-source wants to merge 1 commit into
VectifyAI:mainfrom
MVS-source:docs/edenai-provider

Conversation

@MVS-source

Copy link
Copy Markdown

What

Documents Eden AI as a supported provider. No code change is needed: OpenKB already routes through LiteLLM's OPENAI_API_BASE override, so Eden AI works today. This just documents the exact config in the configuration guide and .env.example.

Eden AI is a French, EU-based OpenAI-compatible gateway. Config:

# <kb>/.env
LLM_API_KEY=your-edenai-key
OPENAI_API_BASE=https://api.edenai.run/v3   # or https://api.eu.edenai.run/v3 for EU data residency
# <kb>/.openkb/config.yaml
model: openai/openai/gpt-4o-mini   # openai/<vendor>/<model>, e.g. openai/anthropic/claude-sonnet-4-5

The leading openai/ selects LiteLLM's OpenAI-compatible transport (so it honors OPENAI_API_BASE); the remaining <vendor>/<model> is Eden AI's vendor-prefixed model id.

Why Eden AI (EU / GDPR / data residency)

  • EU data residency: a dedicated EU endpoint (https://api.eu.edenai.run/v3) that processes and routes prompts and outputs within the European Union (non-EU models are rejected).
  • Zero data retention: prompts and outputs are not stored by default and are removed within 24 hours.
  • Compliance: SOC 2 and ISO 27001, DPA as standard, designed around GDPR and the EU AI Act.

Useful for GDPR-sensitive knowledge bases. Refs: https://www.edenai.co/post/eu-ai-endpoint-how-to-keep-ai-requests-and-data-in-europe and https://www.edenai.co/data-compliancy

Changes

  • examples/configuration/README.md: an Eden AI entry in "3. API keys & providers".
  • .env.example: an Eden AI example next to the existing OPENAI_API_BASE gateway note.

Testing

  • Verified against the real Eden AI API with a real key, through litellm.completion(model=..., base_url="https://api.edenai.run/v3", api_key=...) (OpenKB's exact call path). The documented double-prefixed form returns completions for three vendors: openai/openai/gpt-4o-mini, openai/anthropic/claude-sonnet-4-5, openai/mistral/mistral-small-latest. The single-prefixed openai/gpt-4o-mini fails (LiteLLM strips the prefix), which is exactly why the docs call out the double prefix.

Happy to adjust wording or move the section if you prefer.

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.
Copilot AI review requested due to automatic review settings July 21, 2026 15:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents Eden AI as an EU-based OpenAI-compatible gateway configuration for OpenKB/LiteLLM by adding concrete .env and config.yaml examples, clarifying the required openai/<vendor>/<model> (three-part) model identifier format to preserve Eden AI’s vendor-prefixed model IDs.

Changes:

  • Add an “Eden AI” provider entry to the configuration guide’s “API keys & providers” section with copy-pastable .env and YAML examples.
  • Add an Eden AI example to .env.example alongside the existing OPENAI_API_BASE gateway note.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
examples/configuration/README.md Adds an Eden AI provider section explaining OPENAI_API_BASE usage and the required model naming scheme.
.env.example Adds a commented Eden AI OPENAI_API_BASE example and a brief note on the corresponding model format.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +239 to +240
which is useful for GDPR-sensitive knowledge bases. See
https://www.edenai.co/data-compliancy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants