Command Reference ( a2asv mode )

List of a2asv mode commands.

a2asv ( start ) : cmdbox -m a2asv -c start <Option>

  • Start A2A server.

Option

Type

Multi

Required

Default

Choices

Description

--host <host>

str

required

localhost

Specify the service host of the Redis server.

--port <port>

int

required

6379

Specify the service port of the Redis server.

--password <password>

passwd

required

password

Specify the access password of the Redis server (optional). If omitted, password is used.

--svname <svname>

str

required

cmdbox

Specify the service name of the inference server. If omitted, server is used.

--data <data>

dir

C:Usershama.cmdbox

When omitted, $HONE/.cmdbox is used.

--allow_host <allow_host>

str

0.0.0.0

If omitted, 0.0.0.0 is used.

--a2asv_listen_port <a2asv_listen_port>

int

8071

If omitted, 8071 is used.

--ssl_a2asv_listen_port <ssl_a2asv_listen_port>

int

8433

If omitted, 8433 is used.

--ssl_cert <ssl_cert>

file

Specify the SSL server certificate file.

--ssl_key <ssl_key>

file

Specify the SSL server private key file.

--ssl_keypass <ssl_keypass>

str

Specify the composite password for the SSL server private key file.

--ssl_ca_certs <ssl_ca_certs>

file

Specify the SSL server CA certificate file.

--signin_file <signin_file>

file

required

.cmdbox/user_list.yml

Specify a file containing users and passwords with which they can signin.Typically, specify '.cmdbox/user_list.yml'.

--gunicorn_workers <gunicorn_workers>

int

6

Specifies the number of gunicorn workers, valid only in Linux environment. If -1 or unspecified, the number of CPUs is used.

--gunicorn_timeout <gunicorn_timeout>

int

900

Specify the timeout duration of the gunicorn worker in seconds.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

a2asv ( stop ) : cmdbox -m a2asv -c stop <Option>

  • Stop A2A server.

Option

Type

Multi

Required

Default

Choices

Description

--data <data>

dir

C:Usershama.cmdbox

When omitted, $HONE/.cmdbox is used.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ