Skip to content

docs: Add AI/ML API example #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

D1m7asis
Copy link

πŸ”„ Summary

This PR adds support for AI/ML API, an OpenAI-compatible provider offering 300+ models (e.g., DeepSeek, Gemini, ChatGPT), to the E2B Code Interpreter examples.


βœ… What's Included

  • πŸ§ͺ examples/aimlapi-js/: TypeScript example using E2B sandbox + AI/ML API via OpenAI SDK
  • πŸ§ͺ examples/aimlapi-python/: Python version using openai and e2b-code-interpreter
  • πŸ“Š Uses a CSV dataset to generate and run Python code (e.g., linear regression)
  • πŸ“„ Added .env.template, README.md, and dependency setup for each variant
  • πŸ”— Linked AI/ML API to the providers table in root README.md with proper UTM tracking

Let me know if you'd like the examples styled/formatted differently β€” happy to iterate!

@mishushakov
Copy link
Member

Thanks. I will be reviewing this over the weekend.

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