Skip to content

imoneoi/openchat-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ OpenChat UI

OpenChat UI is a forked version of Chatbot UI that supports OpenChat models.

Chatbot UI

🚀 Deploy

💻 Running Locally

1. Clone Repo

git clone https://github.com/imoneoi/openchat-ui.git

2. Install Dependencies

npm i

3. Configuration

Warning

The following config assumes OpenChat API server is listening on http://localhost:18888. You should set it up if not.

Note

Please note that OpenChat API server is using an OpenAI-compatible API protocol running locally. OPENAI_API_KEY can be set to anything (no actual OpenAI API key needed).

Create a .env.local file in the root of the repo with the following content.

OPENAI_API_HOST=http://localhost:18888
OPENAI_API_KEY=sk-dummy
NEXT_PUBLIC_DEFAULT_TEMPERATURE=0.5
NEXT_PUBLIC_DEFAULT_SYSTEM_PROMPT=" "

4. Run App

npm run dev

5. Use It

You should be able to start chatting.

📎 Vercel

Host your own live version of Chatbot UI with Vercel. Note that you should set environment variables shown in the Configuration section in Vercel.

Deploy with Vercel

About

An open source UI for OpenChat models

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.1%
  • Other 1.9%