v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.7
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
Theme
OS
Light
Dark
On This Page
constructor
description
name
pyodide
Instance
stderr
stdout
available
Default
Packages
add
Package
initialize
LangChain.js - v0.2.7
langchain-anthropic
langchain-azure-dynamic-sessions
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
upstash_ratelimit
chains/graph_qa/cypher
chat_models
Loading...
Generated using
TypeDoc