jhj7176 / openchatbotui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✨ OpenChat UI [TEST]

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

License:MIT License


Languages

Language:TypeScript 98.1%Language:JavaScript 1.0%Language:Dockerfile 0.4%Language:CSS 0.3%Language:Makefile 0.2%