Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 590 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 590 Bytes

Telegram AI bot

This is a Telegram AI bot that sends Kapa AI responses backed by a Temporal Workflow.

How to run

  1. Create a .env file with the following variables:
KAPA_API_ENDPOINT=<Your Kapa API endpoint>
KAPA_API_TOKEN=<Your API token>
TELEGRAM_BOT_TOKEN=<Your Telegram bot token>
  1. Start the app
# terminal one
poetry run python app/main.py
# terminal two
poetry run python app/starter.py
  1. Send a message to the bot

Open your Telegram bot's dashboard and send a message to the bot.

Telegram answering a question