Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/different-ai/chat-gpt-powered-nextra

Two-clicks ChatGPT-powered QA documentation
https://github.com/different-ai/chat-gpt-powered-nextra

ai chatgpt documentation llm machine-learning

Last synced: 3 months ago
JSON representation

Two-clicks ChatGPT-powered QA documentation

Awesome Lists containing this project

README

        

# Embedbase Nextra Template

This is a template for creating a **ChatGPT-powered QA documentation** with [Nextra](https://nextra.site) thanks to [Embedbase](https://github.com/different-ai/embedbase) and [OpenAI](https://openai.com).

You can try a production version of this used by Embedbase [here](https://docs.embedbase.xyz) which is [open-source](https://github.com/different-ai/embedbase-docs).

## How it works

* we index `.mdx` files with [Embedbase](https://github.com/different-ai/embedbase)
* when you search, we use semantic search with [Embedbase](https://github.com/another-ai/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](https://user-images.githubusercontent.com/25003283/228199333-478b2fb5-d1d4-4b69-8444-4fd795846cd1.gif)

## Quick Start

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

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fanother-ai%2Fchat-gpt-powered-nextra&env=EMBEDBASE_API_KEY,OPENAI_API_KEY&envDescription=Get%20your%20API%20key%20on%20Embedbase%20website%20at%20https%3A%2F%2Fapp.embedbase.xyz%20and%20your%20OpenAI%20key%20at%20https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys)

Remember to add `EMBEDBASE_API_KEY` to your [repository secrets](https://docs.github.com/en/rest/actions/secrets) to automatically sync your documentation to [Embedbase](https://embedbase.xyz) 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.