arize-ax-cli 0.40.0__tar.gz → 0.41.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/PKG-INFO +56 -38
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/README.md +54 -36
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/pyproject.toml +1 -1
- arize_ax_cli-0.41.0/src/ax/commands/integrations.py +1751 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/tasks.py +2 -2
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/version.py +1 -1
- arize_ax_cli-0.40.0/src/ax/commands/integrations.py +0 -1122
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/.gitignore +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/LICENSE +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/__init__.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/__main__.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/ascii_art.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/auth/__init__.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/auth/bearer.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/auth/oauth_client.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/auth/oauth_flow.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/cli.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/coding_agents.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/__init__.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/ai_integrations.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/annotation_configs.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/annotation_queues.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/api_keys.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/auth.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/datasets.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/evaluators.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/experiments.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/instrument.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/organizations.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/profiles.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/projects.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/prompts.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/resource_restrictions.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/role_bindings.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/roles.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/saml_identity_providers.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/skills.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/spaces.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/spans.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/traces.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/upgrade.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/users.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/commands/webhooks.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/config/__init__.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/config/input_readers.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/config/manager.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/config/schema.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/config/setup.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/config/tls.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/core/__init__.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/core/client_factory.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/core/decorators.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/core/error_formatter.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/core/exceptions.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/core/headers.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/core/output.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/core/pydantic.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/instrument/__init__.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/instrument/flow.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/instrument/launch.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/instrument/links.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/instrument/prompt.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/instrument/selfinstall.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/instrument/staging.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/skills_installer.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/__init__.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/annotations.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/console.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/datetime_parse.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/dotenv.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/export.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/file_io.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/http.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/json_source.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/text_source.py +0 -0
- {arize_ax_cli-0.40.0 → arize_ax_cli-0.41.0}/src/ax/utils/upgrade_check.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: arize-ax-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.41.0
|
|
4
4
|
Summary: Official Arize CLI tool for managing datasets, experiments, and more
|
|
5
5
|
Project-URL: Homepage, https://arize.com
|
|
6
6
|
Project-URL: Documentation, https://arize.com/docs/api-clients/cli/
|
|
@@ -20,7 +20,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.14
|
|
21
21
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
22
|
Requires-Python: >=3.11
|
|
23
|
-
Requires-Dist: arize==8.
|
|
23
|
+
Requires-Dist: arize==8.67.0
|
|
24
24
|
Requires-Dist: cryptography<45,>=44.0.0
|
|
25
25
|
Requires-Dist: filelock<4,>=3.12.0
|
|
26
26
|
Requires-Dist: packaging>=21.0
|
|
@@ -106,6 +106,7 @@ Description-Content-Type: text/markdown
|
|
|
106
106
|
- [`ax experiments run` — execute a task locally](#ax-experiments-run--execute-a-task-locally)
|
|
107
107
|
- [`ax experiments create` — publish pre-computed runs](#ax-experiments-create--publish-pre-computed-runs)
|
|
108
108
|
- [Integrations](#integrations)
|
|
109
|
+
- [Migrating existing LLM integration commands](#migrating-existing-llm-integration-commands)
|
|
109
110
|
- [Organizations](#organizations)
|
|
110
111
|
- [Projects](#projects)
|
|
111
112
|
- [Prompts](#prompts)
|
|
@@ -1388,37 +1389,35 @@ standalone experiment that has none. One of the two is required.
|
|
|
1388
1389
|
|
|
1389
1390
|
### Integrations
|
|
1390
1391
|
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
exposed at an HTTPS endpoint. This supersedes `ax ai-integrations`, which
|
|
1394
|
-
manages LLM integrations on the deprecating `/v2/ai-integrations` endpoint.
|
|
1392
|
+
`LLM` integrations configure a model provider. `AGENT` integrations connect
|
|
1393
|
+
your own agent exposed at an HTTPS endpoint.
|
|
1395
1394
|
|
|
1396
|
-
|
|
1397
|
-
`
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
unchanged.
|
|
1395
|
+
Choose a provider with `ax integrations create llm <provider>` or
|
|
1396
|
+
`ax integrations update llm <provider> <integration>`. Run either command
|
|
1397
|
+
with `--help` to see the provider's options. An update changes only the
|
|
1398
|
+
fields you pass.
|
|
1401
1399
|
|
|
1402
1400
|
```bash
|
|
1403
|
-
# List integrations
|
|
1404
|
-
ax integrations list [--type AGENT] [--provider <provider>] [--name <substring>] [--space <space>] [--limit 15] [--cursor <cursor>]
|
|
1401
|
+
# List integrations, with optional type and provider filters
|
|
1402
|
+
ax integrations list [--type LLM|AGENT] [--provider <provider>] [--name <substring>] [--space <space>] [--limit 15] [--cursor <cursor>]
|
|
1405
1403
|
|
|
1406
|
-
# Get an integration by ID
|
|
1404
|
+
# Get an integration by ID or by name with its type
|
|
1407
1405
|
ax integrations get <integration> [--type LLM|AGENT]
|
|
1408
1406
|
|
|
1409
|
-
# Create an LLM integration
|
|
1410
|
-
ax integrations create llm --name "OpenAI Prod" --
|
|
1407
|
+
# Create an OpenAI LLM integration
|
|
1408
|
+
ax integrations create llm openai --name "OpenAI Prod" --api-key sk-...
|
|
1411
1409
|
|
|
1412
1410
|
# Create an LLM integration with a custom endpoint
|
|
1413
|
-
ax integrations create llm --name "Custom LLM"
|
|
1414
|
-
--base-url https://my-llm.example.com --
|
|
1411
|
+
ax integrations create llm custom --name "Custom LLM" \
|
|
1412
|
+
--base-url https://my-llm.example.com --model-name my-model \
|
|
1413
|
+
--headers '{"X-Api-Key": "secret"}'
|
|
1415
1414
|
|
|
1416
1415
|
# Create an AWS Bedrock LLM integration
|
|
1417
|
-
ax integrations create llm --name "Bedrock" --
|
|
1416
|
+
ax integrations create llm aws-bedrock --name "Bedrock" --enable-default-models \
|
|
1418
1417
|
--auth '{"auth_type": "DEFAULT", "role_arn": "arn:aws:iam::123456789:role/MyRole"}'
|
|
1419
1418
|
|
|
1420
|
-
# Create a Cloudflare LLM integration
|
|
1421
|
-
ax integrations create llm --name "Cloudflare"
|
|
1419
|
+
# Create a Cloudflare LLM integration for Decision Judge evaluators
|
|
1420
|
+
ax integrations create llm cloudflare --name "Cloudflare" \
|
|
1422
1421
|
--api-key <cloudflare-api-token> --account-id <32-character-account-id>
|
|
1423
1422
|
|
|
1424
1423
|
# Create an agent integration
|
|
@@ -1426,8 +1425,11 @@ ax integrations create agent --name "My Agent" \
|
|
|
1426
1425
|
--endpoint https://agent.example.com/run \
|
|
1427
1426
|
--input-schema '{"type": "object"}'
|
|
1428
1427
|
|
|
1429
|
-
# Update an LLM integration
|
|
1430
|
-
ax integrations update llm <integration> --name "Renamed" --api-key sk-new
|
|
1428
|
+
# Update an OpenAI LLM integration
|
|
1429
|
+
ax integrations update llm openai <integration> --name "Renamed" --api-key sk-new
|
|
1430
|
+
|
|
1431
|
+
# Clear all custom headers from an existing custom LLM integration
|
|
1432
|
+
ax integrations update llm custom <integration> --headers null
|
|
1431
1433
|
|
|
1432
1434
|
# Update an agent integration
|
|
1433
1435
|
ax integrations update agent <integration> --endpoint https://agent.example.com/v2/run
|
|
@@ -1436,22 +1438,38 @@ ax integrations update agent <integration> --endpoint https://agent.example.com/
|
|
|
1436
1438
|
ax integrations delete <integration> [--type LLM|AGENT] [--force]
|
|
1437
1439
|
```
|
|
1438
1440
|
|
|
1439
|
-
**LLM
|
|
1441
|
+
**Required options for LLM creation**
|
|
1440
1442
|
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
| Google Gemini | `GEMINI` | `--api-key` |
|
|
1446
|
-
| AWS Bedrock | `AWS_BEDROCK` | `--auth` (JSON) |
|
|
1447
|
-
| Custom | `CUSTOM` | `--base-url` |
|
|
1448
|
-
| Vertex AI | `VERTEX_AI` | `--gcp-project-id`, `--gcp-location`, `--project-access-label` |
|
|
1449
|
-
| NVIDIA NIM | `NVIDIA_NIM` | at least one model source (`--model-name` or `--enable-default-models`) |
|
|
1450
|
-
| TypeSafe AI | `TYPE_SAFE_AI` | `--api-key` (Decision Judge only) |
|
|
1451
|
-
| Perplexity | `PERPLEXITY` | `--api-key` (Decision Judge only) |
|
|
1452
|
-
| Cloudflare | `CLOUDFLARE` | `--api-key`, `--account-id` (Decision Judge only) |
|
|
1443
|
+
All providers require `--name`. For the rows that list a model source, supply
|
|
1444
|
+
one or more `--model-name` values or use `--enable-default-models`. LiteLLM
|
|
1445
|
+
discovers models from its configured endpoint and has no
|
|
1446
|
+
`--enable-default-models` option.
|
|
1453
1447
|
|
|
1454
|
-
|
|
1448
|
+
| Provider | API provider | Subcommand | Additional requirements |
|
|
1449
|
+
| --- | --- | --- | --- |
|
|
1450
|
+
| OpenAI | `OPEN_AI` | `openai` | `--api-key` |
|
|
1451
|
+
| Anthropic | `ANTHROPIC` | `anthropic` | `--api-key` |
|
|
1452
|
+
| Google Gemini | `GEMINI` | `gemini` | `--api-key` |
|
|
1453
|
+
| AWS Bedrock | `AWS_BEDROCK` | `aws-bedrock` | `--auth`, model source |
|
|
1454
|
+
| Custom | `CUSTOM` | `custom` | `--base-url`, model source |
|
|
1455
|
+
| Vertex AI | `VERTEX_AI` | `vertex-ai` | `--gcp-project-id`, `--gcp-location`, `--project-access-label` |
|
|
1456
|
+
| NVIDIA NIM | `NVIDIA_NIM` | `nvidia-nim` | Model source |
|
|
1457
|
+
| LiteLLM | `LITELLM` | `litellm` | `--base-url`, `--api-key` |
|
|
1458
|
+
| Fireworks AI | `FIREWORKS` | `fireworks` | `--api-key` |
|
|
1459
|
+
| Together AI | `TOGETHER_AI` | `together-ai` | `--api-key` |
|
|
1460
|
+
| DeepSeek | `DEEP_SEEK` | `deepseek` | `--api-key` |
|
|
1461
|
+
| TypeSafe AI | `TYPE_SAFE_AI` | `typesafe-ai` | `--api-key` (Decision Judge only) |
|
|
1462
|
+
| Perplexity | `PERPLEXITY` | `perplexity` | `--api-key` (Decision Judge only) |
|
|
1463
|
+
| Cloudflare | `CLOUDFLARE` | `cloudflare` | `--api-key`, `--account-id` (Decision Judge only) |
|
|
1464
|
+
|
|
1465
|
+
`--auth`, `--headers`, and `--scopings` accept inline JSON or a path to a
|
|
1466
|
+
JSON file. For a custom endpoint, use either `--api-key` or `--auth` to
|
|
1467
|
+
configure authentication. On update, `--auth` replaces the entire stored
|
|
1468
|
+
authentication configuration.
|
|
1469
|
+
|
|
1470
|
+
On update, use `--clear-api-key` for Custom or NVIDIA NIM and
|
|
1471
|
+
`--clear-base-url` to reset Anthropic or NVIDIA NIM to the provider's default
|
|
1472
|
+
URL. Values passed to `--api-key` and `--base-url` are sent as provided.
|
|
1455
1473
|
|
|
1456
1474
|
### Organizations
|
|
1457
1475
|
|
|
@@ -1926,7 +1944,7 @@ ax tasks trigger-run <task-id> \
|
|
|
1926
1944
|
# ── Run management ────────────────────────────────────────────────────────────
|
|
1927
1945
|
|
|
1928
1946
|
# List runs for a task (optionally filtered by status)
|
|
1929
|
-
ax tasks list-runs <task-id> [--status PENDING|RUNNING|COMPLETED|FAILED|CANCELLED] \
|
|
1947
|
+
ax tasks list-runs <task-id> [--status PENDING|RUNNING|COMPLETED|FAILED|CANCELLED|PARTIAL_COMPLETED] \
|
|
1930
1948
|
[--limit 15] [--cursor <cursor>]
|
|
1931
1949
|
|
|
1932
1950
|
# Get a specific run
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
- [`ax experiments run` — execute a task locally](#ax-experiments-run--execute-a-task-locally)
|
|
63
63
|
- [`ax experiments create` — publish pre-computed runs](#ax-experiments-create--publish-pre-computed-runs)
|
|
64
64
|
- [Integrations](#integrations)
|
|
65
|
+
- [Migrating existing LLM integration commands](#migrating-existing-llm-integration-commands)
|
|
65
66
|
- [Organizations](#organizations)
|
|
66
67
|
- [Projects](#projects)
|
|
67
68
|
- [Prompts](#prompts)
|
|
@@ -1344,37 +1345,35 @@ standalone experiment that has none. One of the two is required.
|
|
|
1344
1345
|
|
|
1345
1346
|
### Integrations
|
|
1346
1347
|
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
exposed at an HTTPS endpoint. This supersedes `ax ai-integrations`, which
|
|
1350
|
-
manages LLM integrations on the deprecating `/v2/ai-integrations` endpoint.
|
|
1348
|
+
`LLM` integrations configure a model provider. `AGENT` integrations connect
|
|
1349
|
+
your own agent exposed at an HTTPS endpoint.
|
|
1351
1350
|
|
|
1352
|
-
|
|
1353
|
-
`
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
unchanged.
|
|
1351
|
+
Choose a provider with `ax integrations create llm <provider>` or
|
|
1352
|
+
`ax integrations update llm <provider> <integration>`. Run either command
|
|
1353
|
+
with `--help` to see the provider's options. An update changes only the
|
|
1354
|
+
fields you pass.
|
|
1357
1355
|
|
|
1358
1356
|
```bash
|
|
1359
|
-
# List integrations
|
|
1360
|
-
ax integrations list [--type AGENT] [--provider <provider>] [--name <substring>] [--space <space>] [--limit 15] [--cursor <cursor>]
|
|
1357
|
+
# List integrations, with optional type and provider filters
|
|
1358
|
+
ax integrations list [--type LLM|AGENT] [--provider <provider>] [--name <substring>] [--space <space>] [--limit 15] [--cursor <cursor>]
|
|
1361
1359
|
|
|
1362
|
-
# Get an integration by ID
|
|
1360
|
+
# Get an integration by ID or by name with its type
|
|
1363
1361
|
ax integrations get <integration> [--type LLM|AGENT]
|
|
1364
1362
|
|
|
1365
|
-
# Create an LLM integration
|
|
1366
|
-
ax integrations create llm --name "OpenAI Prod" --
|
|
1363
|
+
# Create an OpenAI LLM integration
|
|
1364
|
+
ax integrations create llm openai --name "OpenAI Prod" --api-key sk-...
|
|
1367
1365
|
|
|
1368
1366
|
# Create an LLM integration with a custom endpoint
|
|
1369
|
-
ax integrations create llm --name "Custom LLM"
|
|
1370
|
-
--base-url https://my-llm.example.com --
|
|
1367
|
+
ax integrations create llm custom --name "Custom LLM" \
|
|
1368
|
+
--base-url https://my-llm.example.com --model-name my-model \
|
|
1369
|
+
--headers '{"X-Api-Key": "secret"}'
|
|
1371
1370
|
|
|
1372
1371
|
# Create an AWS Bedrock LLM integration
|
|
1373
|
-
ax integrations create llm --name "Bedrock" --
|
|
1372
|
+
ax integrations create llm aws-bedrock --name "Bedrock" --enable-default-models \
|
|
1374
1373
|
--auth '{"auth_type": "DEFAULT", "role_arn": "arn:aws:iam::123456789:role/MyRole"}'
|
|
1375
1374
|
|
|
1376
|
-
# Create a Cloudflare LLM integration
|
|
1377
|
-
ax integrations create llm --name "Cloudflare"
|
|
1375
|
+
# Create a Cloudflare LLM integration for Decision Judge evaluators
|
|
1376
|
+
ax integrations create llm cloudflare --name "Cloudflare" \
|
|
1378
1377
|
--api-key <cloudflare-api-token> --account-id <32-character-account-id>
|
|
1379
1378
|
|
|
1380
1379
|
# Create an agent integration
|
|
@@ -1382,8 +1381,11 @@ ax integrations create agent --name "My Agent" \
|
|
|
1382
1381
|
--endpoint https://agent.example.com/run \
|
|
1383
1382
|
--input-schema '{"type": "object"}'
|
|
1384
1383
|
|
|
1385
|
-
# Update an LLM integration
|
|
1386
|
-
ax integrations update llm <integration> --name "Renamed" --api-key sk-new
|
|
1384
|
+
# Update an OpenAI LLM integration
|
|
1385
|
+
ax integrations update llm openai <integration> --name "Renamed" --api-key sk-new
|
|
1386
|
+
|
|
1387
|
+
# Clear all custom headers from an existing custom LLM integration
|
|
1388
|
+
ax integrations update llm custom <integration> --headers null
|
|
1387
1389
|
|
|
1388
1390
|
# Update an agent integration
|
|
1389
1391
|
ax integrations update agent <integration> --endpoint https://agent.example.com/v2/run
|
|
@@ -1392,22 +1394,38 @@ ax integrations update agent <integration> --endpoint https://agent.example.com/
|
|
|
1392
1394
|
ax integrations delete <integration> [--type LLM|AGENT] [--force]
|
|
1393
1395
|
```
|
|
1394
1396
|
|
|
1395
|
-
**LLM
|
|
1397
|
+
**Required options for LLM creation**
|
|
1396
1398
|
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
| Google Gemini | `GEMINI` | `--api-key` |
|
|
1402
|
-
| AWS Bedrock | `AWS_BEDROCK` | `--auth` (JSON) |
|
|
1403
|
-
| Custom | `CUSTOM` | `--base-url` |
|
|
1404
|
-
| Vertex AI | `VERTEX_AI` | `--gcp-project-id`, `--gcp-location`, `--project-access-label` |
|
|
1405
|
-
| NVIDIA NIM | `NVIDIA_NIM` | at least one model source (`--model-name` or `--enable-default-models`) |
|
|
1406
|
-
| TypeSafe AI | `TYPE_SAFE_AI` | `--api-key` (Decision Judge only) |
|
|
1407
|
-
| Perplexity | `PERPLEXITY` | `--api-key` (Decision Judge only) |
|
|
1408
|
-
| Cloudflare | `CLOUDFLARE` | `--api-key`, `--account-id` (Decision Judge only) |
|
|
1399
|
+
All providers require `--name`. For the rows that list a model source, supply
|
|
1400
|
+
one or more `--model-name` values or use `--enable-default-models`. LiteLLM
|
|
1401
|
+
discovers models from its configured endpoint and has no
|
|
1402
|
+
`--enable-default-models` option.
|
|
1409
1403
|
|
|
1410
|
-
|
|
1404
|
+
| Provider | API provider | Subcommand | Additional requirements |
|
|
1405
|
+
| --- | --- | --- | --- |
|
|
1406
|
+
| OpenAI | `OPEN_AI` | `openai` | `--api-key` |
|
|
1407
|
+
| Anthropic | `ANTHROPIC` | `anthropic` | `--api-key` |
|
|
1408
|
+
| Google Gemini | `GEMINI` | `gemini` | `--api-key` |
|
|
1409
|
+
| AWS Bedrock | `AWS_BEDROCK` | `aws-bedrock` | `--auth`, model source |
|
|
1410
|
+
| Custom | `CUSTOM` | `custom` | `--base-url`, model source |
|
|
1411
|
+
| Vertex AI | `VERTEX_AI` | `vertex-ai` | `--gcp-project-id`, `--gcp-location`, `--project-access-label` |
|
|
1412
|
+
| NVIDIA NIM | `NVIDIA_NIM` | `nvidia-nim` | Model source |
|
|
1413
|
+
| LiteLLM | `LITELLM` | `litellm` | `--base-url`, `--api-key` |
|
|
1414
|
+
| Fireworks AI | `FIREWORKS` | `fireworks` | `--api-key` |
|
|
1415
|
+
| Together AI | `TOGETHER_AI` | `together-ai` | `--api-key` |
|
|
1416
|
+
| DeepSeek | `DEEP_SEEK` | `deepseek` | `--api-key` |
|
|
1417
|
+
| TypeSafe AI | `TYPE_SAFE_AI` | `typesafe-ai` | `--api-key` (Decision Judge only) |
|
|
1418
|
+
| Perplexity | `PERPLEXITY` | `perplexity` | `--api-key` (Decision Judge only) |
|
|
1419
|
+
| Cloudflare | `CLOUDFLARE` | `cloudflare` | `--api-key`, `--account-id` (Decision Judge only) |
|
|
1420
|
+
|
|
1421
|
+
`--auth`, `--headers`, and `--scopings` accept inline JSON or a path to a
|
|
1422
|
+
JSON file. For a custom endpoint, use either `--api-key` or `--auth` to
|
|
1423
|
+
configure authentication. On update, `--auth` replaces the entire stored
|
|
1424
|
+
authentication configuration.
|
|
1425
|
+
|
|
1426
|
+
On update, use `--clear-api-key` for Custom or NVIDIA NIM and
|
|
1427
|
+
`--clear-base-url` to reset Anthropic or NVIDIA NIM to the provider's default
|
|
1428
|
+
URL. Values passed to `--api-key` and `--base-url` are sent as provided.
|
|
1411
1429
|
|
|
1412
1430
|
### Organizations
|
|
1413
1431
|
|
|
@@ -1882,7 +1900,7 @@ ax tasks trigger-run <task-id> \
|
|
|
1882
1900
|
# ── Run management ────────────────────────────────────────────────────────────
|
|
1883
1901
|
|
|
1884
1902
|
# List runs for a task (optionally filtered by status)
|
|
1885
|
-
ax tasks list-runs <task-id> [--status PENDING|RUNNING|COMPLETED|FAILED|CANCELLED] \
|
|
1903
|
+
ax tasks list-runs <task-id> [--status PENDING|RUNNING|COMPLETED|FAILED|CANCELLED|PARTIAL_COMPLETED] \
|
|
1886
1904
|
[--limit 15] [--cursor <cursor>]
|
|
1887
1905
|
|
|
1888
1906
|
# Get a specific run
|