Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 595 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 595 Bytes

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