From 58a18cb1a7778b2538d1d4a43aeeb4cf780b74f8 Mon Sep 17 00:00:00 2001 From: Ihor <31508183+nautics889@users.noreply.github.com> Date: Wed, 20 Sep 2023 23:40:08 +0300 Subject: [PATCH] docs: rename custom opt. dep-s docfile (#581) (#582) --- ...ional-dependencies.md => custom-whitelisted-dependencies.md} | 2 +- mkdocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename docs/{custom-optional-dependencies.md => custom-whitelisted-dependencies.md} (96%) 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: