CLI#
llamactl
是随 LlamaDeploy 提供的一个命令行界面,其主要目标是轻松地与正在运行的API 服务器交互。
llamactl#
用法
llamactl [OPTIONS] COMMAND [ARGS]...
选项
--version Show the version and exit.
-s, --server TEXT Apiserver URL
-k, --insecure Disable SSL certificate verification
-t, --timeout FLOAT Timeout on apiserver HTTP requests
--help Show this message and exit.
llamactl deploy#
用法
llamactl deploy [OPTIONS] DEPLOYMENT_CONFIG_FILE
选项
--reload
--help Show this message and exit.
llamactl run#
用法
llamactl run [OPTIONS]
选项
-d, --deployment TEXT Deployment name [required]
-a, --arg <TEXT TEXT>... 'key value' argument to pass to the task, e.g. '-a
age 30'
-s, --service TEXT Service name
-i, --session-id TEXT Session ID
--help Show this message and exit.
llamactl sessions#
用法
llamactl sessions [OPTIONS] COMMAND [ARGS]...
选项
--help Show this message and exit.
llamactl sessions create#
用法
llamactl sessions create [OPTIONS]
选项
-d, --deployment TEXT Deployment name [required]
--help Show this message and exit.
llamactl status#
用法
llamactl status [OPTIONS]
选项
--help Show this message and exit.