Preparing search index...
The search index is not available
LangChain.js - v0.2.0-rc.1
LangChain.js
langchain/experimental/tools/pyinterpreter
PythonInterpreterTool
Class PythonInterpreterTool
Hierarchy
Tool
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
:
{}
&
ToolParams
&
{
instance
:
typeof
PyodideAPI
;
}
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
<
{}
&
ToolParams
&
{
instance
:
typeof
PyodideAPI
;
}
,
"instance"
>
Returns
Promise
<
PythonInterpreterTool
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
constructor
description
name
pyodide
Instance
stderr
stdout
available
Default
Packages
add
Package
initialize
LangChain.js - v0.2.0-rc.1
langchain-anthropic
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
chains/graph_qa/cypher
chat_models
alibaba_tongyi
baiduwenxin
Loading...
Generated using
TypeDoc