移动项目模块
16
README.md
@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
|
||||
🌍 [READ THIS IN ENGLISH](README_en.md)
|
||||
🌍 [日本語で読む](README_ja.md)
|
||||
@ -47,11 +47,11 @@ OpenAI GPT API 的调用,并将在后续持续扩充对各类模型及模型 A
|
||||
|
||||
📺 [原理介绍视频](https://www.bilibili.com/video/BV13M4y1e7cN/?share_source=copy_web&vd_source=e6c5aafe684f30fbe41925d61ca6d514)
|
||||
|
||||

|
||||

|
||||
|
||||
从文档处理角度来看,实现流程如下:
|
||||
|
||||

|
||||

|
||||
|
||||
🚩 本项目未涉及微调、训练过程,但可利用微调或训练对本项目效果进行优化。
|
||||
|
||||
@ -152,17 +152,17 @@ $ python startup.py -a
|
||||
|
||||
1. FastAPI Docs 界面
|
||||
|
||||

|
||||

|
||||
|
||||
2. Web UI 启动界面示例:
|
||||
|
||||
- Web UI 对话界面:
|
||||
|
||||

|
||||

|
||||
|
||||
- Web UI 知识库管理页面:
|
||||
|
||||

|
||||

|
||||
|
||||
### 注意
|
||||
|
||||
@ -193,12 +193,12 @@ $ python startup.py -a
|
||||
[](https://t.me/+RjliQ3jnJ1YyN2E9)
|
||||
|
||||
### 项目交流群
|
||||
<img src="chatchat/img/qr_code_96.jpg" alt="二维码" width="300" />
|
||||
<img src="chatchat-server/chatchat/img/qr_code_96.jpg" alt="二维码" width="300" />
|
||||
|
||||
🎉 Langchain-Chatchat 项目微信交流群,如果你也对本项目感兴趣,欢迎加入群聊参与讨论交流。
|
||||
|
||||
### 公众号
|
||||
|
||||
<img src="chatchat/img/official_wechat_mp_account.png" alt="二维码" width="300" />
|
||||
<img src="chatchat-server/chatchat/img/official_wechat_mp_account.png" alt="二维码" width="300" />
|
||||
|
||||
🎉 Langchain-Chatchat 项目官方公众号,欢迎扫码关注。
|
||||
|
||||
16
README_en.md
@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
|
||||
🌍 [中文文档](README.md)
|
||||
🌍 [日本語で読む](README_ja.md)
|
||||
@ -53,11 +53,11 @@ to `LLM` to generate an answer.
|
||||
|
||||
📺[video introduction](https://www.bilibili.com/video/BV13M4y1e7cN/?share_source=copy_web&vd_source=e6c5aafe684f30fbe41925d61ca6d514)
|
||||
|
||||

|
||||

|
||||
|
||||
The main process analysis from the aspect of document process:
|
||||
|
||||

|
||||

|
||||
|
||||
🚩 The training or fine-tuning are not involved in the project, but still, one always can improve performance by do
|
||||
these.
|
||||
@ -147,17 +147,17 @@ $ python startup.py -a
|
||||
|
||||
1. FastAPI docs interface
|
||||
|
||||

|
||||

|
||||
|
||||
2. webui page
|
||||
|
||||
- Web UI dialog page:
|
||||
|
||||

|
||||

|
||||
|
||||
- Web UI knowledge base management page:
|
||||
|
||||

|
||||

|
||||
|
||||
### Note
|
||||
|
||||
@ -192,8 +192,8 @@ please refer to the [Wiki](https://github.com/chatchat-space/Langchain-Chatchat/
|
||||
|
||||
### WeChat Group
|
||||
|
||||
<img src="chatchat/img/qr_code_90.jpg" alt="二维码" width="300" height="300" />
|
||||
<img src="chatchat-server/chatchat/img/qr_code_90.jpg" alt="二维码" width="300" height="300" />
|
||||
|
||||
### WeChat Official Account
|
||||
|
||||
<img src="chatchat/img/official_wechat_mp_account.png" alt="图片" width="900" height="300" />
|
||||
<img src="chatchat-server/chatchat/img/official_wechat_mp_account.png" alt="图片" width="900" height="300" />
|
||||
|
||||
16
README_ja.md
@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
|
||||
🌍 [中文文档](README.md)
|
||||
🌍 [READ THIS IN ENGLISH](README_en.md)
|
||||
@ -54,11 +54,11 @@ Q&A)ソリューションを構築することです。
|
||||
|
||||
📺[video introduction](https://www.bilibili.com/video/BV13M4y1e7cN/?share_source=copy_web&vd_source=e6c5aafe684f30fbe41925d61ca6d514)
|
||||
|
||||

|
||||

|
||||
|
||||
文書プロセスの側面からの主なプロセス分析:
|
||||
|
||||

|
||||

|
||||
|
||||
🚩 トレーニングやファインチューニングはプロジェクトには含まれないが、これらを行うことで必ずパフォーマンスを向上させることができます。
|
||||
|
||||
@ -144,17 +144,17 @@ $ python startup.py -a
|
||||
|
||||
1. FastAPI docs インターフェース
|
||||
|
||||

|
||||

|
||||
|
||||
2. webui ページ
|
||||
|
||||
- Web UI ダイアログページ:
|
||||
|
||||

|
||||

|
||||
|
||||
- Web UI ナレッジベースマネジメントページ:
|
||||
|
||||

|
||||

|
||||
|
||||
### 注
|
||||
|
||||
@ -185,8 +185,8 @@ $ python startup.py -a
|
||||
|
||||
### WeChat グループ
|
||||
|
||||
<img src="chatchat/img/qr_code_90.jpg" alt="二维码" width="300" height="300" />
|
||||
<img src="chatchat-server/chatchat/img/qr_code_90.jpg" alt="二维码" width="300" height="300" />
|
||||
|
||||
### WeChat 公式アカウント
|
||||
|
||||
<img src="chatchat/img/official_wechat_mp_account.png" alt="图片" width="900" height="300" />
|
||||
<img src="chatchat-server/chatchat/img/official_wechat_mp_account.png" alt="图片" width="900" height="300" />
|
||||
|
||||
@ -1,37 +1,23 @@
|
||||
|
||||
### 加入开发
|
||||
#### 依赖管理:Poetry与env/dependency管理方法
|
||||
这个项目使用 Poetry 来管理依赖。
|
||||
> 注意:在安装Poetry之前,如果您使用Conda,请创建并激活一个新的Conda env(例如,`conda create-n chatchat python=3.9`)
|
||||
|
||||
git mv .\chatchat-server\agent .\chatchat_server\
|
||||
git mv .\chatchat-server\api_server .\chatchat_server\
|
||||
git mv .\chatchat-server\callback_handler .\chatchat_server\
|
||||
git mv .\chatchat-server\chat .\chatchat_server\
|
||||
git mv .\chatchat-server\db .\chatchat_server\
|
||||
git mv .\chatchat-server\document_loaders .\chatchat_server\
|
||||
git mv .\chatchat-server\knowledge_base .\chatchat_server\
|
||||
git mv .\chatchat-server\memory .\chatchat_server\
|
||||
git mv .\chatchat-server\reranker .\chatchat_server\
|
||||
git mv .\chatchat-server\text_splitter .\chatchat_server\
|
||||
git mv .\chatchat-server\__init__.py .\chatchat_server\
|
||||
git mv .\chatchat-server\api_allinone_stale.py .\chatchat_server\
|
||||
git mv .\chatchat-server\llm_api_shutdown.py .\chatchat_server\
|
||||
git mv .\chatchat-server\llm_api_stale.py .\chatchat_server\
|
||||
git mv .\chatchat-server\localai_embeddings.py .\chatchat_server\
|
||||
git mv .\chatchat-server\minx_chat_openai.py .\chatchat_server\
|
||||
git mv .\chatchat-server\pydantic_types.py .\chatchat_server\
|
||||
git mv .\chatchat-server\utils.py .\chatchat_server\
|
||||
git mv .\chatchat-server\webui_allinone_stale.py .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
git mv .\chatchat-server\ .\chatchat_server\
|
||||
Install Poetry: [documentation on how to install it.](https://python-poetry.org/docs/#installing-with-pipx)
|
||||
|
||||
> 注意: 如果您使用 Conda 或 Pyenv 作为您的环境/包管理器,在安装Poetry之后,
|
||||
> 使用如下命令使Poetry使用virtualenv python environment (`poetry config virtualenvs.prefer-active-python true`)
|
||||
|
||||
#### 本地开发环境安装
|
||||
|
||||
- 选择主项目目录
|
||||
```
|
||||
cd chatchat
|
||||
```
|
||||
|
||||
- 安装chatchat依赖(for running chatchat lint\tests):
|
||||
|
||||
```
|
||||
poetry install --with lint,test
|
||||
```
|
||||
@ -1,6 +1,6 @@
|
||||
import os
|
||||
|
||||
from configs.basic_config import DATA_PATH
|
||||
from chatchat.configs.basic_config import DATA_PATH
|
||||
|
||||
|
||||
# 默认使用的知识库
|
||||
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 154 KiB |
|
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 228 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 331 KiB After Width: | Height: | Size: 331 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 143 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 149 KiB |
|
Before Width: | Height: | Size: 227 KiB After Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 177 KiB |
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
|
Before Width: | Height: | Size: 266 KiB After Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |