SyllabusXpertPro is an AI-powered Telegram bot that helps students and professionals generate customized exam questions from their syllabus. Whether you're preparing for exams, revising topics, or looking for a study partner, this bot can create detailed questions that focus on active recall, real-world applications, and concept mapping to help you retain knowledge more effectively.
- AI-powered exam question generation based on the syllabus you provide.
- Active Recall: Questions that encourage you to actively retrieve and recall information.
- Real-World Applications: Questions designed to help you relate theory to practical scenarios.
- Concept Mapping: Questions that connect related concepts for a better understanding.
- PDF Export: Get the generated questions in a downloadable PDF format for offline study.
- Rate Limiting: Protects the bot from being overwhelmed with too many requests in a short period.
- Groq API: AI and Natural Language Processing (NLP) to generate questions based on your syllabus.
- python-telegram-bot: Framework for building the Telegram bot.
- aiohttp: For handling asynchronous HTTP requests.
- FPDF: For generating downloadable PDF files with the generated questions.
- Rate Limiting: Ensures the bot remains responsive by limiting request frequency.
First, clone the repository to your local machine:
git clone https://github.com/thesupersaurabh/SyllabusXpertPro.git
cd SyllabusXpertProInstall the required Python libraries:
pip install -r requirements.txtCreate a .env file in the root directory and add your credentials:
GROQ_API_KEY=your_groq_api_key
TELEGRAM_TOKEN=your_telegram_bot_token
Once everything is set up, you can run the bot using the following command:
python telebot.pyThe bot will start running and will be ready to respond to user messages.
To use the bot, simply:
- Start a conversation with the bot on Telegram.
- Send your syllabus in text format. You can either copy-paste or type it out.
- The bot will generate detailed exam questions based on the syllabus you provided.
- You can download the generated questions as a PDF file for offline study.
Feel free to contribute to this project! If you have suggestions for improvements, new features, or bug fixes, please create an issue or submit a pull request.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch). - Make your changes.
- Commit your changes (
git commit -m 'Add feature'). - Push to the branch (
git push origin feature-branch). - Open a pull request.
I’m excited to take this project further in the future! Here are a few ideas I’m considering:
- Web-based version: Make the bot more accessible and interactive with a web interface.
- Customizable question difficulty: Allow users to select the difficulty level of generated questions.
- AI-powered answer explanations: Provide explanations or hints for answers to help users understand concepts better.
- Voice support: Integrate voice interaction for an even more interactive experience.
This project is licensed under the MIT License - see the LICENSE file for details.