Skip to content

Latest commit

 

History

History

toolhouse-python-code-interpreter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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 .