Chat UI is an open-source alternative to the ChatGPT UI. It allows you to interact with the OpenAI api in an open-source environment.
This code shows you what you can do with streaming, and more. It also includes a list of some useful prompts that are pre-selected.
This will run the entire NextJS application.
npm install && npm run dev
npm install && npm run build && npm run start
All code is under an MIT License.