Portfolio
๐ค
AI IntegrationDemo ProjectยทRetrieval-Augmented Generation Demoยท2024
RAG Customer Support Chatbot
A fully functional GPT-powered customer support chatbot using Retrieval-Augmented Generation (RAG). User queries are matched against a product knowledge base (returns policy, shipping, payments) โ the top-k relevant chunks are injected into the system prompt before the LLM responds. Built with Next.js 15 App Router, AI SDK v6, and streaming responses. Falls back to scripted demo responses when no OpenAI key is set, so the live demo always works.
Key Results
Full RAG pipeline: retrieve โ inject โ stream
AI SDK v6 with streaming โ no page refresh
Demo mode fallback โ works without API key
Technologies & Skills
OpenAIRAGNext.js 15AI SDK v6TypeScriptStreaming
Verification
Demo project โ source code on GitHub, live demo on Vercel.
Live Demo
Open live demo