Commit Graph

23 Commits

Author SHA1 Message Date
glide-the 4c008c25d4 增加项目可选启动项说明、增加项目结构说明
cli_demo.py、api.py: 兼容loader加载器
2023-05-18 22:55:50 +08:00
halfss dfcd6f6102
添加bing搜索agent (#378)
* 1: 基于langchain的bing search agent添加bing搜索支持(百度不靠谱,Google不可用)
2: 调整输入框交互模式,对话/知识库/搜索,三选一

* fixed bug of message have no text

---------

Co-authored-by: root <jv.liu@i1368.com>
2023-05-16 23:51:34 +08:00
fxjhello ff8cecd780
Merge pull request #365 from halfss/dev
add Knowledge Base delete and file delete
2023-05-15 19:54:05 +08:00
zqt996 a0cb14de23
添加命令行管理脚本 (#355)
* 添加加命令行工具

* 添加加命令行工具

---------

Co-authored-by: zqt <1178747941@qq.com>
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-15 19:13:12 +08:00
royd 1678392cee
Update api.py (#357)
更改目前流式对话的传入模式,使其可以支持多轮对话,体现在新增参数:history、knowledge_base_id
2023-05-15 19:11:00 +08:00
root 2563b16af0 add Knowledge Base delete and file delete 2023-05-15 08:29:58 +00:00
imClumsyPanda 3ff885d0d3 update api.py 2023-05-13 21:35:17 +08:00
imClumsyPanda 6e7078cf24 update api.py 2023-05-13 11:02:27 +08:00
imClumsyPanda 6e022d0d45 update api.py 2023-05-12 22:24:31 +08:00
imClumsyPanda a8ac40163c update api.py 2023-05-12 20:46:51 +08:00
imClumsyPanda 5575079e6b update api.py 2023-05-12 18:23:13 +08:00
imClumsyPanda 8635f63c31 update api.py 2023-05-12 18:13:35 +08:00
imClumsyPanda f02df58f41 update api.py 2023-05-11 18:37:33 +08:00
akou 2987c9cd52
增加允许跨域调用API功能 (#279) 2023-05-11 09:32:58 +08:00
fxjhello 809eba8c67 增加前端views 2023-05-09 11:46:31 +08:00
imClumsyPanda 41cd0fd8ae
完善知识库路径问题,完善api接口 (#245) (#246)
* Fix 知识库无法上载,NLTK_DATA_PATH路径错误 (#236)

* Update chatglm_llm.py (#242)

* 完善知识库路径问题,完善api接口

统一webui、API接口知识库路径,后续路径如下:
知识库路经就是:/项目代码文件夹/vector_store/'知识库名字'
文件存放路经:/项目代码文件夹/content/'知识库名字'

修复通过api接口创建知识库的BUG,完善API接口功能。

* Update model_config.py

---------

Co-authored-by: shrimp <411161555@qq.com>
Co-authored-by: Bob Chang <bob-chang@outlook.com>
2023-05-05 19:32:11 +08:00
imClumsyPanda 07ff81a119 update torch_gc 2023-05-04 20:48:36 +08:00
imClumsyPanda 2c1fd2bdd5 add api.py 2023-05-03 22:31:28 +08:00
Bing Han e0cf26019b
Use fastapi to implement API (#209)
* Use fastapi to implement API

* Update model_config.py

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-03 21:29:28 +08:00
imClumsyPanda 966def8cfe add stream support to webui.py 2023-04-26 23:27:15 +08:00
imClumsyPanda d82af9ba7a update webui.py 2023-04-22 16:53:11 +08:00
imClumsyPanda 7d4560e599 update local_doc_qa.py 2023-04-19 21:29:20 +08:00
imClumsyPanda 048c71f893 fix bug in webui.py 2023-04-18 10:07:19 +08:00