Skip to content

Commit 328530f

Browse files
committed
Replace create_vector_search_index
Remove create_vector_search_index from langchain-mongodb and import from pymongo-search-utils.
1 parent 3488399 commit 328530f

File tree

1 file changed

+3
-1
lines changed
  • libs/langchain-mongodb/langchain_mongodb

1 file changed

+3
-1
lines changed

libs/langchain-mongodb/langchain_mongodb/index.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
from pymongo.collection import Collection
88
from pymongo.operations import SearchIndexModel
9-
from pymongo_search_utils import create_vector_search_index # noqa: F401 type: ignore
9+
from pymongo_search_utils import (
10+
create_vector_search_index, # noqa: F401 # type: ignore
11+
)
1012

1113
logger = logging.getLogger(__file__)
1214

0 commit comments

Comments
 (0)