All work
AI / LLM · 2026

AI Assistant with RAG

GPT-powered chatbot with document search

Stack

Next.jsOpenAI APIpgvectorVercel AI SDK

Features

  • Streaming responses via Vercel AI SDK
  • Vector document search with pgvector
  • PDF, DOCX, TXT upload with chunking
  • Chat history persistence in Postgres
AI Assistant with RAG
AI Assistant with RAG

Overview

AI assistant that answers questions about your documents. Uses RAG: documents are chunked, embedded via OpenAI and stored in pgvector. On query, relevant fragments are retrieved and injected into the prompt.