experiment pool init

This commit is contained in:
seehi 2024-06-04 10:28:39 +08:00
parent 46aa6f1975
commit 471310f3b3
14 changed files with 258 additions and 55 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)