here I show a basic example of how to use the OpenAI assistant API to create a simple assistant. and do conversation with that and create multiple threads.
git clone https://github.com/shamspias/openai-assistent-python
python3 -m venv venv
. ven/bin/activate
pip install -r requirements.txt
cp example.env .env
Your ASSISTANT_ID
or ASSISTANT_NAME
and API_KEY
in .env
file
python3 main.py