Skip to content

A Telegram bot written in Java that calls ChatGPT text prediction

Notifications You must be signed in to change notification settings

electricjimi/springchatgpttelegrambot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot x Open AI

This is a simple Telegram bot written using Spring Boot. It receives messages from the user and uses OpenAI ChatGPT's api to generate responses.

Getting Started

  1. Create a bot on BotFather, take note of your bot name and token.
  2. Create a free account on OpenAI, take note of your API key.
  3. Configure your bot name, token and openAI api key in application.yml to be able to use this bot.
  4. Start it as a normal Spring Boot application, or use provided Dockerfile to run inside a Docker container.

About

A Telegram bot written in Java that calls ChatGPT text prediction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published