-
Update MyFAISS.py (#648) · 2311fb00
防止i不存在时候错误, langchain-ChatGLM/vectorstores/MyFAISS.py", line 55, in similarity_search_with_score_by_vector _id = self.index_to_docstore_id[i] KeyError: 4
bright.python authored
×
防止i不存在时候错误, langchain-ChatGLM/vectorstores/MyFAISS.py", line 55, in similarity_search_with_score_by_vector _id = self.index_to_docstore_id[i] KeyError: 4