Building a RAG Chatbot for My Portfolio

I wanted visitors to my portfolio to be able to ask questions about my background without reading through everything. So I built a simple RAG (Retrieval-Augmented Generation) chatbot.

How It Works

  1. Knowledge Base — My resume, skills, and project descriptions are chunked into a JSON file
  2. Search — When a user asks a question, I find the most relevant chunks using keyword matching
  3. Generation — The matched context + question are sent to LLaMA 3.1 via Groq's API
  4. Response — The model answers using only the provided context

Tech Stack

Lessons Learned

What I'd Improve