diff --git a/docs/custom-optional-dependencies.md b/docs/custom-whitelisted-dependencies.md similarity index 96% rename from docs/custom-optional-dependencies.md rename to docs/custom-whitelisted-dependencies.md index b6564fc17..0b619fa2c 100644 --- a/docs/custom-optional-dependencies.md +++ b/docs/custom-whitelisted-dependencies.md @@ -1,4 +1,4 @@ -# Custom optional dependencies +# Custom whitelisted dependencies By default, PandasAI only allows to run code that uses some whitelisted modules. This is to prevent malicious code from being executed on the server or locally. However, it is possible to add custom modules to the whitelist. This can be done by passing a list of modules to the `custom_whitelisted_dependencies` parameter when instantiating the `SmartDataframe` or `SmartDatalake` class. diff --git a/mkdocs.yml b/mkdocs.yml index ac949418d..ea81e3854 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -24,7 +24,7 @@ nav: - middlewares.md - callbacks.md - custom-prompts.md - - custom-optional-dependencies.md + - custom-whitelisted-dependencies.md - Examples: - examples.md - Command Line Tool: