StudySpark is a full-stack multi-agent AI web application that enables users to upload documents, ask custom questions, and generate quizzes using Retrieval-Augmented Generation (RAG) powered by FAISS and OpenAI.
- Frontend: React + Vite
- Backend: FastAPI
- LLM Integration: OpenAI via LangChain
- Embeddings: OpenAI Text Embeddings
- Vector Store: FAISS
- PDF Parsing: PyMuPDF (fitz)
- Node.js (for frontend)
- Python 3.10+ (for backend)
- OpenAI API key
git clone https://github.com/your-username/StudySpark.git
cd StudySpark- Create a
.envfile inside thebackend/directory. - Add the following line:
OPENAI_API_KEY=your_openai_api_key- Ensure
.envis listed in.gitignore.
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reloadcd frontend
npm install
npm run dev