Skip to content

telegram-chat-bot chat bot, which is able to recognize your speech through voice messages and text through text messages.

License

Notifications You must be signed in to change notification settings

kenjitheman/ai-chan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram-chat-bot, able to recognize your speech through voice messages and text through text messages.

Installation

git clone https://github.com/kenjitheman/ai-chan
  • Install all dependencies:
npm install

Usage

  • Inside the config folder create production.json for production mode and default.json for development mode and inside paste your API keys like this:
{
    "TELEGRAM_TOKEN": "YOUR_TELEGRAM_TOKEN",
    "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY"
}
  • And then run Dockerfile:
docker build -t your_image_name .
docker run -d -p 8080:80 your_image_name

Contributing

  • Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License