From e3c1431b83eb59be528a6ab453133d70c76e6d9d Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Wed, 6 Dec 2023 11:01:31 -0800 Subject: [PATCH] Rename --- libs/langchain/langchain/retrievers/multi_vector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langchain/langchain/retrievers/multi_vector.py b/libs/langchain/langchain/retrievers/multi_vector.py index fd346efd717a7..fea0871564ab9 100644 --- a/libs/langchain/langchain/retrievers/multi_vector.py +++ b/libs/langchain/langchain/retrievers/multi_vector.py @@ -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 @@ -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] """The storage interface for the parent documents"""