mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-22 11:00:37 +00:00
community[patch]: fix typo in ValueError message in load_local function (#21818)
**Description:** Corrected an error in the `allow_dangerous_deserialization` message within the `load_local` functions
This commit is contained in:
@@ -1082,10 +1082,10 @@ class FAISS(VectorStore):
|
||||
"You will need to set `allow_dangerous_deserialization` to `True` to "
|
||||
"enable deserialization. If you do this, make sure that you "
|
||||
"trust the source of the data. For example, if you are loading a "
|
||||
"file that you created, and no that no one else has modified the file, "
|
||||
"then this is safe to do. Do not set this to `True` if you are loading "
|
||||
"a file from an untrusted source (e.g., some random site on the "
|
||||
"internet.)."
|
||||
"file that you created, and know that no one else has modified the "
|
||||
"file, then this is safe to do. Do not set this to `True` if you are "
|
||||
"loading a file from an untrusted source (e.g., some random site on "
|
||||
"the internet.)."
|
||||
)
|
||||
path = Path(folder_path)
|
||||
# load index separately since it is not picklable
|
||||
|
Reference in New Issue
Block a user