-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update opensearch vectorstore to PydanticVectorStore class (#11400)
- Loading branch information
1 parent
4077fee
commit 52383c7
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...vector_stores/llama-index-vector-stores-opensearch/tests/test_vector_stores_opensearch.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from llama_index.core.vector_stores.types import VectorStore | ||
from llama_index.core.vector_stores.types import BasePydanticVectorStore | ||
from llama_index.vector_stores.opensearch import OpensearchVectorStore | ||
|
||
|
||
def test_class(): | ||
names_of_base_classes = [b.__name__ for b in OpensearchVectorStore.__mro__] | ||
assert VectorStore.__name__ in names_of_base_classes | ||
assert BasePydanticVectorStore.__name__ in names_of_base_classes |