langchain.js
Preparing search index...
@langchain/community
experimental/tools/pyinterpreter
PythonInterpreterTool
Class PythonInterpreterTool
Hierarchy (
View Summary
)
BaseDynamicToolInput
PythonInterpreterTool
Index
Constructors
constructor
Properties
description
name
pyodide
Instance
stderr
stdout
Accessors
available
Default
Packages
Methods
_
call
add
Package
initialize
lc_
name
Constructors
constructor
new
PythonInterpreterTool
(
options
:
any
)
:
PythonInterpreterTool
Parameters
options
:
any
Returns
PythonInterpreterTool
Properties
description
description
:
string
= ...
name
name
:
string
= "python_interpreter"
pyodide
Instance
pyodideInstance
:
typeof
PyodideAPI
stderr
stderr
:
string
= ""
stdout
stdout
:
string
= ""
Accessors
available
Default
Packages
get
availableDefaultPackages
()
:
string
Returns
string
Methods
_
call
_call
(
script
:
string
)
:
Promise
<
string
>
Parameters
script
:
string
Returns
Promise
<
string
>
add
Package
addPackage
(
packageName
:
string
)
:
Promise
<
void
>
Parameters
packageName
:
string
Returns
Promise
<
void
>
Static
initialize
initialize
(
options
:
Omit
<
PythonInterpreterToolParams
,
"instance"
>
,
)
:
Promise
<
PythonInterpreterTool
>
Parameters
options
:
Omit
<
PythonInterpreterToolParams
,
"instance"
>
Returns
Promise
<
PythonInterpreterTool
>
Static
lc_
name
lc_name
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
description
name
pyodide
Instance
stderr
stdout
Accessors
available
Default
Packages
Methods
_
call
add
Package
initialize
lc_
name
langchain.js
Loading...