Developer Builds Conversational AI Portfolio Assistant Using LangGraph and PGVector
Full Stack and Gen-AI developer Rehbar Khan has replaced the standard 'About Me' section on his portfolio website with an AI-powered terminal chatbot that visitors can interact with in real time. The assistant is built on a Retrieval-Augmented Generation pipeline using OpenAI's gpt-4o-mini, with profile data chunked and stored in a pgvector-enabled Neon Postgres database to prevent hallucinated responses. A LangGraph StateGraph agent handles orchestration, routing queries either to the RAG retriever or to a live GitHub data tool connected via the Model Context Protocol. Redis serves as a checkpointer to maintain conversation memory across messages, while a FastAPI backend streams responses token-by-token to a Next.js frontend. Khan published a detailed technical breakdown of the architecture on DEV Community, covering the retrieval thresholds, graph routing logic, and tooling decisions behind the project.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in