<chore>: adjustments on mongo atlas vector store
This commit is contained in:
parent
75cb932e7b
commit
8674f5d9a2
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ class MongoVectorStoreComponent(LCVectorStoreComponent):
|
||||||
return vector_store
|
return vector_store
|
||||||
|
|
||||||
def search_documents(self) -> List[Data]:
|
def search_documents(self) -> List[Data]:
|
||||||
from typing import Union
|
from typing import Optional, Union
|
||||||
from bson import ObjectId
|
from bson import ObjectId
|
||||||
from langchain.schema import Document
|
from langchain.schema import Document
|
||||||
import json
|
import json
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue