Commit Graph

10 Commits

Author SHA1 Message Date
imClumsyPanda 329c24ee73 1. change bing_search_chat and duckduckgo_search_chat into search_engine_chat
2. add knowledge_base not found to knowledge_base_chat and add search_engine not found to search_engine_chat
2023-08-03 18:22:36 +08:00
liunux4odoo 5c804aac75 make api and webui support top_k paramter 2023-08-03 15:47:53 +08:00
liunux4odoo df61f31c8e 修改knowledge_base_chat实现:利用缓存避免每次请求重新加载向量库;增加top_k参数。 2023-08-03 15:22:46 +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
liunux4odoo dc74bdab41 将httpx.stream返回结果转化为普通生成器,使得httpx api请求与直接调用server.chat.xx返回相同的结果。 2023-08-03 12:52:49 +08:00
liunux4odoo 3c2b8a85d6 add knowledge base api methods 2023-08-03 10:49:57 +08:00
liunux4odoo d36d801a58 add api request methods for all chat apis 2023-08-03 09:33:24 +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