supabase-community/nextjs-openai-doc-search
Template for building your own custom ChatGPT style doc search powered by Next.js, OpenAI, and Supabase.
Chunks `.mdx` documentation into sections and generates OpenAI embeddings at build time, storing them in Postgres with `pgvector` for efficient semantic search. At runtime, user queries are embedded and matched against stored vectors to retrieve relevant content, which is then injected into GPT-3 completion prompts and streamed to clients via Edge Functions. Includes automated checksum tracking to regenerate embeddings only when source files change, with one-click Vercel deployment and Supabase integration.
1,715 stars. No commits in the last 6 months.
Stars
1,715
Forks
312
Language
TypeScript
License
Apache-2.0
Category
Last pushed
Sep 06, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/supabase-community/nextjs-openai-doc-search"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
stack-chan/stack-chan
A JavaScript-driven M5Stack-embedded super-kawaii robot.
xcatliu/chatgpt-next
微信风格的 ChatGPT,使用 Next.js 构建,私有化部署的最佳选择!
nisabmohd/openapi-wrapper
I've developed a ChatGPT clone using Next.js 14, Shadcn-UI, Prisma ORM, and integrated it with...
riwigefi/light-gpt
Light-GPT is an interactive website project based on the GPT-3.5-Turbo Model.
helianthuswhite/chatgpt-web-next
A ChatGPT website by NextJS and TailwindCSS.