Commit Graph

1557 Commits

Author SHA1 Message Date
imClumsyPanda 7aae5b4507 update README.md 2023-05-10 23:36:16 +08:00
imClumsyPanda 264981e4b6 update webui.py 2023-05-10 23:21:36 +08:00
imClumsyPanda 9f07ead562 update webui.py 2023-05-10 23:13:52 +08:00
imClumsyPanda 24223cfb6f update webui.py 2023-05-10 23:06:19 +08:00
shrimp 519a77428a
Update webui.py (#309)
修复文件上传BUG
2023-05-10 22:22:30 +08:00
fxjhello c0a6bdb5d9
Update README.md 2023-05-10 20:36:15 +08:00
imClumsyPanda 02fecb8c53 update webui.py 2023-05-10 18:23:04 +08:00
imClumsyPanda fbdc62d910 merge master 2023-05-10 17:59:28 +08:00
shrimp 55504fcd4d
新增加知识库测试能力 (#302) 2023-05-10 17:18:20 +08:00
fxjhello a256f25ea9 xxx 2023-05-10 13:29:10 +08:00
JohnSaxon 466bfb7a3f
logger bug introduced by https://github.com/imClumsyPanda/langchain-ChatGLM/pull/268 , fixed #295 (#297) 2023-05-10 13:28:44 +08:00
fxjhello 3ff1ac6e96 前端修复 2023-05-10 13:19:01 +08:00
fxjhello 7d32a890cd Merge branch 'dev' of https://github.com/imClumsyPanda/langchain-ChatGLM into dev 2023-05-10 13:15:00 +08:00
fxjhello 8612b34415 更新views 2023-05-10 13:13:12 +08:00
imClumsyPanda 980019fb73
Update README.md 2023-05-10 09:41:38 +08:00
imClumsyPanda 6468fe2a2c
Add files via upload 2023-05-10 09:41:11 +08:00
YiiSh e7f66a6be0
修复默认知识库获取的逻辑 (#293) 2023-05-10 09:30:00 +08:00
imClumsyPanda b06b711cb3 update content 2023-05-09 20:49:43 +08:00
fxjhello 809eba8c67 增加前端views 2023-05-09 11:46:31 +08:00
imClumsyPanda c613c41d0e update local_doc_qa.py 2023-05-08 23:49:57 +08:00
imClumsyPanda e8b2ddea51 update README.md 2023-05-08 23:41:32 +08:00
imClumsyPanda b4087a7f78 update textsplitter 2023-05-08 19:26:46 +08:00
imClumsyPanda f7609b37f5 Merge branch 'master' into dev 2023-05-08 19:26:21 +08:00
imClumsyPanda 36050572e6 更新 __init__.py 2023-05-08 19:25:00 +08:00
imClumsyPanda 6be9f18ec9 Update README.md 2023-05-08 19:25:00 +08:00
imClumsyPanda b9c8468c5f Add files via upload 2023-05-08 19:25:00 +08:00
imClumsyPanda 64275cb703 update textsplitter 2023-05-08 19:23:06 +08:00
CHANGXUBO 47e9bdb122
logging: 格式日志输出 (#268)
* logging: 统一日志格式输出

---------

Co-authored-by: Bob Chang <bob.chang@amway.com>
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-08 18:29:09 +08:00
imClumsyPanda eb5f6647b6
更新 __init__.py 2023-05-08 12:08:39 +08:00
imClumsyPanda 85ad6cbe65
Update README.md 2023-05-07 23:28:02 +08:00
imClumsyPanda bb8f090bbb
Add files via upload 2023-05-07 23:27:37 +08:00
imClumsyPanda 7f25c9fa8e update textsplitter 2023-05-07 12:16:01 +08:00
imClumsyPanda d898c7dd6c update textsplitter 2023-05-07 12:06:09 +08:00
imClumsyPanda 4150af003a merge master 2023-05-06 23:56:39 +08:00
imClumsyPanda e2d7452c7b update chinese_text_splitter.py 2023-05-06 23:26:49 +08:00
CHANGXUBO 3111fb56bd
Fix: 将gradio版本升级至3.28.3,修复知识库下拉框change事件获取值不是当前选中值的bug。 (#261)
* webui优化:解决每次页面刷新后都需要重新选择知识库的问题,增加Flagging收集问答效果。

* Fix: 将gradio版本升级至3.28.3,修复知识库下拉框change事件获取值不是当前选中值的bug。

* solve webui confict

---------

Co-authored-by: Bob Chang <bob.chang@amway.com>
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-06 21:38:15 +08:00
imClumsyPanda 12fa4a2bb7 update cli_demo.py 2023-05-06 19:24:58 +08:00
keenzhu 2c72a00954
Update local_doc_qa.py
增加命令行导入的进度条显示
增加文本提示
2023-05-06 18:39:58 +08:00
keenzhu 26393f488b
Update cli_demo.py
加了一个判断用户输入本地知识路径是否为空的判断,避免误触回车
2023-05-06 18:34:37 +08:00
imClumsyPanda 0a4dd1987d update webui.py 2023-05-06 12:07:32 +08:00
Bob Chang 63453f2340
webui优化:解决每次页面刷新后都需要重新选择知识库的问题,增加Flagging收集问答效果。 (#250)
Co-authored-by: Bob Chang <bob.chang@amway.com>
2023-05-06 11:57:48 +08:00
imClumsyPanda 3adfecaa4d
Update README.md 2023-05-06 10:55:30 +08:00
imClumsyPanda fb7c9170a4
Add files via upload 2023-05-06 10:55:00 +08:00
royd 23a6b26f3e
增加语义切分模型 (#248) 2023-05-05 23:38:53 +08:00
shrimp 0d9db37f45
完善API接口,完善模型加载 (#247)
* 完善知识库路径问题,完善api接口

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

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

* Update model_config.py


* 完善知识库路径问题,完善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>

* 优化API接口,完善模型top_p参数

优化API接口,知识库非必须选项。
完善模型top_p参数

* 完善API接口,完善模型加载

API接口知识库非必须加载项
完善模型top_p参数。

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
Co-authored-by: Bob Chang <bob-chang@outlook.com>
2023-05-05 22:31:41 +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 6ac8f73a52
Merge branch 'master' into dev 2023-05-05 19:32:02 +08:00
shrimp 7497b261b3
完善知识库路径问题,完善api接口 (#245)
* 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: Bob Chang <bob-chang@outlook.com>
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-05 18:44:37 +08:00
imClumsyPanda e629526589
Update chatglm_llm.py (#242) 2023-05-05 15:14:17 +08:00
Bob Chang 51d0b7f855
Fix 知识库无法上载,NLTK_DATA_PATH路径错误 (#236) 2023-05-05 08:21:39 +08:00