Prerequisites
Before you begin, ensure you have the following installed:- Python 3.8+ - Required for the backend server
- Node.js & npm - Required for the frontend application
- Mistral API Key - Required for AI-powered features. Get your API key here
Backend Setup
Install Python dependencies
Install all required packages from
requirements.txt:Key Dependencies
The platform uses the following major packages:Web Frameworkflask==3.1.3- Main web frameworkflask-cors==6.0.2- Cross-origin resource sharingflask-sqlalchemy==3.1.1- Database ORMflask-login==0.6.3- User authenticationflask-socketio==5.6.1- Real-time communication
mistralai==1.12.4- Mistral AI API clientopenai==1.65.0- OpenAI integrationfaiss-cpu==1.13.2- Vector similarity searchsentence-transformers==5.2.3- Text embeddingstorch==2.10.0- Deep learning frameworkspacy==3.8.11- Natural language processing
librosa==0.11.0- Audio analysisfaster-whisper==1.2.1- Speech-to-textpydub==0.25.1- Audio manipulation
PyJWT==2.11.0- JSON Web Tokenscryptography==46.0.5- Cryptographic functions
Frontend Setup
Verification
After completing the installation, verify that:- Your virtual environment is activated (you should see
(myenv)in your terminal) - All Python packages installed successfully without errors
- Node modules are present in the
frontend/node_modulesdirectory
Installation complete! Next, proceed to Configuration to set up your environment variables and database.