"vscode:/vscode.git/clone" did not exist on "51fb673cd381ebde223fdaf07987d34ca4bf5ca6"
chatbox.md 899 Bytes
Newer Older
1
2
3
---
title: Chatbox
---
Reid's avatar
Reid committed
4
5
6
7
8
9
10
11
12
13
14
15
16

[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

- Setup vLLM environment

## Deploy

- Start the vLLM server with the supported chat completion model, e.g.

17
```bash
Reid's avatar
Reid committed
18
19
20
21
22
23
24
25
26
27
28
29
vllm serve qwen/Qwen1.5-0.5B-Chat
```

- Download and install [Chatbox desktop](https://chatboxai.app/en#download).

- On the bottom left of settings, Add Custom Provider
  - 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`

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

- Go to `Just chat`, and start to chat:

34
![](../../assets/deployment/chatbox-chat.png)