Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 521 Bytes

File metadata and controls

15 lines (11 loc) · 521 Bytes

python-code-interpreter

This is an example of using groq-go to create a chat completion using the llama-3.1-70B-8192-tool-use-preview model.

It interacts with the Toolhouse API to run the code interpreter.

Usage

Make sure you have a groq key set in the environment variable GROQ_KEY. Also, make sure you have a toolhouse api key set in the environment variable TOOLHOUSE_API_KEY.

export GROQ_KEY=your-groq-key
export TOOLHOUSE_API_KEY=your-toolhouse-api-key
go run .