Skip to content

The agent engineering platform.

Fixed docstring in faiss.py for load_local (#5440)

Jan Brinkmann0d3a9d481fc6
diff --git a/langchain/vectorstores/faiss.py b/langchain/vectorstores/faiss.py
index cf17028748..26266e04c4 100644
--- a/langchain/vectorstores/faiss.py
+++ b/langchain/vectorstores/faiss.py
@@ -496,7 +496,7 @@ class FAISS(VectorStore):
def load_local(
cls, folder_path: str, embeddings: Embeddings, index_name: str = "index"
) -> FAISS:
- """Load FAISS index, docstore, and index_to_docstore_id to disk.
+ """Load FAISS index, docstore, and index_to_docstore_id from disk.
Args:
folder_path: folder path to load index, docstore,