supabase-community/nextjs-openai-doc-search
A template that builds a custom ChatGPT for searching documentation using OpenAI completions and pgvector semantic search.

Velocity · 7d
+1.5
★ / day
Trend
→steady
star history
This starter template processes .mdx documentation files into vector embeddings stored in Postgres via pgvector. At runtime it performs vector similarity search to retrieve relevant context, then injects that context into OpenAI GPT-3 text completion prompts and streams the response to the user. It is designed for deployment to Vercel with automatic Supabase database configuration.