← Back to Projects

Portfolio Chatbot — RAG Assistant

Portfolio RAG Chatbot

Python, RAG, LangChain, LLMs, FAISS, Embeddings, Groq, Gradio, NLP

Brief

A live, deployed AI assistant that answers questions about my background, projects, skills, and CV. It uses retrieval-augmented generation (RAG): rather than relying on a model's training memory, it retrieves the most relevant passages from my actual documents and feeds them to the LLM as context. Ask it anything — it answers from source, not from guesswork.

What It Does

The chatbot is embedded directly on this portfolio and deployed as a public Hugging Face Space. Visitors can ask questions like "What is his latest job?", "What ML frameworks does he know?", or "Tell me about the IGARSS paper" — and get accurate, grounded answers drawn from my CV and website content.

Data Sources

Three document collections were ingested and indexed at build time:

Together these produce 108 chunks across 92 source documents, covering the full breadth of my professional profile.

Pipeline

RAG pipeline diagram

The pipeline has two phases. At index time, documents are chunked, embedded with BAAI/bge-m3, and stored in a FAISS vector index. At query time, the user's question is embedded with the same model, the closest chunks are retrieved by cosine similarity, re-ranked with a combination of semantic score and lexical overlap, and the top results are passed as context to the LLM.

Stack