Commit Graph

82 Commits

Author SHA1 Message Date
imClumsyPanda 90d385cb92 update webui.dialogue layout 2023-08-12 02:30:50 +08:00
imClumsyPanda 844b15a6f7 update webui.knowledge_base layout 2023-08-12 01:26:17 +08:00
liunux4odoo a08fe994c2 更新API与ApiReuest:
1. 重新整理webui_pages/utils与server/knowledge_base间的工具依赖
2.
将delete_knowledge_base与delete_doc接口从delete改为post.delete不支持body参数
3. 修复update_doc
4. 修复部分bug
2023-08-11 08:45:26 +08:00
imClumsyPanda 3c44cf65cd update webui layout 2023-08-10 23:51:10 +08:00
imClumsyPanda ef098111dc update webui and utils 2023-08-10 23:04:05 +08:00
imClumsyPanda 8b1c5bcf9e update webui.py 2023-08-10 22:32:56 +08:00
liunux4odoo 9ed91f0e8a automatically init vector store info to database when run api.py & webui.py 2023-08-10 14:12:02 +08:00
liunux4odoo f5024245a7 make api.py and webui.py working offline 2023-08-10 13:33:40 +08:00
liunux4odoo 3318cef751 update streamlit ui: support latest knowledge base and search engine
chat api; export messages to markdown.
2023-08-04 12:52:58 +08:00
imClumsyPanda 82aa805bf3 update requirements.txt 2023-08-03 23:42:55 +08:00
liunux4odoo e1698ce12e webui中增加多会话功能 2023-08-03 15:06:10 +08:00
liunux4odoo 4651b50176 WEB UI中对话功能已完成。目前很多参数还不支持,待API接口完善后再加入。 2023-08-03 13:41:31 +08:00
imClumsyPanda 5ce2484af0 update webui.py 2023-08-01 15:08:19 +08:00
imClumsyPanda bcfd3f5af5 add webui_pages 2023-08-01 14:47:38 +08:00
imClumsyPanda c8a75ab11f update llm_api.py and webui.py 2023-08-01 14:33:18 +08:00
liunux4odoo 2c5b6bb0ad streamlit ui 实现LLM流式对话 2023-08-01 14:18:30 +08:00
imClumsyPanda 59442dcd4a update webui.py 2023-07-28 06:58:34 +08:00
imClumsyPanda dcf49a59ef v0.2.0 first commit 2023-07-27 23:22:07 +08:00
liunux4odoo a6f42e7c8e fix iss#889:
when init_model on startup, set llm model's history_len to LLM_HISTORY_LEN from model_config.
2023-07-21 23:07:50 +08:00
glide-the c5bc21781c 修改模型生成的调用方式,兼容Chain调用
修改模型切换的bug
2023-07-12 23:09:28 +08:00
kztao c564c91a82
fix:The knowledge base name cannot be empty. (#793)
* fix:The knowledge base name cannot be empty.

* Update webui.py

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-07-11 19:18:24 +08:00
imClumsyPanda 3d95706d5c fix bugs in webui.py 2023-06-15 01:00:45 +08:00
imClumsyPanda 5f652183f4 fix bugs in webui.py 2023-06-15 00:38:38 +08:00
imClumsyPanda ed7c54858a add delete knowledge base and delete files from knowledge base to webui 2023-06-15 00:21:41 +08:00
imClumsyPanda a887df1715 add knowledge_base folder and move vector_store and content inside 2023-06-13 23:54:29 +08:00
imClumsyPanda 89b986c3bc add support for csv file 2023-06-07 22:20:47 +08:00
shrimp 57b4f9306d
修复BUG (#570)
一、修复模型历史记录仅一条问题,修改了模型加载代码,已修复。 
二、修复模型历史记录仅一条问题,修改了webui有一个地方有问题,已修复。
三、知识库单条数据入库因知识库名称缓存问题导致的BUG,也已修复。
2023-06-07 18:12:51 +08:00
郑肖峰 b22e15ab90
Vs refresh (#529)
* Update README.md

* Add files via upload

* Update README.md

* Update README.md

* gradio webui 刷新页面更新知识库列表

* update webui.py

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
Co-authored-by: 扶桑 <fusang@myweimai.com>
2023-06-03 14:15:29 +08:00
imClumsyPanda b1ba2003be update webui.py 2023-05-31 20:55:45 +08:00
zhoutongqing 875dae64bf
zhoutongqing:添加重新构建知识库功能 (#418)
Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
2023-05-30 20:32:42 +08:00
imClumsyPanda f7044f6fe0 update webui.py 2023-05-29 00:16:16 +08:00
imClumsyPanda c7106317a0 update webui.py 2023-05-29 00:03:49 +08:00
glide-the c4ee36b8ac 删除 AnswerResultStream 、generate_with_callback收集器 2023-05-25 21:07:40 +08:00
imClumsyPanda e352a04cbb merge master 2023-05-22 00:18:48 +08:00
imClumsyPanda 0f3fc5234d update webui.py and api.py 2023-05-21 23:04:46 +08:00
glide-the 33bbb4779e llm_model_dict 处理了loader的一些预设行为,如加载位置,模型名称,模型处理器实例, 定义checkpoint名称和远程路径
loader.py: 模型重载
定义 generatorAnswer 增加 AnswerResultStream
   定义generate_with_callback收集器,在每次响应时将队列数据同步到AnswerResult
requirements.txt 变更项目依赖
2023-05-18 22:54:41 +08:00
CHANGXUBO a5417e1cf5
更新install说明,解决PaddleOCR依赖问题 (#387) 2023-05-17 13:28:10 +08:00
imClumsyPanda f54effb3ab update webui.py 2023-05-15 18:58:36 +08:00
imClumsyPanda 48ab7c4fa6 update webui.py 2023-05-15 18:45:40 +08:00
imClumsyPanda cda18c6a60 update README.md 2023-05-11 00:08:39 +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
imClumsyPanda 02fecb8c53 update webui.py 2023-05-10 18:23:04 +08:00
shrimp 55504fcd4d
新增加知识库测试能力 (#302) 2023-05-10 17:18:20 +08:00
YiiSh e7f66a6be0
修复默认知识库获取的逻辑 (#293) 2023-05-10 09:30:00 +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 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