Skip to content

Latest commit

 

History

History

groq-code-interpreter-js

Llama 3 + function calling + E2B Code interpreter

Powered by open-source Code Interpreter SDK by E2B

E2B's code interpreter SDK quickly creates a secure cloud sandbox powered by Firecracker.

Inside this sandbox is a running Jupyter server that the LLM can use.

Step 1: Install dependencies

We start by installing the E2B Code Interpreter SDK and Groq's JS SDK.

You can do that by simply calling

npm i

Step 2: Define API keys

Create .env file in the root of the project and add your E2B API key to it. You can use .env.template as a template.

cp .env.template .env

Step 3: Run the code

Just run the code by calling

npm start