This is a template for creating a ChatGPT-powered QA documentation with Nextra thanks to Embedbase and OpenAI.
You can try a production version of this used by Embedbase here which is open-source.
- we index
.mdx
files with Embedbase - when you search, we use semantic search with Embedbase to find the most relevant documents
- we then ask GPT-4 to answer the user's question using the found documents
Click the button to clone this repository and deploy it on Vercel:
Remember to add EMBEDBASE_API_KEY
to your repository secrets to automatically sync your documentation to Embedbase on push.
First, run pnpm i
to install the dependencies.
Then, run pnpm dev
to start the development server and visit localhost:3000.
This project is licensed under the MIT License.