Skip to content

LagrangeH/MiniOpenAITelegramBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini OpenAI Telegram bot

Lines of code GitHub

How to setup

  1. Install Python 3.11
  2. Install Poetry
  3. Clone repository
git clone https://github.com/LagrangeH/MiniOpenAITelegramBot.git
  1. Go to the root directory of the project
cd MiniOpenAITelegramBot/
  1. Create Poetry virtual environment
poetry env use python3.11
  1. Install dependencies
poetry install
  1. Create .env and paste template from .env.dist
cp .env.dist .env
  1. Substitute your environment variable values in .env

How to use

  1. Update dependencies
poetry update
  1. Run src/__main__.py
poetry run python src/__main__.py

About

Simple OpenAI client in Telegram bot for personal use

Topics

Resources

License

Stars

Watchers

Forks

Languages