Abdullah Shafique, AI Engineer — Building a RAG System That Actually Answers
Abdullah Shafique, AI Engineer, builds autonomous agents, RAG systems, and LLM applications. This post is about one of those systems: a RAG Document Intelligence System that answers questions from your own documents, with citations, instead of guessing.
What problem does it solve?
Large language models are good at fluent text, but they do not know your documents. Ask about a PDF you uploaded and a plain chatbot will guess. A RAG system changes the job: it retrieves the relevant passages first, then answers only from what it found.
How it works, in plain terms:
1. Your documents are split into searchable passages.
2. Those passages are indexed with embeddings (FAISS in this build).
3. A question retrieves the most relevant passages.
4. The language model answers from those passages, so you can check the source.
What I built it with:
Python, FAISS, Streamlit, and LLM APIs — the same stack I use across my AI projects, alongside LangChain, LangGraph, and FastAPI.
What it is not:
It is not a claim of a measured accuracy number I have not tested, and it is not a replacement for reading the source document. It is a practical tool: ask a document a question, get an answer grounded in that document, and check the passage it came from.
Where to find me:
Portfolio: https://abdullahshafique.me — LinkedIn: https://linkedin.com/in/abdullahhshafique — GitHub: https://github.com/abdullahhshafique — Google Search Profile: https://profile.google.com/@abdullahhshafique.
About Abdullah Shafique, AI Engineer:
Agentic AI Engineer based in Sahiwal District, Punjab, Pakistan. AI Engineer, Independent Projects (2025–present); previously Graphic Designer (2018–2024). BS Software Engineering, Riphah International University, 2024–2028, GPA 3.99/4.0.
Comments
Post a Comment