RAG assistant · final year project
AURA, a university assistant that answers from official documents
Students couldn't find answers buried in long handbooks and prospectuses, and staff answered the same questions again and again.
- Layout-aware ingestion of PDFs and images (MinerU, OCR, Gemini Vision for tables), chunked and embedded with BGE into Supabase pgvector.
- Hybrid search (vector + BM25 + reranking) with Gemini through LangChain, behind a FastAPI API.
- Intent routing sends location questions to a Maps module and admission questions to a SQL merit calculator, so numbers are always exact.
- React student chat and a React + TypeScript admin panel with role-based access.
PythonFastAPILangChainGoogle GeminiBGE embeddingsSupabase pgvectorReactTypeScript
Built with Rimsha Abbas at the Institute of Space Technology. The code is in a private university repository; I'm happy to walk through it on a call.
92%Hit@5 on a retrieval-only test suite
88%End-to-end pass rate on 25 test questions
0.74MRR: the right chunk is usually ranked 1st or 2nd
217Real conversations in the live pilot
What testing showed: failures came from retrieval ranking, not the LLM. The pilot surfaced questions our test set never covered, which is why I test with real users and not just demos.
AI agent with MCP tools
Glow Studio, a chat agent that books appointments by itself
A salon wanted clients to book by chat without staff checking the calendar for every message.
- Offers services and durations within business hours, checks whether a slot is free and collects the client's name and email.
- Books the Google Calendar event, logs it to a booking sheet and sends a confirmation email.
- The booking tools are served to the agent from a separate MCP server workflow, with conversation memory for multi-turn chats.
n8n AI agentModel Context Protocol (MCP)Tool callingChat memoryGoogle CalendarGoogle SheetsGmail
Why it matters: the agent doesn't just reply. It takes actions through tools, and the same tools can be reused by other agents through the MCP server.
Document AI
InvoiceFlow AI, invoices read and tracked automatically
Invoices arrive as email attachments and get typed into spreadsheets by hand, with duplicates and missed due dates.
- Reads PDF invoices from email (several per email) and uses an LLM to extract invoice number, vendor, totals, dates and payment details.
- Blocks duplicates by vendor and invoice number, and sends every invoice for human approval or rejection.
- A due-date monitor sends reminders, skipping zero-amount invoices and ones with no due date.
n8nLLM extractionStructured outputHuman-in-the-loopGmailGoogle Sheets
Tested before going live against 6 scenarios with expected outcomes: duplicate, already paid, zero amount, overdue, missing due date and multiple attachments.
Multi-agent content pipeline
AI content generation, from idea to finished carousel
Posting consistently takes hours of writing and design work every week.
- On a schedule, takes the next post idea from a Google Sheets queue.
- One AI agent writes the carousel story; a second writes image prompts as structured output.
- Generates two slide images in parallel through an image-generation API, with a wait-and-retry polling loop until each image is ready.
- Saves the images to Google Drive and writes the links, status and timestamp back to the sheet.
- A separate workflow generates short AI videos with Google Veo 3 from text prompts.
n8nOpenRouter LLM agentsStructured outputImage-generation APIPolling and retriesGoogle Veo 3Google DriveGoogle Sheets