docs: add Eden AI integration guide for aisuite#76
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
WalkthroughAdds 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. Changesaisuite integration documentation
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
# Conflicts: # docs.json
There was a problem hiding this comment.
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
⛔ Files ignored due to path filters (1)
integration-logo/aisuite-icondoc.svgis excluded by!**/*.svg
📒 Files selected for processing (2)
docs.jsonv3/integrations/aisuite.mdx
|
|
||
| <CodeGroup> | ||
| ```bash .env | ||
| EDENAI_API_KEY=your_api_key_here |
There was a problem hiding this comment.
📐 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: Replaceyour_api_key_herewithapi_token.v3/integrations/aisuite.mdx#L124-L124: ReplaceYOUR_EDENAI_API_KEYwithapi_token.v3/integrations/aisuite.mdx#L138-L138: Replaceyour_api_key_herewithapi_token.
📍 Affects 1 file
v3/integrations/aisuite.mdx#L49-L49(this comment)v3/integrations/aisuite.mdx#L124-L124v3/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
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
client.chat.completions.create(model="edenai:<provider>/<model>", ...)— theedenai:prefix + Eden AI'sprovider/modelid.https://api.edenai.run/v3and reads the key fromEDENAI_API_KEY(itsedenai_provider.pycallsos.getenv("EDENAI_API_KEY")).pip install aisuite openai(Eden AI runs through theopenaiSDK).Files
v3/integrations/aisuite.mdx(new)integration-logo/aisuite-icondoc.svg(new, square,currentColor— placeholder mark, swap for an official logo if available)docs.json—aisuiteadded to AI FrameworksConventions
<TechArticleSchema>+<CodeGroup>).EDENAI_API_KEY(tool-mandated by the provider, not the docs house style).{/* skip-test */}(aisuite isn't intests/requirements-lock.txt).Summary by CodeRabbit