Jack
|
4e8e6de7ff
|
Update README.md (#2034)
|
2023-11-13 14:27:27 +08:00 |
liunux4odoo
|
861510a92b
|
Update requirements: change comments to english (#2033)
* Update requirements: change comments to english
|
2023-11-13 14:03:41 +08:00 |
imClumsyPanda
|
e4ffa2f93b
|
update README.md
|
2023-11-13 07:33:02 +08:00 |
imClumsyPanda
|
f06a819ba6
|
Merge remote-tracking branch 'origin/master'
|
2023-11-13 07:13:43 +08:00 |
imClumsyPanda
|
b6e366d93a
|
update README.md
|
2023-11-13 07:13:28 +08:00 |
zR
|
91ff0574df
|
支持ChatGLM3-6B (#2021)
* 更新依赖和配置文件中的Agent模型
* 支持基础的glm3_agent
|
2023-11-12 16:45:50 +08:00 |
imClumsyPanda
|
068cb5df9c
|
Update README.md
|
2023-11-12 13:21:46 +08:00 |
imClumsyPanda
|
33c462a281
|
Add files via upload
|
2023-11-12 13:20:39 +08:00 |
imClumsyPanda
|
72a1f5dcb3
|
update README.md
|
2023-11-10 19:59:31 +08:00 |
imClumsyPanda
|
4fca531d97
|
update README.md
|
2023-11-10 19:58:24 +08:00 |
imClumsyPanda
|
89be31c66c
|
update version
|
2023-11-10 19:45:32 +08:00 |
imClumsyPanda
|
3462d06759
|
update model_config.py.example
|
2023-11-10 19:40:55 +08:00 |
imClumsyPanda
|
5e9acfd633
|
update model_config.py.example
|
2023-11-10 16:35:42 +08:00 |
imClumsyPanda
|
9a741fd14d
|
update model_config.py.example
|
2023-11-10 16:34:13 +08:00 |
imClumsyPanda
|
3e20e47328
|
Merge branch 'dev' of https://github.com/chatchat-space/Langchain-Chatchat into dev
|
2023-11-10 16:32:21 +08:00 |
Zhi-guo Huang
|
a8f4e7603e
|
Merge pull request #2011 from hzg0601/dev
1. 增加ES支持;2. 修复了若干typo bug
|
2023-11-10 16:30:18 +08:00 |
hzg0601
|
c1440c2609
|
增加ElasticSearch支持
|
2023-11-10 16:04:41 +08:00 |
liunux4odoo
|
63111a5c87
|
supdate model_config
|
2023-11-10 11:46:41 +08:00 |
liunux4odoo
|
261b4899c1
|
supdate model_config
|
2023-11-10 11:44:40 +08:00 |
liunux4odoo
|
b51ba11f45
|
支持通过配置项同时启动多个模型,将Wiki纳入samples知识库 (#2002)
新功能:
- 将 LLM_MODEL 配置项改为 LLM_MODELS 列表,同时启动多个模型
- 将 wiki 纳入 samples 知识库
依赖变化:
- 指定 streamlit~=1.27.0。1.26.0会报rerun错误,1.28.0会有无限刷新错误
修复优化:
- 优化 get_default_llm_model 逻辑
- 适配 Qwen 在线 API 做 Embeddings 时最大 25 行的限制
- 列出知识库磁盘文件时跳过 . 开头的文件
|
2023-11-09 22:15:52 +08:00 |
WilliamChen-luckbob
|
ce1001a043
|
bugfix:dev分支创建知识库必然失败的bug修复 (#1980)
* bugfix:dev分支创建知识库必然失败的bug修复
* 统一 KBServiceFactory.get_service_by_name 的逻辑,数据库中不存在知识库时返回 None
---------
Co-authored-by: liunux4odoo <liunux@qq.com>
|
2023-11-09 17:45:21 +08:00 |
imClumsyPanda
|
9588bcfa94
|
Merge branch 'master' into dev
|
2023-11-09 09:41:26 +08:00 |
imClumsyPanda
|
35164b5196
|
delete outdated qrcode
|
2023-11-09 09:41:06 +08:00 |
liunux4odoo
|
d0d688d4b0
|
修复:重建知识库时自动创建库表
|
2023-11-07 21:00:45 +08:00 |
imClumsyPanda
|
ccf277c96f
|
delete outdated qrcode
|
2023-11-07 16:32:44 +08:00 |
imClumsyPanda
|
0e8700edb9
|
Merge branch 'master' into dev
|
2023-11-07 16:31:45 +08:00 |
imClumsyPanda
|
349adbdfa7
|
Add files via upload
|
2023-11-07 16:05:26 +08:00 |
imClumsyPanda
|
da1dbf9763
|
Update README.md
|
2023-11-07 16:05:03 +08:00 |
zR
|
3952fbd464
|
更新依赖和配置文件中的Agent模型 (#1984)
|
2023-11-07 13:52:47 +08:00 |
imClumsyPanda
|
e233e4f220
|
reformat server/knowledge_base/migrate.py
|
2023-11-06 22:49:35 +08:00 |
imClumsyPanda
|
fb32c31a70
|
reformat kb_doc_api.py
|
2023-11-06 22:44:50 +08:00 |
imClumsyPanda
|
fe73ceab15
|
Merge branch 'master' into dev
|
2023-11-06 22:38:52 +08:00 |
imClumsyPanda
|
051a2e97dc
|
add support for Zhipu-api "chatglm-turbo"
|
2023-11-06 22:38:05 +08:00 |
imClumsyPanda
|
f4f7845f93
|
reformat startup.py
|
2023-11-06 22:31:09 +08:00 |
imClumsyPanda
|
ce9160fbfa
|
update requirements.txt
|
2023-11-06 22:11:55 +08:00 |
imClumsyPanda
|
ed2122a8f6
|
fix bug in basic_config.py.example
|
2023-11-06 21:49:05 +08:00 |
imClumsyPanda
|
a938b67163
|
reformat config files
|
2023-11-05 11:17:09 +08:00 |
imClumsyPanda
|
5e0476925b
|
reformat copy_config_example.py
|
2023-11-05 11:08:55 +08:00 |
zR
|
57612d5232
|
修复一些bug (#1965)
* 修改一些bug
* 更新掉了一部分之前的bug
|
2023-11-03 18:56:27 +08:00 |
qiankunli
|
fa906b33a8
|
添加对话评分与历史消息保存功能 (#1940)
* 新功能:
- WEBUI 添加对话评分功能
- 增加 /chat/feedback 接口,用于接收对话评分
- /chat/chat 接口返回值由 str 改为 {"text":str, "chat_history_id": str}
- init_database.py 添加 --create-tables --clear-tables 参数
依赖:
- streamlit-chatbox==1.1.11
开发者:
- ChatHistoryModel 的 id 字段支持自动生成
- SAVE_CHAT_HISTORY 改到 basic_config.py
* 修复:点击反馈后页面未刷新
---------
Co-authored-by: liqiankun.1111 <liqiankun.1111@bytedance.com>
Co-authored-by: liunux4odoo <liunux@qq.com>
Co-authored-by: liunux4odoo <41217877+liunux4odoo@users.noreply.github.com>
|
2023-11-03 11:31:45 +08:00 |
liunux4odoo
|
554122f60e
|
Feat (#1951)
* 知识库支持子目录(不包括temp和tmp开头的目录),文件相对路径总长度不可超过255
* init_database.py 增加 --import-db 参数,在版本升级时,如果 info.db
表结构发生变化,但向量库无需重建,可以在重建数据库后,使用本参数从旧的数据库中导入信息
|
2023-11-02 14:46:39 +08:00 |
imClumsyPanda
|
d4b0b4d83d
|
Update README.md
|
2023-11-02 13:32:38 +08:00 |
imClumsyPanda
|
36584428d5
|
Add files via upload
|
2023-11-02 13:31:52 +08:00 |
liunux4odoo
|
d8e15b57ba
|
知识库支持子目录(不包括temp和tmp开头的目录),文件相对路径总长度不可超过255 (#1928)
|
2023-10-31 16:59:40 +08:00 |
liunux4odoo
|
65592a45c3
|
支持在线 Embeddings, Lite 模式支持所有知识库相关功能 (#1924)
新功能:
- 支持在线 Embeddings:zhipu-api, qwen-api, minimax-api, qianfan-api
- API 增加 /other/embed_texts 接口
- init_database.py 增加 --embed-model 参数,可以指定使用的嵌入模型(本地或在线均可)
- 对于 FAISS 知识库,支持多向量库,默认位置:{KB_PATH}/vector_store/{embed_model}
- Lite 模式支持所有知识库相关功能。此模式下最主要的限制是:
- 不能使用本地 LLM 和 Embeddings 模型
- 知识库不支持 PDF 文件
- init_database.py 重建知识库时不再默认情况数据库表,增加 clear-tables 参数手动控制。
- API 和 WEBUI 中 score_threshold 参数范围改为 [0, 2],以更好的适应在线嵌入模型
问题修复:
- API 中 list_config_models 会删除 ONLINE_LLM_MODEL 中的敏感信息,导致第二轮API请求错误
开发者:
- 统一向量库的识别:以(kb_name,embed_model)为判断向量库唯一性的依据,避免 FAISS 知识库缓存加载逻辑错误
- KBServiceFactory.get_service_by_name 中添加 default_embed_model 参数,用于在构建新知识库时设置 embed_model
- 优化 kb_service 中 Embeddings 操作:
- 统一加载接口: server.utils.load_embeddings,利用全局缓存避免各处 Embeddings 传参
- 统一文本嵌入接口:server.knowledge_base.kb_service.base.[embed_texts, embed_documents]
- 重写 normalize 函数,去除对 scikit-learn/scipy 的依赖
|
2023-10-31 14:26:50 +08:00 |
imClumsyPanda
|
7f9592773b
|
Update README.md
|
2023-10-29 14:54:40 +08:00 |
imClumsyPanda
|
1eddb2c321
|
Add files via upload
|
2023-10-29 14:54:13 +08:00 |
imClumsyPanda
|
ff22d5f98f
|
Update README.md
|
2023-10-29 14:53:01 +08:00 |
imClumsyPanda
|
b1100ddefb
|
Add files via upload
|
2023-10-29 14:52:31 +08:00 |
liunux4odoo
|
deed92169f
|
支持在线 Embeddings:zhipu-api, qwen-api, minimax-api, qianfan-api (#1907)
* 新功能:
- 支持在线 Embeddings:zhipu-api, qwen-api, minimax-api, qianfan-api
- API 增加 /other/embed_texts 接口
- init_database.py 增加 --embed-model 参数,可以指定使用的嵌入模型(本地或在线均可)
问题修复:
- API 中 list_config_models 会删除 ONLINE_LLM_MODEL 中的敏感信息,导致第二轮API请求错误
开发者:
- 优化 kb_service 中 Embeddings 操作:
- 统一加载接口: server.utils.load_embeddings,利用全局缓存避免各处 Embeddings 传参
- 统一文本嵌入接口:server.embedding_api.[embed_texts, embed_documents]
|
2023-10-28 23:37:30 +08:00 |