Commit Graph

10 Commits

Author SHA1 Message Date
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