Telegram-chat-bot, able to recognize your speech through voice messages and text through text messages.
git clone https://github.com/kenjitheman/ai-chan
- Install all dependencies:
npm install
- 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
- Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.