https://github.com/gashu-101/mechify
π MechIfy - Your Ultimate Mechanical Engineering Study Bot π€
https://github.com/gashu-101/mechify
ai automation bot rag
Last synced: 2 months ago
JSON representation
π MechIfy - Your Ultimate Mechanical Engineering Study Bot π€
- Host: GitHub
- URL: https://github.com/gashu-101/mechify
- Owner: gashu-101
- Created: 2024-07-28T21:33:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-18T20:22:46.000Z (over 1 year ago)
- Last Synced: 2025-02-06T07:21:55.028Z (over 1 year ago)
- Topics: ai, automation, bot, rag
- Language: Python
- Homepage: https://t.me/MechiFyLabBot
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
π MechIfy - Your Ultimate Mechanical Engineering Study Bot π€
Welcome to **MechIfy**! This bot is designed to assist Mechanical Engineering students by providing resources, study assistance, and interactive learning support. Whether you need help with a specific topic or access to resources, MechIfy is here to guide you through your academic journey.
β¨ Features
- **Resources π**: Get quick access to curated study materials based on your year of study or exam category.
- **AI Instructor π€**: Ask the bot any question related to Mechanical Engineering, and it will provide an informative and engaging response.
- **About βΉοΈ**: Learn more about the purpose and development of MechIfy.
- **Developers π¨βπ»**: Get to know the team behind MechIfy.
π Getting Started
### Prerequisites
- Python 3.7+
- Telegram Bot API token
### Installation
1. **Clone the repository:**
```bash
git clone https://github.com/gashu-101/Mechify.git
cd Mechify
```
2. **Install dependencies:**
```bash
pip install -r requirements.txt
```
3. **Set up your environment variables:**
- Replace the placeholders in the bot script with your API keys and credentials:
- `BOT_TOKEN`
- `YOUTUBE_API_KEY`
- `COHERE_API_KEY`
- You can store these in a `.env` file for easier management.
### Running the Bot
1. **Start the bot:**
```bash
python bot.py
```
2. **Interact with the bot on Telegram:**
- Search for your bot by name on Telegram and start a conversation.
- **/start**: Start the bot and view the main menu.
- **Handle Messages**: Send a message to the bot to ask a question or request resources.
## π οΈ Bot Functionalities
### Welcome Message & Menu
When users start the bot, they receive a welcome message along with a menu offering different options:
```plaintext
πWelcome to AAIT Mechanical Engineering Study Bot (Mechify)!π
Choose an option below to get started:
```
### Resource Access
Users can select their year or exam category to access relevant study materials:
```plaintext
π Click below to access your study resources and level up your learning! ππ
```
### AI Instructor
Users can ask the bot about any topic, and the bot will generate a detailed response using Cohere's AI:
```plaintext
Please mention the topic you want to learn about π, I'm here to help as your Ai Instructor! π€
```
### Developer Info
Information about the developers behind the bot:
```plaintext
π¨βπ» Developed with Passion by the AAIT Mechanical Engineering Team! π©βπ»
```
## π‘οΈ Error Handling
- The bot gracefully handles API errors and informs the user if it is unable to generate a response or fetch a YouTube video.
## π Acknowledgments
- **Cohere API** for natural language processing.
- **YouTube Data API** for fetching relevant video content.
---
Happy Studying! π