Commit Graph

1126 Commits

Author SHA1 Message Date
imClumsyPanda 2ad33e010d update webui.py and README.md 2023-08-12 14:08:21 +08:00
imClumsyPanda 8c289e4974 update README.md 2023-08-12 11:21:29 +08:00
imClumsyPanda e65458a506 update requirements.txt 2023-08-12 10:44:04 +08:00
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
imClumsyPanda afc6aa968d update webui layout 2023-08-11 23:40:41 +08:00
liunux4odoo 2bb9a7949f fix: delete knowledge base error 2023-08-11 23:35:27 +08:00
liunux4odoo 802ddb7b55 update docs 2023-08-11 23:30:07 +08:00
liunux4odoo 9add46ebbd add recreate vector store to knowledge base mamagement ui 2023-08-11 14:11:34 +08:00
liunux4odoo 2a57f49d80 update knowledge base management ui.
remove numpy/pandas from requirements, move them to webui requirements
2023-08-11 13:53:20 +08:00
imClumsyPanda 2a44bd870e
Dev (#1046)
* 增加lora检查点加载成功提示

* 修复baichuan_llm引起的bug

* update model_config

---------

Co-authored-by: hzg0601 <hzg0601@163.com>
2023-08-11 10:50:21 +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
liunux4odoo a261fda20b add tools to migrate knowledge base 2023-08-11 08:33:05 +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
imClumsyPanda 0d1d9c5ed7 update img 2023-08-10 22:02:31 +08:00
Wufisher 28a2295f73
线性简单实现了:vecorstores/MyFAISS.py TODO: 增加是否属于同一文档的判断 (#945) 2023-08-10 21:59:47 +08:00
Vincent chen 62047c880e
Adding an implementaion for involving with accessing Baichuan-13B-Chat (#1005) 2023-08-10 21:55:35 +08:00
Chiquitita 22c6192561
Update MyFAISS.py (#1041)
* Update MyFAISS.py

使用remove_ids从faiss索引中删除向量时,索引中剩余的待索引向量idx仍然是连续的  0, 3, 4 - > 0, 1, 2

#为了保证index_to_docstore_id中的idx和faiss索引中的idx相一致,需要将index_to_docstore_id中的idx重排序

* Update MyFAISS.py
2023-08-10 21:54:42 +08:00
imClumsyPanda 9fc467274f update requirements.txt 2023-08-10 21:53:09 +08:00
imClumsyPanda 8d463a31fd update import pkgs and format 2023-08-10 21:50:38 +08:00
imClumsyPanda 8a4d9168fa update import pkgs and format 2023-08-10 21:26:05 +08:00
liunux4odoo 22c8f277bf update readme: describe requirements to install 2023-08-10 17:10:40 +08:00
liunux4odoo 18e7e7307b patch fastapi-offline to use local swagger-ui assests 2023-08-10 17:00:39 +08:00
liunux4odoo b733a47902 split requirements to 2 parts: basic with api; webui 2023-08-10 15:51:22 +08:00
Laurence Rotolo 3db73d458b
Merge pull request #1039 from nanayashiki1215/IFlytek/IFlytekVoice
添加语音模块
2023-08-10 15:43:54 +08:00
liunux4odoo 0364215987 Merge branch 'pr1037_pg_vs' into dev_fastchat 2023-08-10 15:07:58 +08:00
liunux4odoo 17ddee38a4 fix conflict between def_fastchat and pr1037 2023-08-10 15:02:41 +08:00
hzg0601 a59ab911a7 update readme 2023-08-10 14:49:50 +08:00
hzg0601 9525915a85 update llm_api_launch,llm_api_shutdown 2023-08-10 14:43:18 +08:00
liunux4odoo fd247f4657 Merge branch 'dev_fastchat' into pr1037_pg_vs 2023-08-10 14:21:37 +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
Pan 4fd07c36c3 添加讯飞语音识别(流式版)与语音合成(流式版)模块,以及在设置中添加语音开启、关闭相关配置选项 2023-08-10 13:46:33 +08:00
liunux4odoo f5024245a7 make api.py and webui.py working offline 2023-08-10 13:33:40 +08:00
liunux4odoo 7a57f67587 fix: bug when delete chat session 2023-08-10 13:06:30 +08:00
liunux4odoo d89fcb3b2e update knowledge base management page:
1. move get_kb_details & get_doc_details to utils.py
2. adjust aggrid columns width.
2023-08-10 11:37:14 +08:00
zqt d4f728dfa2 添加向量数据库pg支持,和向量库docker-compose.ym环境文件 2023-08-10 11:16:52 +08:00
hzg0601 f7b2c8cd04 更新readme 2023-08-10 10:09:44 +08:00
hzg0601 73393d781a 更新readme,增加启动多个llm服务的说明;增加停止llm服务的说明 2023-08-10 09:52:34 +08:00
imClumsyPanda b1361be6df
Update README.md 2023-08-10 09:45:41 +08:00
imClumsyPanda b9da9cdcb5
Add files via upload 2023-08-10 09:45:15 +08:00
hzg0601 6c2b2b7ba2 测试llm_api_shutdown.py,通过 2023-08-10 09:38:45 +08:00
imClumsyPanda 6019671080
Update README.md 2023-08-10 08:15:27 +08:00
imClumsyPanda a3e724281e
Update README.md 2023-08-10 08:14:29 +08:00
liunux4odoo 53fef3a7e9 add streamlit-aggrid to requirements 2023-08-10 07:50:24 +08:00
imClumsyPanda 8df00d0b04 add SCORE_THRESHOLD to faiss and milvus kb service 2023-08-10 00:36:59 +08:00
liunux4odoo 1a112c6908 update fastch_chat: disable streaming in swagger besides streaming in ApiRequest 2023-08-09 23:48:41 +08:00
imClumsyPanda d67e354276 update model_config.py.example and README.md 2023-08-09 23:45:27 +08:00
imClumsyPanda dd26f552db update model_config.py.example 2023-08-09 23:39:05 +08:00