liunux4odoo
b98f5fd0b9
update knowledge base kbservice and api:
...
1. make huggingfaceembeddings hashable
2. unify embeddings' loading method for all kbservie
3. make ApiRequest skip empty content when streaming json to avoid dict
KeyError
2023-08-09 10:46:01 +08:00
liunux4odoo
e918244159
move KBServiceFactory to server.knowledge_base.kb_service.base
2023-08-08 17:41:58 +08:00
liunux4odoo
c4a3995310
move commonto tools from kbservice.base to server.knowledge_base.utils
2023-08-08 16:40:18 +08:00
liunux4odoo
584e3a9234
remove server/knowledge_base/knowledge_base_factory.py
2023-08-08 16:21:00 +08:00
liunux4odoo
7e07f0bbf4
move configs to configs.model_config
2023-08-08 15:56:32 +08:00
zqt
b61e0772c9
使用orm操作数据库
2023-08-08 14:25:55 +08:00
zqt
41fd1acc9c
Merge remote-tracking branch 'origin/dev_fastchat' into dev_fastchat
...
# Conflicts:
# server/knowledge_base/kb_service/default_kb_service.py
# server/knowledge_base/kb_service/milvus_kb_service.py
# server/knowledge_base/knowledge_base_factory.py
2023-08-08 14:06:13 +08:00
liunux4odoo
08493bffbb
add a basic knowledge base management ui.
2023-08-07 21:00:55 +08:00
imClumsyPanda
035a199c32
update kb_server.base
2023-08-07 20:48:06 +08:00
liunux4odoo
44c713ef98
use KBServiceFactory to replace all the KnowledgeBase.
...
make KBServiceFactory support embed_model parameter.
rewrite api: recreate_vector_store.
fix some bugs.
2023-08-07 20:37:16 +08:00
zqt996
0f46185cfb
添加Milvus库 ( #1011 )
2023-08-07 16:56:57 +08:00
zqt
72951d95fb
添加milvus库支持
2023-08-07 16:32:34 +08:00
imClumsyPanda
18d31f5116
add KBService and KBServiceFactory class
2023-08-06 23:44:02 +08:00