langchain_community.tools.bearly.tool.BearlyInterpreterTool¶
class langchain_community.tools.bearly.tool.BearlyInterpreterTool(api_key: str)[source]¶
Tool for evaluating python code in a sandbox environment.
Attributes
description
endpoint
file_description
files
name
api_key
Methods
__init__(api_key)
add_file(source_path, target_path, description)
as_tool()
clear_files()
make_input_files()
__init__(api_key: str)[source]¶
add_file(source_path: str, target_path: str, description: str) → None[source]¶
as_tool() → Tool[source]¶
clear_files() → None[source]¶
make_input_files() → List[dict][source]¶