mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-29 18:29:44 +08:00
启动说明
This commit is contained in:
parent
e968f9296b
commit
b659a1badc
@ -52,26 +52,28 @@ make format_diff
|
||||
#### pypi安装一键启动
|
||||
- 安装chatchat
|
||||
```shell
|
||||
pip install chatchat
|
||||
pip install langchain-chatchat -U
|
||||
```
|
||||
- 复制配置文件
|
||||
|
||||
```shell
|
||||
cd chatchat-server/chatchat
|
||||
python copy_config_example.py
|
||||
cd chatchat-server/
|
||||
mkdir ~/.config/chatchat/
|
||||
cp -r configs ~/.config/chatchat/
|
||||
cp -r data ~/.config/chatchat/
|
||||
cp -r img ~/.config/chatchat/
|
||||
```
|
||||
|
||||
> 当项目安装完成,配置这个`model_providers.yaml`文件,即可完成自定义平台加载
|
||||
>
|
||||
> 注意: 在您配置平台之前,请确认平台依赖完整,例如智谱平台,您需要安装智谱sdk `pip install zhipuai`
|
||||
>
|
||||
> 详细配置请参考[README.md](..%2Fmodel-providers%2FREADME.md)
|
||||
> 详细配置请参考[README.md](../model-providers/README.md)
|
||||
|
||||
|
||||
- 启动服务
|
||||
```shell
|
||||
cd chatchat-server/
|
||||
python -m chatchat.startup -a
|
||||
chatchat -a
|
||||
```
|
||||
|
||||
|
||||
|
||||
@ -47,7 +47,7 @@ pydantic = "2.6.4"
|
||||
httpx = {version = ">=0.25.2", extras = ["brotli", "http2", "socks"]}
|
||||
python-multipart = "0.0.9"
|
||||
# webui
|
||||
streamlit = "1.30.0"
|
||||
streamlit = "1.34.0"
|
||||
streamlit-option-menu = "0.3.12"
|
||||
streamlit-antd-components = "0.3.1"
|
||||
streamlit-chatbox = "1.1.12"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user