@toolcog/node
Toolcog Node.js adapter
Interfaces
NodeCommandOptions
Properties
config?
optional
config:string
|boolean
Defined in
embeddingModel?
optional
embeddingModel:string
Defined in
eval?
optional
eval:string
Defined in
generativeModel?
optional
generativeModel:string
Defined in
interactive?
optional
interactive:boolean
Defined in
inventory?
optional
inventory:string
|boolean
Defined in
print?
optional
print:string
|boolean
Defined in
Variables
version
const
version:string
=__version__
Defined in
Functions
createNodeCommand()
createNodeCommand(
name
):Command
Parameters
• name: string
Returns
Command
Defined in
runNodeCommand()
runNodeCommand(
scriptFile
,options
):Promise
<void
>
Parameters
• scriptFile: undefined
| string
• options: NodeCommandOptions
Returns
Promise
<void
>