StudyPal is an advanced web application that harnesses the power of artificial intelligence to deliver personalized and adaptive learning experiences. By integrating CopilotKit, a robust tool for incorporating large language models (LLMs) into web applications, StudyPal empowers students to embark on customized learning journeys that cater to their unique needs and preferences.
Link to article: https://dev.to/rajesh-adk-137/studypal-your-ai-powered-personalized-learning-companion-59d
- Subject Selection and Personalization: Choose from a curated list of subjects and provide details about your educational background to tailor learning materials and exercises.
- Intelligent Study Material Generation: AI-powered generation of concise and comprehensive study materials, distilling the essence of selected subject matter into key points.
- MCQ Practice with AI-Powered Assistance: Engage in interactive multiple-choice question (MCQ) practice sessions with an integrated AI copilot providing context-specific hints and guidance without revealing complete answers.
- Rationale Insights: Query the AI copilot for detailed explanations and rationales behind each answer choice, promoting critical thinking and a deeper understanding of the subject matter.
- Progress Tracking and Scoreboard: Track progress and measure performance during MCQ practice sessions with a comprehensive scoreboard feature, fostering continuous learning and improvement.
InShot_20240507_123800395.mp4
- React
- Node
- Express
- Tailwind
- CopilotKit
- Typescript
git clone https://github.com/rajesh-adk-137/StudyPal.git
cd StudyPal
Navigate to the frontend directory
npm install
Navigate to backend directory
npm install
Create a .env.local
file in the backend directory and add your OpenAI API key:
OPENAI_API_KEY=YOUR_OPENAI_API_KEY
**Here we have used gpt-3.5-turbo
as our OpenAI model. If you want to use different OpenAI model change model
const adapterOptions = {
model: "gpt-3.5-turbo"
};
in backend\server.js
.
For the frontend (currently inside StudyPal
directory):
cd frontend
npm run dev
For the backend (currently inside StudyPal
directory):
cd backend
npm start
Open your browser and navigate to http://localhost:5173.
If your frontend is not running on http://localhost:5173
but some other url then you have to change cors address from backend\server.js
.
Inside HEADERS
you have to change
"Access-Control-Allow-Origin": "http://localhost:5173",
to
"Access-Control-Allow-Origin": "YOUR_FRONTEND_BASE_URL",
We welcome contributions from the community! If you'd like to contribute to StudyPal, please follow these steps:
-
Fork the Repository: Click the "Fork" button on GitHub to create your copy.
-
Clone Your Fork:
git clone https://github.com/yourusername/StudyPal.git
- Create a Branch:
git checkout -b your-branch-name
-
Make Changes: Implement your changes.
-
Commit Your Changes:
git commit -m "Description of your changes"
- Push Your Changes:
git push -u origin your-branch-name
- Create a Pull Request: Submit your changes for review.
This project is licensed under the MIT License.
- CopilotKit for their powerful AI integration toolkit
- React for the amazing JavaScript library
- Node.js for the robust JavaScript runtime
- Express.js for the minimalist web application framework
- OpenAI for their cutting-edge language models