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