Skip to content

Commit 537d5ee

Browse files
reidliu41reidliu41
and
reidliu41
authored
[doc] add Anything LLM integration (#17216)
Signed-off-by: reidliu41 <[email protected]> Co-authored-by: reidliu41 <[email protected]>
1 parent c8e5be3 commit 537d5ee

File tree

6 files changed

+48
-0
lines changed

6 files changed

+48
-0
lines changed
Loading
Loading
Loading
Loading
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
(deployment-anything-llm)=
2+
3+
# Anything LLM
4+
5+
[Anything LLM](https://github.com/Mintplex-Labs/anything-llm) is a full-stack application that enables you to turn any document, resource, or piece of content into context that any LLM can use as references during chatting.
6+
7+
It allows you to deploy a large language model (LLM) server with vLLM as the backend, which exposes OpenAI-compatible endpoints.
8+
9+
## Prerequisites
10+
11+
- Setup vLLM environment
12+
13+
## Deploy
14+
15+
- Start the vLLM server with the supported chat completion model, e.g.
16+
17+
```console
18+
vllm serve Qwen/Qwen1.5-32B-Chat-AWQ --max-model-len 4096
19+
```
20+
21+
- Download and install [Anything LLM desktop](https://anythingllm.com/desktop).
22+
23+
- On the bottom left of open settings, AI Prooviders --> LLM:
24+
- LLM Provider: Generic OpenAI
25+
- Base URL: http://{vllm server host}:{vllm server port}/v1
26+
- Chat Model Name: `Qwen/Qwen1.5-32B-Chat-AWQ`
27+
28+
:::{image} /assets/deployment/anything-llm-provider.png
29+
:::
30+
31+
- Back to home page, New Workspace --> create `vllm` workspace, and start to chat:
32+
33+
:::{image} /assets/deployment/anything-llm-chat-without-doc.png
34+
:::
35+
36+
- Click the upload button:
37+
- upload the doc
38+
- select the doc and move to the workspace
39+
- save and embed
40+
41+
:::{image} /assets/deployment/anything-llm-upload-doc.png
42+
:::
43+
44+
- Chat again:
45+
46+
:::{image} /assets/deployment/anything-llm-chat-with-doc.png
47+
:::

docs/source/deployment/frameworks/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
:::{toctree}
44
:maxdepth: 1
55

6+
anything-llm
67
bentoml
78
cerebrium
89
dstack

0 commit comments

Comments
 (0)