Generative AI Project

RAG Debugging Assistant

Paste an error from a backend, machine learning or data project. The assistant finds the closest known errors in its knowledge base, then an LLM writes a short fix using only those records. The matched records are shown next to the answer.

  • Python
  • RAG
  • TF-IDF
  • Groq LLM
  • Flask
ask the assistant
Hi! Paste an error message or ask a debugging question. I cover backend API, machine learning and data engineering errors.

prashant@linux:~$ rag.retrieve(query)

Vectorize Retrieve Generate

Ask something to see the retrieved sources.

Retrieved sources

Knowledge Base

500+ generated error logs spanning backend APIs, ML, and data engineering, paired with exact technical fixes.

Architecture

TF-IDF retrieval with cosine similarity, paired with llama3.2 via Groq API for precise answer generation.

Pipeline

Vectorizes user queries to retrieve the top 3 matching logs, forcing the LLM to synthesize facts without hallucinating.

Source Code

View on GitHub