Skip to content

The agent engineering platform.

doc: fix wrong documentation on FAISS load_local function (#22310)

WU LIFU86698b02a97c
diff --git a/libs/community/langchain_community/vectorstores/faiss.py b/libs/community/langchain_community/vectorstores/faiss.py
index 749125f12f..ae0f45f7e0 100644
--- a/libs/community/langchain_community/vectorstores/faiss.py
+++ b/libs/community/langchain_community/vectorstores/faiss.py
@@ -1072,7 +1072,6 @@ class FAISS(VectorStore):
Pickle files can be modified by malicious actors to deliver a
malicious payload that results in execution of
arbitrary code on your machine.
- asynchronous: whether to use async version or not
"""
if not allow_dangerous_deserialization:
raise ValueError(