arize-ax-cli 0.37.0__tar.gz → 0.38.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.
Files changed (72) hide show
  1. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/PKG-INFO +20 -14
  2. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/README.md +19 -13
  3. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/ai_integrations.py +2 -8
  4. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/integrations.py +44 -9
  5. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/prompts.py +2 -8
  6. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/version.py +1 -1
  7. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/.gitignore +0 -0
  8. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/LICENSE +0 -0
  9. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/pyproject.toml +0 -0
  10. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/__init__.py +0 -0
  11. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/__main__.py +0 -0
  12. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/ascii_art.py +0 -0
  13. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/auth/__init__.py +0 -0
  14. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/auth/bearer.py +0 -0
  15. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/auth/oauth_client.py +0 -0
  16. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/auth/oauth_flow.py +0 -0
  17. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/cli.py +0 -0
  18. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/coding_agents.py +0 -0
  19. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/__init__.py +0 -0
  20. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/annotation_configs.py +0 -0
  21. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/annotation_queues.py +0 -0
  22. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/api_keys.py +0 -0
  23. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/auth.py +0 -0
  24. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/datasets.py +0 -0
  25. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/evaluators.py +0 -0
  26. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/experiments.py +0 -0
  27. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/instrument.py +0 -0
  28. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/organizations.py +0 -0
  29. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/profiles.py +0 -0
  30. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/projects.py +0 -0
  31. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/resource_restrictions.py +0 -0
  32. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/role_bindings.py +0 -0
  33. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/roles.py +0 -0
  34. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/skills.py +0 -0
  35. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/spaces.py +0 -0
  36. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/spans.py +0 -0
  37. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/tasks.py +0 -0
  38. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/traces.py +0 -0
  39. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/upgrade.py +0 -0
  40. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/commands/users.py +0 -0
  41. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/config/__init__.py +0 -0
  42. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/config/input_readers.py +0 -0
  43. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/config/manager.py +0 -0
  44. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/config/schema.py +0 -0
  45. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/config/setup.py +0 -0
  46. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/core/__init__.py +0 -0
  47. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/core/client_factory.py +0 -0
  48. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/core/decorators.py +0 -0
  49. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/core/error_formatter.py +0 -0
  50. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/core/exceptions.py +0 -0
  51. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/core/headers.py +0 -0
  52. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/core/output.py +0 -0
  53. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/core/pydantic.py +0 -0
  54. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/instrument/__init__.py +0 -0
  55. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/instrument/flow.py +0 -0
  56. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/instrument/launch.py +0 -0
  57. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/instrument/links.py +0 -0
  58. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/instrument/prompt.py +0 -0
  59. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/instrument/selfinstall.py +0 -0
  60. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/instrument/staging.py +0 -0
  61. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/skills_installer.py +0 -0
  62. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/__init__.py +0 -0
  63. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/annotations.py +0 -0
  64. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/console.py +0 -0
  65. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/datetime_parse.py +0 -0
  66. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/dotenv.py +0 -0
  67. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/export.py +0 -0
  68. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/file_io.py +0 -0
  69. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/http.py +0 -0
  70. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/json_source.py +0 -0
  71. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.0}/src/ax/utils/text_source.py +0 -0
  72. {arize_ax_cli-0.37.0 → arize_ax_cli-0.38.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.37.0
3
+ Version: 0.38.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/
@@ -686,12 +686,13 @@ ax ai-integrations create --name "OpenAI Prod" --provider OPEN_AI \
686
686
 
687
687
  # Create an integration with custom headers
688
688
  ax ai-integrations create --name "Custom LLM" --provider CUSTOM \
689
- --base-url https://my-llm.example.com \
690
- --headers-json '{"X-API-Key": "secret"}'
689
+ --base-url https://my-llm.example.com --model-name my-model \
690
+ --headers '{"X-API-Key": "secret"}'
691
691
 
692
692
  # Create an AWS Bedrock integration
693
693
  ax ai-integrations create --name "Bedrock" --provider AWS_BEDROCK \
694
- --provider-metadata-json '{"role_arn": "arn:aws:iam::123456789:role/MyRole"}'
694
+ --provider-metadata '{"role_arn": "arn:aws:iam::123456789:role/MyRole"}' \
695
+ --enable-default-models
695
696
 
696
697
  # Update an integration
697
698
  ax ai-integrations update <integration> --name "Renamed" --api-key <new-key>
@@ -702,16 +703,21 @@ ax ai-integrations delete <integration> [--force]
702
703
 
703
704
  **Supported providers:**
704
705
 
705
- | Provider | Value | Notes |
706
- | ------------- | ------------- | -------------------------------------------- |
707
- | OpenAI | `OPEN_AI` | |
708
- | Azure OpenAI | `AZURE_OPEN_AI` | Use `--base-url` for the deployment endpoint |
709
- | AWS Bedrock | `AWS_BEDROCK` | Requires `--provider-metadata-json` |
710
- | Vertex AI | `VERTEX_AI` | Requires `--provider-metadata-json` |
711
- | Anthropic | `ANTHROPIC` | |
712
- | NVIDIA NIM | `NVIDIA_NIM` | |
713
- | Google Gemini | `GEMINI` | |
714
- | Custom | `CUSTOM` | Use `--base-url` for a custom endpoint |
706
+ Every provider except LiteLLM, Fireworks AI and Together AI needs a model source: `--enable-default-models` and/or one or more `--model-name` flags. Without one, the server rejects the create.
707
+
708
+ | Provider | Value | Notes |
709
+ | ------------- | --------------- | ------------------------------------------------------------ |
710
+ | OpenAI | `OPEN_AI` | |
711
+ | Azure OpenAI | `AZURE_OPEN_AI` | Use `--base-url` for the deployment endpoint |
712
+ | AWS Bedrock | `AWS_BEDROCK` | Requires `--provider-metadata` |
713
+ | Vertex AI | `VERTEX_AI` | Requires `--provider-metadata` |
714
+ | Anthropic | `ANTHROPIC` | |
715
+ | NVIDIA NIM | `NVIDIA_NIM` | `--base-url` optional; defaults to NVIDIA's hosted endpoint |
716
+ | Google Gemini | `GEMINI` | |
717
+ | Custom | `CUSTOM` | Use `--base-url` for a custom endpoint |
718
+ | LiteLLM | `LITELLM` | Requires `--base-url` and `--api-key` |
719
+ | Fireworks AI | `FIREWORKS` | API key only; no `--base-url` |
720
+ | Together AI | `TOGETHER_AI` | API key only; no `--base-url` |
715
721
 
716
722
  ### Annotation Configs
717
723
 
@@ -642,12 +642,13 @@ ax ai-integrations create --name "OpenAI Prod" --provider OPEN_AI \
642
642
 
643
643
  # Create an integration with custom headers
644
644
  ax ai-integrations create --name "Custom LLM" --provider CUSTOM \
645
- --base-url https://my-llm.example.com \
646
- --headers-json '{"X-API-Key": "secret"}'
645
+ --base-url https://my-llm.example.com --model-name my-model \
646
+ --headers '{"X-API-Key": "secret"}'
647
647
 
648
648
  # Create an AWS Bedrock integration
649
649
  ax ai-integrations create --name "Bedrock" --provider AWS_BEDROCK \
650
- --provider-metadata-json '{"role_arn": "arn:aws:iam::123456789:role/MyRole"}'
650
+ --provider-metadata '{"role_arn": "arn:aws:iam::123456789:role/MyRole"}' \
651
+ --enable-default-models
651
652
 
652
653
  # Update an integration
653
654
  ax ai-integrations update <integration> --name "Renamed" --api-key <new-key>
@@ -658,16 +659,21 @@ ax ai-integrations delete <integration> [--force]
658
659
 
659
660
  **Supported providers:**
660
661
 
661
- | Provider | Value | Notes |
662
- | ------------- | ------------- | -------------------------------------------- |
663
- | OpenAI | `OPEN_AI` | |
664
- | Azure OpenAI | `AZURE_OPEN_AI` | Use `--base-url` for the deployment endpoint |
665
- | AWS Bedrock | `AWS_BEDROCK` | Requires `--provider-metadata-json` |
666
- | Vertex AI | `VERTEX_AI` | Requires `--provider-metadata-json` |
667
- | Anthropic | `ANTHROPIC` | |
668
- | NVIDIA NIM | `NVIDIA_NIM` | |
669
- | Google Gemini | `GEMINI` | |
670
- | Custom | `CUSTOM` | Use `--base-url` for a custom endpoint |
662
+ Every provider except LiteLLM, Fireworks AI and Together AI needs a model source: `--enable-default-models` and/or one or more `--model-name` flags. Without one, the server rejects the create.
663
+
664
+ | Provider | Value | Notes |
665
+ | ------------- | --------------- | ------------------------------------------------------------ |
666
+ | OpenAI | `OPEN_AI` | |
667
+ | Azure OpenAI | `AZURE_OPEN_AI` | Use `--base-url` for the deployment endpoint |
668
+ | AWS Bedrock | `AWS_BEDROCK` | Requires `--provider-metadata` |
669
+ | Vertex AI | `VERTEX_AI` | Requires `--provider-metadata` |
670
+ | Anthropic | `ANTHROPIC` | |
671
+ | NVIDIA NIM | `NVIDIA_NIM` | `--base-url` optional; defaults to NVIDIA's hosted endpoint |
672
+ | Google Gemini | `GEMINI` | |
673
+ | Custom | `CUSTOM` | Use `--base-url` for a custom endpoint |
674
+ | LiteLLM | `LITELLM` | Requires `--base-url` and `--api-key` |
675
+ | Fireworks AI | `FIREWORKS` | API key only; no `--base-url` |
676
+ | Together AI | `TOGETHER_AI` | API key only; no `--base-url` |
671
677
 
672
678
  ### Annotation Configs
673
679
 
@@ -251,10 +251,7 @@ def create_ai_integration(
251
251
  AiIntegrationProvider,
252
252
  typer.Option(
253
253
  "--provider",
254
- help=(
255
- "LLM provider: OPEN_AI, AZURE_OPEN_AI, AWS_BEDROCK, "
256
- "VERTEX_AI, ANTHROPIC, CUSTOM, NVIDIA_NIM, GEMINI"
257
- ),
254
+ help="LLM provider",
258
255
  ),
259
256
  ],
260
257
  api_key: Annotated[
@@ -425,10 +422,7 @@ def update_ai_integration(
425
422
  AiIntegrationProvider | None,
426
423
  typer.Option(
427
424
  "--provider",
428
- help=(
429
- "Updated LLM provider: OPEN_AI, AZURE_OPEN_AI, AWS_BEDROCK, "
430
- "VERTEX_AI, ANTHROPIC, CUSTOM, NVIDIA_NIM, GEMINI"
431
- ),
425
+ help="Updated LLM provider",
432
426
  ),
433
427
  ] = None,
434
428
  api_key: Annotated[
@@ -11,10 +11,13 @@ from arize.integrations.types import (
11
11
  CreateAwsBedrockAuth,
12
12
  CreateAwsBedrockConfig,
13
13
  CreateCustomConfig,
14
+ CreateFireworksConfig,
14
15
  CreateGeminiConfig,
16
+ CreateLiteLlmConfig,
15
17
  CreateLlmConfig,
16
18
  CreateNvidiaNimConfig,
17
19
  CreateOpenAiConfig,
20
+ CreateTogetherAiConfig,
18
21
  CreateVertexAiConfig,
19
22
  IntegrationScoping,
20
23
  IntegrationType,
@@ -357,6 +360,9 @@ def _build_create_llm_config(
357
360
  | CreateCustomConfig
358
361
  | CreateVertexAiConfig
359
362
  | CreateNvidiaNimConfig
363
+ | CreateLiteLlmConfig
364
+ | CreateFireworksConfig
365
+ | CreateTogetherAiConfig
360
366
  )
361
367
 
362
368
  try:
@@ -421,6 +427,33 @@ def _build_create_llm_config(
421
427
  **fc,
422
428
  **dm,
423
429
  )
430
+ elif provider is LlmIntegrationProvider.LITELLM:
431
+ inner = CreateLiteLlmConfig(
432
+ provider=provider_value,
433
+ base_url=_require_provider_flag(
434
+ base_url, "--base-url", provider
435
+ ),
436
+ api_key=_require_provider_flag(api_key, "--api-key", provider),
437
+ headers=headers,
438
+ model_names=model_names,
439
+ **fc,
440
+ )
441
+ elif provider is LlmIntegrationProvider.FIREWORKS:
442
+ inner = CreateFireworksConfig(
443
+ provider=provider_value,
444
+ api_key=_require_provider_flag(api_key, "--api-key", provider),
445
+ model_names=model_names,
446
+ **fc,
447
+ **dm,
448
+ )
449
+ elif provider is LlmIntegrationProvider.TOGETHER_AI:
450
+ inner = CreateTogetherAiConfig(
451
+ provider=provider_value,
452
+ api_key=_require_provider_flag(api_key, "--api-key", provider),
453
+ model_names=model_names,
454
+ **fc,
455
+ **dm,
456
+ )
424
457
  else:
425
458
  # Fail loudly rather than silently misroute a provider variant
426
459
  # added to the SDK enum after this command was written.
@@ -448,10 +481,7 @@ def create_llm_integration(
448
481
  LlmIntegrationProvider,
449
482
  typer.Option(
450
483
  "--provider",
451
- help=(
452
- "Model provider: OPEN_AI, ANTHROPIC, GEMINI, AWS_BEDROCK, "
453
- "CUSTOM, VERTEX_AI, NVIDIA_NIM"
454
- ),
484
+ help="Model provider",
455
485
  ),
456
486
  ],
457
487
  api_key: Annotated[
@@ -460,7 +490,8 @@ def create_llm_integration(
460
490
  "--api-key",
461
491
  help=(
462
492
  "API key (write-only). Required for OPEN_AI, ANTHROPIC, "
463
- "GEMINI; optional for CUSTOM and NVIDIA_NIM"
493
+ "GEMINI, LITELLM, FIREWORKS, TOGETHER_AI; optional for "
494
+ "CUSTOM and NVIDIA_NIM"
464
495
  ),
465
496
  ),
466
497
  ] = None,
@@ -469,8 +500,8 @@ def create_llm_integration(
469
500
  typer.Option(
470
501
  "--base-url",
471
502
  help=(
472
- "Endpoint URL (HTTPS). Required for CUSTOM; optional for "
473
- "NVIDIA_NIM"
503
+ "Endpoint URL (HTTPS). Required for CUSTOM and LITELLM; "
504
+ "optional for NVIDIA_NIM"
474
505
  ),
475
506
  ),
476
507
  ] = None,
@@ -480,7 +511,8 @@ def create_llm_integration(
480
511
  "--model-name",
481
512
  help=(
482
513
  "Custom model name (repeat for multiple). "
483
- "AWS_BEDROCK, CUSTOM, and NVIDIA_NIM only"
514
+ "AWS_BEDROCK, CUSTOM, NVIDIA_NIM, LITELLM, FIREWORKS, and "
515
+ "TOGETHER_AI only"
484
516
  ),
485
517
  ),
486
518
  ] = None,
@@ -490,7 +522,8 @@ def create_llm_integration(
490
522
  "--enable-default-models/--no-enable-default-models",
491
523
  help=(
492
524
  "Enable Arize's default model catalog. "
493
- "AWS_BEDROCK, CUSTOM, and NVIDIA_NIM only"
525
+ "AWS_BEDROCK, CUSTOM, NVIDIA_NIM, FIREWORKS, and TOGETHER_AI "
526
+ "only"
494
527
  ),
495
528
  ),
496
529
  ] = None,
@@ -547,6 +580,8 @@ def create_llm_integration(
547
580
  - VERTEX_AI: --gcp-project-id, --gcp-location, --project-access-label
548
581
  - NVIDIA_NIM: none (needs at least one model source: --model-name or
549
582
  --enable-default-models)
583
+ - LITELLM: --base-url, --api-key
584
+ - FIREWORKS / TOGETHER_AI: --api-key
550
585
  """
551
586
  parsed_headers = _parse_headers(headers) if headers is not None else None
552
587
  parsed_auth = _parse_bedrock_auth(auth) if auth is not None else None
@@ -243,10 +243,7 @@ def create_prompt(
243
243
  LlmProvider,
244
244
  typer.Option(
245
245
  "--provider",
246
- help=(
247
- "LLM provider "
248
- "(OPEN_AI, AZURE_OPEN_AI, AWS_BEDROCK, VERTEX_AI, ANTHROPIC, CUSTOM)"
249
- ),
246
+ help="LLM provider",
250
247
  ),
251
248
  ],
252
249
  input_variable_format: Annotated[
@@ -626,10 +623,7 @@ def create_version(
626
623
  LlmProvider,
627
624
  typer.Option(
628
625
  "--provider",
629
- help=(
630
- "LLM provider "
631
- "(OPEN_AI, AZURE_OPEN_AI, AWS_BEDROCK, VERTEX_AI, ANTHROPIC, CUSTOM)"
632
- ),
626
+ help="LLM provider",
633
627
  ),
634
628
  ],
635
629
  input_variable_format: Annotated[
@@ -1,3 +1,3 @@
1
1
  """Version information for ax CLI."""
2
2
 
3
- __version__ = "0.37.0"
3
+ __version__ = "0.38.0"
File without changes
File without changes