chatbox.md 996 Bytes
Newer Older
1
# Chatbox
Reid's avatar
Reid committed
2
3
4
5
6
7
8

[Chatbox](https://github.com/chatboxai/chatbox) is a desktop client for LLMs, available on Windows, Mac, Linux.

It allows you to deploy a large language model (LLM) server with vLLM as the backend, which exposes OpenAI-compatible endpoints.

## Prerequisites

9
10
11
12
13
Set up the vLLM environment:

```bash
pip install vllm
```
Reid's avatar
Reid committed
14
15
16

## Deploy

17
1. Start the vLLM server with the supported chat completion model, e.g.
Reid's avatar
Reid committed
18

19
20
21
    ```bash
    vllm serve qwen/Qwen1.5-0.5B-Chat
    ```
Reid's avatar
Reid committed
22

23
1. Download and install [Chatbox desktop](https://chatboxai.app/en#download).
Reid's avatar
Reid committed
24

25
1. On the bottom left of settings, Add Custom Provider
26
27
28
29
30
    - API Mode: `OpenAI API Compatible`
    - Name: vllm
    - API Host: `http://{vllm server host}:{vllm server port}/v1`
    - API Path: `/chat/completions`
    - Model: `qwen/Qwen1.5-0.5B-Chat`
Reid's avatar
Reid committed
31

32
    ![Chatbox settings screen](../../assets/deployment/chatbox-settings.png)
Reid's avatar
Reid committed
33

34
1. Go to `Just chat`, and start to chat:
Reid's avatar
Reid committed
35

36
    ![Chatbot chat screen](../../assets/deployment/chatbox-chat.png)