Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 committed Dec 6, 2023
1 parent f39c981 commit e3c1431
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/langchain/langchain/retrievers/multi_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from langchain_core.documents import Document
from langchain_core.pydantic_v1 import Field, validator
from langchain_core.retrievers import BaseRetriever
from langchain_core.stores import BaseStore
from langchain_core.stores import ByteStore
from langchain_core.vectorstores import VectorStore

from langchain.callbacks.manager import CallbackManagerForRetrieverRun
Expand All @@ -26,7 +26,7 @@ class MultiVectorRetriever(BaseRetriever):
vectorstore: VectorStore
"""The underlying vectorstore to use to store small chunks
and their embedding vectors"""
byte_store: Optional[BaseStore[str, bytes]]
byte_store: Optional[ByteStore]
"""The lower-level backing storage layer for the parent documents"""
docstore: BaseStore[str, Document]

Check failure on line 31 in libs/langchain/langchain/retrievers/multi_vector.py

View workflow job for this annotation

GitHub Actions / lint / build (3.11)

Ruff (F821)

langchain/retrievers/multi_vector.py:31:15: F821 Undefined name `BaseStore`
"""The storage interface for the parent documents"""
Expand Down

0 comments on commit e3c1431

Please sign in to comment.