Async Chatbot is a serverless, event-driven chatbot supporting Telegram and Slack, built with aiohttp and asyncio. It integrates with weather, Google Calendar, and OpenAI APIs, and is deployable to AWS Lambda via the Serverless Framework.
- Python 3.9+
- Docker (for local testing)
- Serverless Framework (
npm install -g serverless) - AWS account & credentials
- Clone the repo and install dependencies:
pip install -r requirements.txt
- Set environment variables for API keys (see
serverless.yml). - Run locally:
Or with Docker:
python bot.py
docker build -t async-chatbot . docker run -p 3000:3000 --env-file .env async-chatbot
- Configure AWS credentials and environment variables.
- Deploy with Serverless:
serverless deploy
- Set your Telegram/Slack webhook to the deployed
/webhookendpoint.