Skip to content

docs: add Eden AI integration guide for aisuite#76

Merged
MVS-source merged 2 commits into
mainfrom
integrations/aisuite
Jul 17, 2026
Merged

docs: add Eden AI integration guide for aisuite#76
MVS-source merged 2 commits into
mainfrom
integrations/aisuite

Conversation

@MVS-source

@MVS-source MVS-source commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

What

New integration guide for aisuite (Andrew Ng's unified LLM library), under AI Frameworks.

Eden AI is already a built-in aisuite provider — the provider (aisuite/providers/edenai_provider.py), guide and tests were merged upstream in andrewyng/aisuite#345. This doc shows how to use it.

How it works

  • Model selection: client.chat.completions.create(model="edenai:<provider>/<model>", ...) — the edenai: prefix + Eden AI's provider/model id.
  • The provider auto-uses https://api.edenai.run/v3 and reads the key from EDENAI_API_KEY (its edenai_provider.py calls os.getenv("EDENAI_API_KEY")).
  • Install: pip install aisuite openai (Eden AI runs through the openai SDK).

Files

  • v3/integrations/aisuite.mdx (new)
  • integration-logo/aisuite-icondoc.svg (new, square, currentColor — placeholder mark, swap for an official logo if available)
  • docs.jsonaisuite added to AI Frameworks

Conventions

  • Format matches existing integration docs (<TechArticleSchema> + <CodeGroup>).
  • Env var EDENAI_API_KEY (tool-mandated by the provider, not the docs house style).
  • Model IDs use current models (gpt-5.5, claude-sonnet-5, mistral-large-2512, gemini-3.5-flash).
  • Python snippets marked {/* skip-test */} (aisuite isn't in tests/requirements-lock.txt).

Summary by CodeRabbit

  • Documentation
    • Added documentation for integrating Eden AI with the aisuite Python library.
    • Included installation instructions, quick-start examples, API key configuration, model selection guidance, and supported provider examples.
    • Added the new aisuite integration page to the V3 AI Frameworks navigation.

@mintlify

mintlify Bot commented Jul 17, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
edenai 🟢 Ready View Preview Jul 17, 2026, 7:53 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

Adds an aisuite integration guide covering installation, chat completions, model selection, API key configuration, and related documentation links. The new page is registered under V3 Integrations → AI Frameworks.

Changes

aisuite integration documentation

Layer / File(s) Summary
aisuite integration guide
v3/integrations/aisuite.mdx
Adds page metadata, Eden AI usage examples, installation commands, model listings, configuration options, environment variables, and next-step links.
AI Frameworks navigation entry
docs.json
Adds the aisuite page route after the pydantic-ai entry.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • edenai/docs#70: Adds a similar Eden AI integration page and navigation entry.
  • edenai/docs#72: Updates the adjacent V3 AI Frameworks navigation entries.

Suggested reviewers: tristantelleb

Poem

I’m a rabbit with docs in my paws,
Adding aisuite without pause.
Models hop, keys spring,
Chat completions sing—
Eden’s new page joins the cause!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed Clear and specific: it accurately summarizes the new Eden AI aisuite integration guide added under docs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch integrations/aisuite

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mintlify

mintlify Bot commented Jul 17, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
edenai 🟡 Building Jul 17, 2026, 7:52 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@MVS-source MVS-source self-assigned this Jul 17, 2026
@MVS-source
MVS-source merged commit aaf25fe into main Jul 17, 2026
5 of 6 checks passed

@coderabbitai coderabbitai Bot 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@v3/integrations/aisuite.mdx`:
- Line 49: Replace the nonstandard token placeholders in
v3/integrations/aisuite.mdx at lines 49, 124, and 138: use api_token for
EDENAI_API_KEY in all three examples, including replacing both your_api_key_here
and YOUR_EDENAI_API_KEY.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 84bc9b09-75b4-483b-897c-b5999cef134a

📥 Commits

Reviewing files that changed from the base of the PR and between 1a465f9 and 86977a3.

⛔ Files ignored due to path filters (1)
  • integration-logo/aisuite-icondoc.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • docs.json
  • v3/integrations/aisuite.mdx


<CodeGroup>
```bash .env
EDENAI_API_KEY=your_api_key_here

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Use standard token type placeholders.

As per coding guidelines, code examples must distinguish token types by using api_token for production keys (or sandbox_api_token for testing), rather than custom placeholders like your_api_key_here or YOUR_EDENAI_API_KEY.

  • v3/integrations/aisuite.mdx#L49-L49: Replace your_api_key_here with api_token.
  • v3/integrations/aisuite.mdx#L124-L124: Replace YOUR_EDENAI_API_KEY with api_token.
  • v3/integrations/aisuite.mdx#L138-L138: Replace your_api_key_here with api_token.
📍 Affects 1 file
  • v3/integrations/aisuite.mdx#L49-L49 (this comment)
  • v3/integrations/aisuite.mdx#L124-L124
  • v3/integrations/aisuite.mdx#L138-L138
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@v3/integrations/aisuite.mdx` at line 49, Replace the nonstandard token
placeholders in v3/integrations/aisuite.mdx at lines 49, 124, and 138: use
api_token for EDENAI_API_KEY in all three examples, including replacing both
your_api_key_here and YOUR_EDENAI_API_KEY.

Source: Coding guidelines

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.

1 participant