forked from Archives/langchain
Fixed docstring in faiss.py for load_local (#5440)
# Fix for docstring in faiss.py vectorstore (load_local) The doctring should reflect that load_local loads something FROM the disk.
This commit is contained in:
parent
4379bd4cbb
commit
0d3a9d481f
@ -496,7 +496,7 @@ class FAISS(VectorStore):
|
|||||||
def load_local(
|
def load_local(
|
||||||
cls, folder_path: str, embeddings: Embeddings, index_name: str = "index"
|
cls, folder_path: str, embeddings: Embeddings, index_name: str = "index"
|
||||||
) -> FAISS:
|
) -> FAISS:
|
||||||
"""Load FAISS index, docstore, and index_to_docstore_id to disk.
|
"""Load FAISS index, docstore, and index_to_docstore_id from disk.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
folder_path: folder path to load index, docstore,
|
folder_path: folder path to load index, docstore,
|
||||||
|
Loading…
Reference in New Issue
Block a user