mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-04 12:39:32 +00:00
experimental[patch]/docs[patch]: Update links to security docs (#22864)
Minor update to newest version of security docs (content should be identical).
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"When using 3rd party tools, make sure that you understand how the tool works, what permissions\n",
|
"When using 3rd party tools, make sure that you understand how the tool works, what permissions\n",
|
||||||
"it has. Read over its documentation and check if anything is required from you\n",
|
"it has. Read over its documentation and check if anything is required from you\n",
|
||||||
"from a security point of view. Please see our [security](https://python.langchain.com/v0.1/docs/security/) \n",
|
"from a security point of view. Please see our [security](https://python.langchain.com/v0.2/docs/security/) \n",
|
||||||
"guidelines for more information.\n",
|
"guidelines for more information.\n",
|
||||||
"\n",
|
"\n",
|
||||||
":::\n",
|
":::\n",
|
||||||
|
@@ -252,7 +252,7 @@ def create_pandas_dataframe_agent(
|
|||||||
"doc-string of this function. You must opt-in to use this functionality "
|
"doc-string of this function. You must opt-in to use this functionality "
|
||||||
"by setting allow_dangerous_code=True."
|
"by setting allow_dangerous_code=True."
|
||||||
"For general security guidelines, please see: "
|
"For general security guidelines, please see: "
|
||||||
"https://python.langchain.com/v0.1/docs/security/"
|
"https://python.langchain.com/v0.2/docs/security/"
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
if engine == "modin":
|
if engine == "modin":
|
||||||
|
@@ -78,7 +78,7 @@ def create_spark_dataframe_agent(
|
|||||||
"doc-string of this function. You must opt-in to use this functionality "
|
"doc-string of this function. You must opt-in to use this functionality "
|
||||||
"by setting allow_dangerous_code=True."
|
"by setting allow_dangerous_code=True."
|
||||||
"For general security guidelines, please see: "
|
"For general security guidelines, please see: "
|
||||||
"https://python.langchain.com/v0.1/docs/security/"
|
"https://python.langchain.com/v0.2/docs/security/"
|
||||||
)
|
)
|
||||||
|
|
||||||
if not _validate_spark_df(df) and not _validate_spark_connect_df(df):
|
if not _validate_spark_df(df) and not _validate_spark_connect_df(df):
|
||||||
|
@@ -65,7 +65,7 @@ def create_xorbits_agent(
|
|||||||
"doc-string of this function. You must opt-in to use this functionality "
|
"doc-string of this function. You must opt-in to use this functionality "
|
||||||
"by setting allow_dangerous_code=True."
|
"by setting allow_dangerous_code=True."
|
||||||
"For general security guidelines, please see: "
|
"For general security guidelines, please see: "
|
||||||
"https://python.langchain.com/v0.1/docs/security/"
|
"https://python.langchain.com/v0.2/docs/security/"
|
||||||
)
|
)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user