Skip to content

Commit 2363087

Browse files
committed
docs(config): update config doc to add new config attribute
1 parent 0477164 commit 2363087

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/library.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ Settings:
222222
- `use_error_correction_framework`: whether to use the error correction framework. Defaults to `True`. If set to `True`, PandasAI will try to correct the errors in the code generated by the LLM with further calls to the LLM. If set to `False`, PandasAI will not try to correct the errors in the code generated by the LLM.
223223
- `max_retries`: the maximum number of retries to use when using the error correction framework. Defaults to `3`. You can use this setting to override the default number of retries.
224224
- `custom_whitelisted_dependencies`: the custom whitelisted dependencies to use. Defaults to `{}`. You can use this setting to override the default custom whitelisted dependencies. You can find more information about custom whitelisted dependencies [here](/custom-whitelisted-dependencies).
225+
- `security`: The “security” parameter allows for three levels depending on specific use cases: “none,” “standard,” and “advanced.” "standard" and "advanced" are especially useful for detecting malicious intent from user queries and avoiding the execution of potentially harmful code. By default, the “security” is set to "standard." The security check might introduce stricter rules that could flag benign queries as harmful. You can deactivate it in the configuration by setting “security” to “none.”
225226

226227
## Demo in Google Colab
227228

0 commit comments

Comments
 (0)