Request: Gemini Python/Js Example
Hello E2B Team,
I was looking through the e2b-cookbook for examples on how to integrate various LLMs for work, and I noticed there isn't one for the Google Gemini API. It would be incredibly helpful to have a recipe demonstrating the best practices for using Gemini within an E2B sandbox. (P.S. I'm aware that Google also offers an OpenAI-compatible endpoint, but I think a native google-genai SDK example would still be very beneficial.) I'm happy to take a stab at implementing this example and opening a PR if you'd like. Please feel free to assign this issue to me.
Thanks for considering this, Zai
Hi Zai, Apologies for not reacting sooner. Would you still be up for cooperation regarding the Gemini use case in the E2B sandbox? I am working on new documentation and use case examples, and would love to include this as a Vibe Coding or a similar use case.
Tomas from E2B
Hello, Sure, I'd love to work on it. What are you looking to add so I know what to work on?
Basically, just a simple project example that uses Gemini in the E2B sandbox. I would love to then create a documentation page from it and include it in our docs.
Basically, we want to create the most common use cases as examples in documentation. For any use case you find interesting, you can create a project for it. Let me know if you would be interested in any of these
- deep-research-agents
- ai-data-analysis-visualization
- reinforcement-learning
- vibe-coding
Alright, I am interested in the ai-data-analysis-visualization example, as that's what I use E2B for.
Perfect! Feel free to create a PR with the project at any time. I will be happy to take a look at it.
In the meantime, please let me know if you need anything from my side.
Hello @RatArt I have opened a PR. There isn't really a contributor's guide, so I tried to write the code as close to the other examples as I could.
If it's good, I would like to work on the deep-research-agents example too as this was an interesting learning experience.