Commit Graph

13 Commits

Author SHA1 Message Date
imClumsyPanda d7039d05a1 update MyFAISS.py 2023-08-06 16:49:52 +08:00
imClumsyPanda 2eb35291b2 update MyFAISS.py and cli_demo.py 2023-08-04 23:26:42 +08:00
kiddog99 25b46a7b9e
标题增强 (#631)
* Add files via upload

* Update local_doc_qa.py

* Update model_config.py

* Update zh_title_enhance.py

* Add files via upload

* Update README.md

* fix bugs in MyFAISS.delete_doc

* fix:前端知识库获取失败.

* update zh_title_enhance.py

* update zh_title_enhance.py

* Update zh_title_enhance.py

* add test/textsplitter

* add test_zh_title_enhance.py

---------

Co-authored-by: imClumsyPanda <littlepanda0716@gmail.com>
Co-authored-by: JZF <jiangzhifeng_jzf@163.com>
Co-authored-by: fxjhello <127916299+fxjhello@users.noreply.github.com>
2023-06-18 21:45:06 +08:00
imClumsyPanda 2a964f298c fix bugs in MyFAISS.delete_doc 2023-06-16 23:52:28 +08:00
imClumsyPanda 2282320d41 fix bugs in MyFAISS.delete_doc 2023-06-16 23:51:20 +08:00
bright.python 2311fb007d
Update MyFAISS.py (#648)
防止i不存在时候错误,
langchain-ChatGLM/vectorstores/MyFAISS.py", line 55, in similarity_search_with_score_by_vector
    _id = self.index_to_docstore_id[i]
KeyError: 4
2023-06-16 23:47:31 +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 331f39cde7 merge master 2023-06-14 21:21:56 +08:00
imClumsyPanda 58d6a9a098 update MyFAISS with method mentioned in https://github.com/imClumsyPanda/langchain-ChatGLM/issues/613#issuecomment-1590460465 2023-06-14 21:20:52 +08:00
imClumsyPanda 11dd2b5b84 update api.py 2023-06-14 00:35:33 +08:00
imClumsyPanda fc6d4c33e3 add delete_doc and update_doc to MyFAISS.py 2023-06-13 22:39:41 +08:00
imClumsyPanda 7863e0fea8 updata MyFAISS 2023-06-12 00:06:06 +08:00
imClumsyPanda f1f742ce44 add self-defined class MyFAISS 2023-06-07 23:18:47 +08:00