langchain icon indicating copy to clipboard operation
langchain copied to clipboard

use restricted python for PythonRepl exec

Open bborn opened this issue 2 years ago • 1 comments

An attempt at using RestrictedPython (https://restrictedpython.readthedocs.io/) to make tools that call exec (like llm-math) safe.

bborn avatar Feb 18 '23 03:02 bborn

Sorry - accidentally checked in the notebook as well.

bborn avatar Feb 18 '23 03:02 bborn

stale, using numexpr now

dev2049 avatar May 09 '23 23:05 dev2049