Spaces:
Sleeping
Sleeping
Update llama/context.py
Browse files- llama/context.py +4 -2
llama/context.py
CHANGED
|
@@ -88,10 +88,12 @@ class LocalStorageContextManager(StorageContextManager):
|
|
| 88 |
self._indexing(docs)
|
| 89 |
|
| 90 |
def do_start(self) -> None:
|
| 91 |
-
self.logger.info("[do_start]%", **self.storage_context.to_dict())
|
|
|
|
| 92 |
|
| 93 |
def do_stop(self) -> None:
|
| 94 |
-
self.logger.info("[do_stop]%", **self.storage_context.to_dict())
|
|
|
|
| 95 |
|
| 96 |
def do_dispose(self) -> None:
|
| 97 |
self.storage_context.persist(self.dataset_path)
|
|
|
|
| 88 |
self._indexing(docs)
|
| 89 |
|
| 90 |
def do_start(self) -> None:
|
| 91 |
+
# self.logger.info("[do_start]%", **self.storage_context.to_dict())
|
| 92 |
+
pass
|
| 93 |
|
| 94 |
def do_stop(self) -> None:
|
| 95 |
+
# self.logger.info("[do_stop]%", **self.storage_context.to_dict())
|
| 96 |
+
pass
|
| 97 |
|
| 98 |
def do_dispose(self) -> None:
|
| 99 |
self.storage_context.persist(self.dataset_path)
|