Skip to content

It's designed to make it easier for one to construct their personal Telegram bot utilizing OpenAI's GPT API. This bot is written and runs with Typescript.

License

Notifications You must be signed in to change notification settings

magicsih/gpt-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot with OpenAI GPT

This is an application designed to make it easier for one to construct their personal Telegram bot utilizing OpenAI's GPT API. This bot is written and runs with Typescript.

Features

  • Build your custom Telegram bot through the plugins
  • Have each Telegram session's chat memory stored on your local disk
  • Each Telegram session's configuration (GPT Model, System Role) saved on the local disk

Environment Configurations

Make sure you have the following environment variables (.env) set up:

  • TELEGRAM_BOT_TOKEN: Your Telegram Bot Token
  • OPENAI_API_KEY: Your OpenAI API Key

These environment variables are essential to authorize your bot to interact with Telegram API and OpenAI GPT.

Get Started

npm run dev

Contributing

If you wish to contribute to this project, kindly fork this repository, make your features or bug fixes, and issue a Pull Request.

Please feel free to submit issues if you encounter bugs or have feature ideas.

About

It's designed to make it easier for one to construct their personal Telegram bot utilizing OpenAI's GPT API. This bot is written and runs with Typescript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published