feat: +additional output files

This commit is contained in:
莘权 马 2024-06-06 12:10:27 +08:00
parent f37b12a8ec
commit dd9a36f388
7 changed files with 70 additions and 66 deletions

View file

@ -46,4 +46,4 @@ class DynamicBM25Retriever(BM25Retriever):
def persist(self, persist_dir: str, **kwargs) -> None:
"""Support persist."""
if self._index:
self._index.storage_context.persist(persist_dir)
self._index.storage_context.persist(persist_dir)