A command-line utility for managing Dasha.AI applications and user accounts.
All features are also available programmatically using the Dasha SDK.
Global installation:
> npm install --global "@dasha.ai/cli"
Per-project installation (launch as npx dasha
):
> npm install --save-dev "@dasha.ai/cli"
Use dasha <command> --help
to get help for a particular command.
Usage: dasha [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
account Dasha.AI account management
app application management
diagnostics diagnostic information
group group settings management
nlu nlu service api
profiler Data download manager for the profiler
sip SIP configuration settings
tts text-to-speech synthesis
pckg dasha packages
help [command] display help for command
Usage: dasha account [options] [command]
Dasha.AI account management
Options:
-h, --help display help for command
Commands:
add [options] [accountName] add a new account
create [options] [accountName] Deprecated. use 'add'
info [accountName] print account details
list list all known accounts
login|register [options] [accountName] log into an account
remove [options] <accountName> remove an account
rename [options] <oldAccountName> <newAccountName> rename an account
start-trial [options] [accountName]
use <accountName> set an account as current
help [command] display help for command
Usage: dasha diagnostics [options] [command]
diagnostic information
Options:
-h, --help display help for command
Commands:
limits
queues
help [command] display help for command
Usage: dasha group [options] [command]
group settings management
Options:
-h, --help display help for command
Commands:
create [options] <groupName> add a new group
delete [options] <groupName> delete a group
list [options] list all existing groups
update [options] <groupName> update group settings
help [command] display help for command
Usage: dasha nlu [options] [command]
nlu service api
Options:
-h, --help display help for command
Commands:
recognize [options] [text] train dataset and parse text with provided skills
train [options] train dataset configured by provided .dashaapp file
help [command] display help for command
Usage: dasha profiler [options] [command]
Data download manager for the profiler
Options:
-h, --help display help for command
Commands:
download [options] Download the profiler data
help [command] display help for command
Usage: dasha sip [options] [command]
SIP configuration settings
Options:
-h, --help display help for command
Commands:
create-inbound [options] <configName> create an inbound SIP configuration
delete-inbound [options] <configName> delete an inbound SIP configuration
list-inbound list available inbound SIP configurations
update-inbound [options] <configName> update an inbound SIP configuration
create-outbound [options] <configName> create an outbound SIP configuration
delete-outbound [options] <configName> delete an outbound SIP configuration
list-outbound list available outbound SIP configurations
update-outbound [options] <configName> update an outbound SIP configuration
help [command] display help for command
Usage: dasha tts [options] [command]
text-to-speech synthesis
Options:
-h, --help display help for command
Commands:
synthesize [options] <text>
help [command] display help for command
Usage: dasha app [options] [command]
application management
Options:
-h, --help display help for command
Commands:
deploy [path] deploy an application to the platform
download <appId> [path] Download the application package
info <appId> Get the application information
list List of deployed applications
run [options] [path] run single conversation
help [command] display help for command
Usage: dasha app deploy [options] [path]
deploy an application to the platform
Options:
-h, --help display help for command
Usage: dasha app download [options] <appId> [path]
Download the application package
Options:
-h, --help display help for command
Usage: dasha app info [options] <appId>
Get the application information
Options:
-h, --help display help for command
Usage: dasha app list [options]
List of deployed applications
Options:
-h, --help display help for command
Usage: dasha app run [options] [path]
run single conversation
Options:
--chat connect via chat
--sip <sipconfig> connect via sip
--tts <ttsconfig> tts config (default: "default")
--stt <sttconfig> stt config (default: "default")
--noiseVolume <noiseVolume> Noise volume: 0..1
--interlocutorPauseDelay <interlocutorPauseDelay> Length of expected pause in seconds at the end of human speech
--debug-log Show debug logs
--input <input...> Input arguments in form arg1=value1 arg2=value2 and etc
--inputFile <inputFile> Read input arguments from file
-h, --help display help for command
Usage: dasha pckg [options] [command]
dasha packages
Options:
-h, --help display help for command
Commands:
init [options] <type> Add specified package to 'dasha-packages.json'
restore [options] Resolves and downloads all dependencies specified in 'dasha-packages.json'. Creates lock section
remove|rm [options] <name> Remove specified package from 'dasha-packages.json'
add [options] <name> <version> Add specified package to 'dasha-packages.json'
help [command] display help for command
This package is distributed under the Apache License, Version 2.0.