LearnSphere utilizes the power of OpenAI's Chat-GPT model for creating personalized learning roadmaps.
Follow these steps to set up the project:
- Clone the repository
git clone [email protected]:HarshitRV/LearnSphere.git
-
Create a virtual environment for the project. If you're not familiar with creating virtual environments, you can refer to this guide: How to Setup Virtual Environments in Python
-
Activate the virtual environment.
-
Install the project dependencies by running the following command in the project root directory:
pip install -r requirements.txt
- Create a .env file in the root of the project folder and add the following line, replacing
YOUR_OPEN_AI_API_KEY
with your actual OpenAI API key:
API_KEY=YOUR_OPEN_AI_API_KEY
- Obtain your OpenAI API key from the official OpenAI website: OpenAI API
- Start the server by running the following command:
python main.py
- Open your web browser and navigate to http://localhost:3000 to see the LearnSphere server in action.