supabase-community/nextjs-openai-doc-search

Template for building your own custom ChatGPT style doc search powered by Next.js, OpenAI, and Supabase.

50
/ 100
Established

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.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 24 / 25

How are scores calculated?

Stars

1,715

Forks

312

Language

TypeScript

License

Apache-2.0

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.