v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.13
LangChain.js
langchain/experimental/tools/pyinterpreter
PythonInterpreterTool
Class PythonInterpreterTool
Hierarchy (
view full
)
Toolkit
PythonInterpreterTool
Index
Constructors
constructor
Properties
description
name
pyodide
Instance
stderr
stdout
Accessors
available
Default
Packages
Methods
add
Package
initialize
Constructors
constructor
new
Python
Interpreter
Tool
(
options
)
:
PythonInterpreterTool
Parameters
options
:
any
Returns
PythonInterpreterTool
Properties
description
description
:
string
= ...
name
name
:
string
= "python_interpreter"
pyodide
Instance
pyodide
Instance
:
typeof
PyodideAPI
stderr
stderr
:
string
= ""
stdout
stdout
:
string
= ""
Accessors
available
Default
Packages
get
availableDefaultPackages
(
)
:
string
Returns
string
Methods
add
Package
add
Package
(
packageName
)
:
Promise
<
void
>
Parameters
packageName
:
string
Returns
Promise
<
void
>
Static
initialize
initialize
(
options
)
:
Promise
<
PythonInterpreterTool
>
Parameters
options
:
Omit
<
any
,
"instance"
>
Returns
Promise
<
PythonInterpreterTool
>
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
add
Package
initialize
LangChain.js - v0.2.13
Loading...