liunux4odoo
|
cc08e2cb96
|
update api and webui:
1. add download_doc to api
2. return local path or http url in kowledge_base_chat depends on
no_remote_api
3. change assistant avater in webui
|
2023-08-14 11:46:36 +08:00 |
liunux4odoo
|
126bd51232
|
fix chat and knowledge_base_chat
|
2023-08-14 10:35:47 +08:00 |
imClumsyPanda
|
8a4d9168fa
|
update import pkgs and format
|
2023-08-10 21:26:05 +08:00 |
liunux4odoo
|
222689ed5b
|
update kb and search chat: disable streaming in swagger besides streaming in ApiRequest
|
2023-08-09 23:35:36 +08:00 |
imClumsyPanda
|
1b70fb5f9b
|
update faiss_kb_service.py
|
2023-08-09 22:57:36 +08:00 |
liunux4odoo
|
db29a2fea7
|
update knowledge_base_chat and search_engine_chat: yield chinese correctly
|
2023-08-09 22:54:37 +08:00 |
liunux4odoo
|
323fc13d4c
|
make parameter examples available in openapi docs
|
2023-08-09 18:15:14 +08:00 |
liunux4odoo
|
4da7c04859
|
fix: parse history parameter to correct type
|
2023-08-09 12:09:45 +08:00 |
liunux4odoo
|
9883341924
|
update server.chat.*: set default value [] to history parameter.
|
2023-08-09 10:48:37 +08:00 |
imClumsyPanda
|
2d49746a8d
|
add history to chat apis
|
2023-08-08 23:54:51 +08:00 |
liunux4odoo
|
e918244159
|
move KBServiceFactory to server.knowledge_base.kb_service.base
|
2023-08-08 17:41:58 +08:00 |
liunux4odoo
|
444e1afad5
|
remove server/knowledge_base/knowledge_file.py
|
2023-08-08 16:51:37 +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 |
imClumsyPanda
|
b91d96ab0c
|
update kb_doc_api.py
|
2023-08-06 18:32:10 +08:00 |
liunux4odoo
|
c4994e85df
|
fix: knowledge_base_chat and search_engine_chat should stream json text
instead of dict. client should use json.loads.
|
2023-08-04 12:12:13 +08:00 |
liunux4odoo
|
88682c87ff
|
优化server下知识库相关模块的结构:将知识库相关操作从knowledge_base_chat移动到knowledge_base.utils;优化kb_doc_api中embeddings加载。
|
2023-08-04 10:16:30 +08:00 |
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 |
imClumsyPanda
|
b62ea6bd2a
|
add top-k to search_chat apis and add top-k params in model_config
|
2023-08-03 17:06:43 +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 |
imClumsyPanda
|
dcf49a59ef
|
v0.2.0 first commit
|
2023-07-27 23:22:07 +08:00 |