Skip to content

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

Notifications You must be signed in to change notification settings

shamspias/openai-assistent-python

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages