fix: remove bson import (#3924)

Remove bson import
This commit is contained in:
Jordan Frazier 2024-09-26 04:46:37 -07:00 • committed by GitHub
commit 17cc9bafcd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 30 deletions

View file

@ -74,7 +74,7 @@ class MongoVectorStoreComponent(LCVectorStoreComponent):
return vector_store
def search_documents(self) -> list[Data]:
from bson import ObjectId
from bson.objectid import ObjectId
vector_store = self.build_vector_store()