Skip to content

lehmannerich/next-chatbot

Repository files navigation

Negotiator GPT

Here's a quick overview of how to run it locally.

Requirements

  1. Set up OpenAI

You'll need an OpenAI API key.

Repo Setup

  1. Clone repo
git clone https://github.com/lehmannerich/next-chatbot.git
  1. Install dependencies
npm i
  1. Set up environment variables

Create a .env file in the root of the repo with the following variables:

OPENAI_API_KEY="sk-YOURAPIKEYHERE"

App

  1. Run app
npm run dev

Credits

Thanks to Mckay Wrigley for his open source repos - I forked this as a starting point.

Thanks to the Vercel Template - I took a lot of code from it.

Contact

If you have any questions, feel free to reach out to me on Twitter!

Notes

This app isn't perfect - don't rely on it.

The behaviour with the input on mobile is a bit weird.

About

A simple chatbot UI that works with OpenAI Streaming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published