Skip to content

The agent engineering platform.

Fix docstring of FAISS constructor (#1611)

Abhinav Upadhyay9707eda83c04
diff --git a/langchain/vectorstores/faiss.py b/langchain/vectorstores/faiss.py
index 544d11b838..7a0a70c6f8 100644
--- a/langchain/vectorstores/faiss.py
+++ b/langchain/vectorstores/faiss.py
@@ -38,7 +38,7 @@ class FAISS(VectorStore):
.. code-block:: python
from langchain import FAISS
- faiss = FAISS(embedding_function, index, docstore)
+ faiss = FAISS(embedding_function, index, docstore, index_to_docstore_id)
"""