Compare commits

...

1 Commits

Author SHA1 Message Date
William Fu-Hinthorn
812bf93818 Add vectorstore type info 2023-07-20 11:31:09 -07:00
2 changed files with 7 additions and 1 deletions

View File

@@ -1203,7 +1203,6 @@ class CallbackManager(BaseCallbackManager):
"""Run when retriever starts running."""
if run_id is None:
run_id = uuid4()
_handle_event(
self.handlers,
"on_retriever_start",

View File

@@ -454,6 +454,13 @@ class VectorStoreRetriever(BaseRetriever):
arbitrary_types_allowed = True
@property
def lc_serializable(self) -> bool:
"""
Return whether or not the class is serializable.
"""
return True
@root_validator()
def validate_search_type(cls, values: Dict) -> Dict:
"""Validate search type."""