Skip to content

Two-clicks ChatGPT-powered QA documentation

License

Notifications You must be signed in to change notification settings

different-ai/chat-gpt-powered-nextra

Repository files navigation

Embedbase Nextra Template

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.

How it works

  • 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

New Recording Mar 16 2023 0931 PM

Quick Start

Click the button to clone this repository and deploy it on Vercel:

Deploy with Vercel

Remember to add EMBEDBASE_API_KEY to your repository secrets to automatically sync your documentation to Embedbase on push.

Local Development

First, run pnpm i to install the dependencies.

Then, run pnpm dev to start the development server and visit localhost:3000.

License

This project is licensed under the MIT License.