Skip to content

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages