openai-assistent-python icon indicating copy to clipboard operation
openai-assistent-python copied to clipboard

Use of OpenAI new assistant system, make chatbot and use for other scenario.

Openai Assistant - A simple assistant for Example of OpenAI assistant

Overview

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.

Installation

git clone https://github.com/shamspias/openai-assistent-python
python3 -m venv venv
. ven/bin/activate
pip install -r requirements.txt

Environment Variables

cp example.env .env

Your ASSISTANT_ID or ASSISTANT_NAME and API_KEY in .env file

python3 main.py

Usage