The Sakhi Telegram Bot is a Python-based bot that interacts with the Sakhi API Server via Telegram. It allows users to perform various actions and access information from the API Server through the convenience of a Telegram chat interface.
- Python
- Telegram Bot API token
- Telegram Bot Name
- Sakhi API Server URL
- Marqo index ID
-
Clone the repository
https://github.com/Sunbird-VA/sakhi_telegram_bot.git
-
Install required python packages
pip install -r requirements.txt
-
Set up the configuration
- token
- botName
- upstream
- marqo_converse_index_id
- marqo_discovery_index_id
- promptMsg (optional)
-
Start the Telegram bot
- python telegram_bot_accelerator.py
Once the Telegram bot is up and running, you can interact with it through your Telegram chat. Start a chat with the bot and use the available commands and features to perform actions and retrieve information from the Sakhi API Server.
-
The bot provides the following commands:
/start: Start the conversation with the bot
-
Select preferred language
-
Start querying questions
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.