π§ AI-Powered Learning Assistant for Smart Study & Knowledge Retrieval
π Try the App Here: π https://smart-academic-assistant-3wasyzjxu5kjcl8mqr7psd.streamlit.app/
Smart Academic Assistant is an AI-powered platform that helps students understand concepts efficiently using:
- π PDF-based learning
- π€ Generative AI answers (Gemini)
- π Semantic search using FAISS
- π§ Structured Mindmaps
- π Key point extraction
- π User Authentication (Login/Register)
- π Upload PDF & Ask Questions
- π Semantic Search with Embeddings
- π€ AI Answer Generation (Gemini API)
- π§ Automatic Mindmap Generation
- π Key Points Extraction
- π¬ Per-user Chat History
- β‘ Fast Retrieval using FAISS
| Technology | Purpose |
|---|---|
| Streamlit | Frontend UI |
| Google Gemini API | Generative AI |
| Sentence Transformers | Embeddings |
| FAISS | Vector Search |
| PyPDF | PDF Processing |
| Python | Backend Logic |
smart-academic-assistant/
β
βββ app/
β βββ config.py
β βββ auth.py
β βββ services.py
β
β βββ core/
β β βββ embeddings.py
β β βββ retrieval.py
β β βββ vector_store.py
β
β βββ utils/
β β βββ pdf_utils.py
β
βββ data/
β βββ users.json
β
βββ app.py
βββ requirements.txt
βββ .env (not pushed)
βββ .gitignore
βββ LICENSE
βββ README.md
git clone https://github.com/22AD040/smart-academic-assistant.git
cd smart-academic-assistantpython -m venv venv
venv\Scripts\activatepip install -r requirements.txtCreate .env file:
GEMINI_API_KEY=your_api_key_herestreamlit run app.py- Push code to GitHub
- Go to Streamlit Cloud
- Add secrets:
GEMINI_API_KEY = your_api_key
- Deploy π
- API keys stored securely using
.env/ Streamlit Secrets - No cross-user chat leakage (session-based isolation)
.gitignoreprevents sensitive data exposure
- π Password hashing (bcrypt)
- π Better mindmap visualization (graph-based)
- π Multi-language support
- π§ AI-powered summarization improvements
Ratchita B π Artificial Intelligence & Data Science
If you like this project:
π Give it a β on GitHub π Share with others
This project is licensed under the MIT License.

