Closed isayahc closed 7 months ago
🤖
It seems like you've got this under control, if you want help or have specific questions, let me know what I can do for you!
🤖
It seems like you've got this under control, if you want help or have specific questions, let me know what I can do for you!
what string do i use for experimental tools like the python repl?
🤖
It seems like you've got this under control, if you want help or have specific questions, let me know what I can do for you!
how to load experimental tools to agent
Issue you'd like to raise.
Exception has occurred: ImportError This tool has been moved to langchain experiment. This tool has access to a python REPL. For best practices make sure to sandbox this tool. Read https://github.com/langchain-ai/langchain/blob/master/SECURITY.md To keep using this code as is, install langchain experimental and update relevant imports replacing 'langchain' with 'langchain_experimental' File "/home/isayahc/projects/buy-bot/react_agent.py", line 43, in create_agent_executor tools = load_tools(["serpapi","python_repl"], llm=llm) File "/home/isayahc/projects/buy-bot/react_agent.py", line 81, in
agent_executor = create_agent_executor()
ImportError: This tool has been moved to langchain experiment. This tool has access to a python REPL. For best practices make sure to sandbox this tool. Read https://github.com/langchain-ai/langchain/blob/master/SECURITY.md To keep using this code as is, install langchain experimental and update relevant imports replacing 'langchain' with 'langchain_experimental'
Suggestion:
No response