题意:GPT LangChain 实验性代理 - 允许危险代码
问题背景:
I'm creating a chatbot in VS Code where it will receive csv file through a prompt on Streamlit interface. However from the moment that file is loaded, it is showing a message with the following content:
我正在VS Code中创建一个聊天机器人,它将通过Streamlit界面上的一个提示接收csv文件。但是,从文件加载的那一刻起,它就显示了一条包含以下内容的消息:
ValueError: This agent relies on access to a python repl tool which can execute arbitrary code. This can be dangerous and requires a specially sandboxed environment to be safely used. Please read the security notice in the doc-string of this function. You must opt-in to use this functionality by setting allow_dangerous_code=True.For gener