SmartSupervisorBot is a Telegram bot that utilizes OpenAI's API to offer real-time text correction and translation into German. This bot aims to enhance communication by providing grammatical corrections and facilitating language translation directly within Telegram chats.
- Text Correction: Corrects German grammatical errors in messages.
- Language Translation: Translates text into German if detected language is not German.
- Interactive: Responds interactively in Telegram chats and can send reactions to corrected messages.
- .NET 8
- Telegram Bot API
- OpenAI API
The bot requires configuration settings which include:
BotToken
: Your Telegram bot token.OpenAiToken
: Your OpenAI API key.- Configuration files:
appsettings.json
for production andappsettings.Development.json
for development environments.
To run SmartSupervisorBot:
- Clone the repo: git clone https://github.com/jahanalem/SmartSupervisorBot.git
- Install dependencies: dotnet restore
- Start the bot: dotnet run