D3FVLT / OpenAI-Assistant-Telegram

Simple implementation of OpenAI Assistant feature

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenAI Assistant + Telegram Bot example

A simple case of using Aiogram and OpenAI to communicate with the OpenAI Assistant

Preparation:

Make a virtual environment for Python:

python -m venv ./venv

Enter the virtual environment:

MacOS, Linux:

source ./venv/bin/activate

Windows:

./venv/Scripts/activate

Install the required packages:

pip install -r requirements.txt

Create new .env file and fill it

Look at .env.example

Launch

Make sure you are in a venv

python main.py

Tech Stack

Python 3.10

About

Simple implementation of OpenAI Assistant feature


Languages

Language:Python 100.0%