An AI-powered portfolio feature that allows visitors to ask questions about me and receive accurate answers generated strictly from my personal data (experience, projects, skills).
This project is built with React, Django, LangChain, and Docker, following production-grade architecture and best practices.
To create an interactive “Ask About Me” feature for my portfolio where:
- Visitors can ask natural language questions
- Answers are generated only from my own information
- No login or personal data collection is required
- The system is secure, scalable, and explainable
- React (Vite)
- JavaScript
- Fetch API
- Responsive, mobile-first UI
- Django
- Django REST Framework (DRF)
- Python
- LangChain
- Retrieval-Augmented Generation (RAG)
- Vector store (FAISS / Chroma)
- Docker
- Docker Compose
- Environment variables (
.env)
Browser (React) | | HTTPS / JSON v Django REST API | | LangChain (RAG) v Personal Knowledge Base
- Frontend is UI-only (no secrets)
- Backend handles AI logic securely
- AI answers only from verified personal data
- Stateless APIs (no user login, no tracking)
portfolio-ai/ │ ├── backend/ │ ├── core/ # Django project │ ├── api/ # DRF API app │ ├── rag/ # LangChain logic (planned) │ ├── knowledge/ # Personal data (planned) │ ├── Dockerfile │ ├── requirements.txt │ └── manage.py │ ├── frontend/ │ ├── src/ │ │ ├── components/ │ │ ├── pages/ │ │ └── api.js │ ├── Dockerfile (planned) │ └── vite.config.js │ ├── docker-compose.yml ├── .env └── README.md
GET /api/health/
Response:
{ "status": "ok" }
Echo Test (Connectivity Check)
POST /api/echo/
Request:
{ "message": "Hello from React" }
Response:
{ "message": "Hello from React" }
## Current Capabilities
- Retrieval-Augmented Generation (FAISS)
- Modular LLM interface
- Prompt-controlled answering
- Source attribution
- Safe answer sanitization
## Known Limitations
- LocalLLM is a stub (echo only)
- No real reasoning yet
- No streaming responses
## Next Milestones
- Gemini LLM integration
- Chunk relevance scoring
- Answer confidence handling