9 Commits

Author SHA1 Message Date
liunux4odoo
af536a3309
update streamlit-aggrid; fix knowledge file status error (#4179) 2024-06-13 11:00:44 +08:00
glide-the
40881d0fcc 路径问题 2024-06-12 19:46:45 +08:00
liunux4odoo
10c43e87ac 更新 langchain-openai 和 tiktoken 版本以支持 gpt4o
init_database 脚本完成后打印摘要
2024-06-12 12:20:59 +08:00
imClumsyPanda
360fc01266 Fix(File RAG): update kb_doc_api.py 2024-06-10 16:33:54 +08:00
imClumsyPanda
b56283eb01 Feature(File RAG): add file_rag in chatchat-server, add ensemble retriever and vectorstore retriever. 2024-06-10 00:36:03 +08:00
imClumsyPanda
b110fcd01b fix faiss_cache bug 2024-06-09 22:51:48 +08:00
liunux4odoo
a5b203170b
优化知识库相关功能 (#4153)
- 新功能
    - pypi 包新增 chatchat-kb 命令脚本,对应 init_database.py 功能

- 开发者
    - _model_config.py 中默认包含 xinference 配置项
    - 所有涉及向量库的操作,前置检查当前 Embed 模型是否可用
    - /knowledge_base/create_knowledge_base 接口增加 kb_info 参数
    - /knowledge_base/list_files 接口返回所有数据库字段,而非文件名称列表
    - 修正 xinference 模型管理脚本
2024-06-08 14:34:50 +08:00
srszzw
10c5dcfdde
1、修改知识库列表接口,返回全量属性字段,同时修改受影响的相关代码。 (#4119)
2、run_in_process_pool改为run_in_thread_pool,解决兼容性问题。
3、poetry配置文件修复。
2024-06-01 18:44:06 +08:00
liunux4odoo
5c650a8dc3
优化目录结构 (#4058)
* 优化目录结构

* 修改一些测试问题

---------

Co-authored-by: glide-the <2533736852@qq.com>
2024-05-22 13:11:45 +08:00