aioli-sdk 0.2.4.dev2__tar.gz → 0.2.4.dev5__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 (88) hide show
  1. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/PKG-INFO +1 -1
  2. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/__version__.py +1 -1
  3. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/registry.py +11 -0
  4. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/test/test_cli.py +51 -2
  5. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli_sdk.egg-info/PKG-INFO +1 -1
  6. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/__init__.py +1 -1
  7. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api/authentication_api.py +1 -1
  8. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api/deployments_api.py +1 -1
  9. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api/information_api.py +1 -1
  10. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api/packaged_models_api.py +1 -1
  11. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api/registries_api.py +25 -8
  12. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api/roles_api.py +1 -1
  13. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api/templates_api.py +1 -1
  14. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api/users_api.py +1 -1
  15. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api_client.py +1 -1
  16. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/configuration.py +2 -2
  17. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/exceptions.py +1 -1
  18. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/__init__.py +1 -1
  19. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/auto_scaling_template.py +1 -1
  20. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/autoscaling.py +1 -1
  21. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/configuration_resources.py +1 -1
  22. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/deployment.py +1 -1
  23. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/deployment_model_version.py +4 -4
  24. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/deployment_request.py +1 -1
  25. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/deployment_state.py +4 -2
  26. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/error_response.py +1 -1
  27. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/event_info.py +1 -1
  28. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/failure_info.py +1 -1
  29. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/login_request.py +1 -1
  30. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/login_response.py +1 -1
  31. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/model_auth_token.py +1 -1
  32. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/model_response.py +4 -2
  33. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/observability.py +1 -1
  34. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/packaged_model.py +3 -3
  35. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/packaged_model_request.py +4 -4
  36. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/resource_profile.py +1 -1
  37. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/resources_template.py +1 -1
  38. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/role.py +1 -1
  39. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/role_assignment.py +1 -1
  40. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/role_assignments.py +1 -1
  41. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/security.py +1 -1
  42. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/success_response.py +1 -1
  43. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/trained_model_registry.py +5 -3
  44. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/trained_model_registry_request.py +5 -3
  45. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/user.py +1 -1
  46. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/user_patch_request.py +1 -1
  47. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/models/user_request.py +1 -1
  48. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/rest.py +1 -1
  49. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/setup.py +1 -1
  50. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/README.md +0 -0
  51. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/__init__.py +0 -0
  52. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/__init__.py +0 -0
  53. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/__main__.py +0 -0
  54. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/_util.py +0 -0
  55. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/cli.py +0 -0
  56. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/deployment.py +0 -0
  57. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/errors.py +0 -0
  58. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/model.py +0 -0
  59. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/render.py +0 -0
  60. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/role.py +0 -0
  61. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/sso.py +0 -0
  62. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/test/conftest.py +0 -0
  63. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/user.py +0 -0
  64. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/cli/version.py +0 -0
  65. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/__init__.py +0 -0
  66. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/api/__init__.py +0 -0
  67. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/api/_util.py +0 -0
  68. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/api/authentication.py +0 -0
  69. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/api/certs.py +0 -0
  70. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/api/errors.py +0 -0
  71. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/api/request.py +0 -0
  72. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/check.py +0 -0
  73. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/constants.py +0 -0
  74. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/declarative_argparse.py +0 -0
  75. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/requests.py +0 -0
  76. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/common/util.py +0 -0
  77. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli/util.py +0 -0
  78. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli_sdk.egg-info/SOURCES.txt +0 -0
  79. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli_sdk.egg-info/dependency_links.txt +0 -0
  80. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli_sdk.egg-info/entry_points.txt +0 -0
  81. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli_sdk.egg-info/not-zip-safe +0 -0
  82. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli_sdk.egg-info/requires.txt +0 -0
  83. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aioli_sdk.egg-info/top_level.txt +0 -0
  84. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api/__init__.py +0 -0
  85. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/api_response.py +0 -0
  86. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/aiolirest/py.typed +0 -0
  87. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/pyproject.toml +0 -0
  88. {aioli_sdk-0.2.4.dev2 → aioli_sdk-0.2.4.dev5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioli-sdk
3
- Version: 0.2.4.dev2
3
+ Version: 0.2.4.dev5
4
4
  Summary: Aioli (AI OnLine Inference), a platform for deploying AI models at scale.
5
5
  Home-page: https://github.com/determined-ai/aioli
6
6
  Author: HPE AI Solutions
@@ -1,2 +1,2 @@
1
1
  # © Copyright 2024 Hewlett Packard Enterprise Development LP
2
- __version__ = "0.2.4-dev2"
2
+ __version__ = "0.2.4-dev5"
@@ -77,6 +77,7 @@ def create(args: Namespace) -> None:
77
77
  endpointUrl=args.endpoint_url,
78
78
  secretKey=args.secret_key,
79
79
  type=args.type,
80
+ insecureHttps=args.insecure_https,
80
81
  )
81
82
  api_instance.registries_post(r)
82
83
 
@@ -200,6 +201,11 @@ main_cmd = Cmd(
200
201
  Arg("--access-key", help="S3 access key/username"),
201
202
  Arg("--secret-key", help="secret key/password", required="true"),
202
203
  Arg("--endpoint-url", help="S3 endpoint URL"),
204
+ Arg(
205
+ "--insecure-https",
206
+ help="Allow insecure HTTPS connections to S3",
207
+ action="store_true", # prefer argparse.BooleanOptionalAction
208
+ ),
203
209
  ],
204
210
  ),
205
211
  # Show command.
@@ -235,6 +241,11 @@ main_cmd = Cmd(
235
241
  Arg("--access-key", help="S3 access key/username"),
236
242
  Arg("--secret-key", help="S3 secret key/password"),
237
243
  Arg("--endpoint-url", help="S3 endpoint URL"),
244
+ Arg(
245
+ "--insecure-https",
246
+ help="Allow insecure HTTPS connections to S3",
247
+ action="store_true", # prefer argparse.BooleanOptionalAction
248
+ ),
238
249
  ],
239
250
  ),
240
251
  Cmd(
@@ -3,6 +3,8 @@ import csv
3
3
  import os
4
4
  import subprocess
5
5
 
6
+ import yaml
7
+
6
8
 
7
9
  class TestCli:
8
10
  testdir = os.path.dirname(os.path.realpath(__file__))
@@ -33,6 +35,50 @@ class TestCli:
33
35
  actual = subprocess.check_output(["aioli", "registry", "list"]).decode("utf-8")
34
36
  assert actual == expected
35
37
 
38
+ def test_registry_create_and_update_insecure(self, setup_login: None) -> None:
39
+ # Create a registry with insecure-https and test for expected values
40
+ assert (
41
+ os.system(
42
+ "aioli registry create --type s3 --access-key minioadmin "
43
+ "--secret-key minioadmin --bucket demo-bento-registry "
44
+ "--endpoint-url http://10.30.89.14:30008 --insecure-https bento-registry-insecure"
45
+ )
46
+ == 0
47
+ )
48
+
49
+ # Newly created registry entry without id/modified as dict
50
+ expected = yaml.safe_load(
51
+ "accessKey: minioadmin\nbucket: demo-bento-registry\nendpointUrl: "
52
+ "http://10.30.89.14:30008\ninsecureHttps: true\n"
53
+ "name: bento-registry-insecure\nsecretKey: '**********'\ntype: s3\n\n"
54
+ )
55
+ actualstr = subprocess.check_output(
56
+ ["aioli", "registry", "show", "bento-registry-insecure"]
57
+ ).decode("utf-8")
58
+ actual = yaml.safe_load(actualstr)
59
+ del actual["id"]
60
+ del actual["modifiedAt"]
61
+ assert actual == expected
62
+
63
+ # Update to secure
64
+ if False:
65
+ # This is blocked until CI is at python 3.9 -- then update
66
+ # registry.py to use action=argparse.BoolOptionalAction
67
+ assert (
68
+ os.system("aioli registry update --no-insecure-https bento-registry-insecure") == 0
69
+ )
70
+ expected["insecureHttps"] = False
71
+ actual = subprocess.check_output(
72
+ ["aioli", "registry", "show", "bento-registry-insecure"]
73
+ ).decode("utf-8")
74
+ actual = yaml.safe_load(actual)
75
+ del actual["id"]
76
+ del actual["modifiedAt"]
77
+ assert actual == expected
78
+
79
+ # Cleanup test registry
80
+ assert os.system("aioli registry delete bento-registry-insecure") == 0
81
+
36
82
  def test_registry_create(self, setup_login: None) -> None:
37
83
  # Create a registry entry and test for success
38
84
  assert (
@@ -133,6 +179,7 @@ class TestCli:
133
179
  ' "accessKey": "minioadmin",\n'
134
180
  ' "bucket": "demo-bento-registry",\n'
135
181
  ' "endpointUrl": "http://10.30.89.14:30008/",\n'
182
+ ' "insecureHttps": false,\n'
136
183
  ' "name": "bento-registry",\n'
137
184
  ' "secretKey": "**********",\n'
138
185
  ' "type": "s3"\n'
@@ -342,14 +389,14 @@ class TestCli:
342
389
  os.system(
343
390
  "aioli model create openllm --registry bento-registry1 "
344
391
  "--format openllm "
345
- "--url openllm://demo-bento-registry/iris-tf-keras "
392
+ "--url s3://demo-bento-registry/iris-tf-keras "
346
393
  '--description "the model description"'
347
394
  )
348
395
  == 0
349
396
  )
350
397
  expected = (
351
398
  "openllm | the model description | 1 | "
352
- "openllm://demo-bento-registry/iris-tf-keras |"
399
+ "s3://demo-bento-registry/iris-tf-keras |"
353
400
  " | bento-registry1"
354
401
  )
355
402
  actual = subprocess.check_output(["aioli", "model", "list"]).decode("utf-8")
@@ -559,6 +606,7 @@ class TestCli:
559
606
  ' "namespace": "aioli",\n'
560
607
  ' "secondaryState": {\n'
561
608
  ' "endpoint": "",\n'
609
+ ' "modelId": "",\n'
562
610
  ' "nativeAppName": "",\n'
563
611
  ' "status": "None",\n'
564
612
  ' "trafficPercentage": 0\n'
@@ -568,6 +616,7 @@ class TestCli:
568
616
  ' },\n' # noqa: Q000
569
617
  ' "state": {\n'
570
618
  ' "endpoint": "",\n'
619
+ ' "modelId": "",\n'
571
620
  ' "nativeAppName": "",\n'
572
621
  ' "status": "Deploying",\n'
573
622
  ' "trafficPercentage": 0\n'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aioli-sdk
3
- Version: 0.2.4.dev2
3
+ Version: 0.2.4.dev5
4
4
  Summary: Aioli (AI OnLine Inference), a platform for deploying AI models at scale.
5
5
  Home-page: https://github.com/determined-ai/aioli
6
6
  Author: HPE AI Solutions
@@ -7,7 +7,7 @@
7
7
 
8
8
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
9
9
 
10
- The version of the OpenAPI document: 0.2.4-dev2
10
+ The version of the OpenAPI document: 0.2.4-dev5
11
11
  Contact: community@determined-ai
12
12
  Generated by OpenAPI Generator (https://openapi-generator.tech)
13
13
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -28,7 +28,7 @@ from pydantic import Field
28
28
  from typing_extensions import Annotated
29
29
  from pydantic import StrictStr
30
30
 
31
- from typing import List
31
+ from typing import List, Optional
32
32
 
33
33
  from aiolirest.models.model_response import ModelResponse
34
34
  from aiolirest.models.success_response import SuccessResponse
@@ -843,6 +843,7 @@ class RegistriesApi:
843
843
  def registries_id_models_get(
844
844
  self,
845
845
  id: Annotated[StrictStr, Field(description="Model Registry ID")],
846
+ modelformat: Annotated[Optional[StrictStr], Field(description="Model Format Type")] = None,
846
847
  _request_timeout: Union[
847
848
  None,
848
849
  Annotated[StrictFloat, Field(gt=0)],
@@ -858,10 +859,12 @@ class RegistriesApi:
858
859
  ) -> List[ModelResponse]:
859
860
  """Get all available models from a registry
860
861
 
861
- Returns an array of all available models from a registry
862
+ Returns an array of all available models from a registry When listing from an openllm registry, specify the modelformat (case sensitive) query parameter to filter the responses to a manageable number. The supported format names for openllm are: [baichuan,chatglm,dolly_v2,falcon,flan_t5, gemma,gpt_neox,llama,mistral,mixtral,mpt,opt,phi,qwen,stablelm,starcoder,yi] The list is from https://github.com/bentoml/OpenLLM?tab=readme-ov-file#-supported-models
862
863
 
863
864
  :param id: Model Registry ID (required)
864
865
  :type id: str
866
+ :param modelformat: Model Format Type
867
+ :type modelformat: str
865
868
  :param _request_timeout: timeout setting for this request. If one
866
869
  number provided, it will be total request
867
870
  timeout. It can also be a pair (tuple) of
@@ -886,6 +889,7 @@ class RegistriesApi:
886
889
 
887
890
  _param = self._registries_id_models_get_serialize(
888
891
  id=id,
892
+ modelformat=modelformat,
889
893
  _request_auth=_request_auth,
890
894
  _content_type=_content_type,
891
895
  _headers=_headers,
@@ -913,6 +917,7 @@ class RegistriesApi:
913
917
  def registries_id_models_get_with_http_info(
914
918
  self,
915
919
  id: Annotated[StrictStr, Field(description="Model Registry ID")],
920
+ modelformat: Annotated[Optional[StrictStr], Field(description="Model Format Type")] = None,
916
921
  _request_timeout: Union[
917
922
  None,
918
923
  Annotated[StrictFloat, Field(gt=0)],
@@ -928,10 +933,12 @@ class RegistriesApi:
928
933
  ) -> ApiResponse[List[ModelResponse]]:
929
934
  """Get all available models from a registry
930
935
 
931
- Returns an array of all available models from a registry
936
+ Returns an array of all available models from a registry When listing from an openllm registry, specify the modelformat (case sensitive) query parameter to filter the responses to a manageable number. The supported format names for openllm are: [baichuan,chatglm,dolly_v2,falcon,flan_t5, gemma,gpt_neox,llama,mistral,mixtral,mpt,opt,phi,qwen,stablelm,starcoder,yi] The list is from https://github.com/bentoml/OpenLLM?tab=readme-ov-file#-supported-models
932
937
 
933
938
  :param id: Model Registry ID (required)
934
939
  :type id: str
940
+ :param modelformat: Model Format Type
941
+ :type modelformat: str
935
942
  :param _request_timeout: timeout setting for this request. If one
936
943
  number provided, it will be total request
937
944
  timeout. It can also be a pair (tuple) of
@@ -956,6 +963,7 @@ class RegistriesApi:
956
963
 
957
964
  _param = self._registries_id_models_get_serialize(
958
965
  id=id,
966
+ modelformat=modelformat,
959
967
  _request_auth=_request_auth,
960
968
  _content_type=_content_type,
961
969
  _headers=_headers,
@@ -983,6 +991,7 @@ class RegistriesApi:
983
991
  def registries_id_models_get_without_preload_content(
984
992
  self,
985
993
  id: Annotated[StrictStr, Field(description="Model Registry ID")],
994
+ modelformat: Annotated[Optional[StrictStr], Field(description="Model Format Type")] = None,
986
995
  _request_timeout: Union[
987
996
  None,
988
997
  Annotated[StrictFloat, Field(gt=0)],
@@ -998,10 +1007,12 @@ class RegistriesApi:
998
1007
  ) -> RESTResponseType:
999
1008
  """Get all available models from a registry
1000
1009
 
1001
- Returns an array of all available models from a registry
1010
+ Returns an array of all available models from a registry When listing from an openllm registry, specify the modelformat (case sensitive) query parameter to filter the responses to a manageable number. The supported format names for openllm are: [baichuan,chatglm,dolly_v2,falcon,flan_t5, gemma,gpt_neox,llama,mistral,mixtral,mpt,opt,phi,qwen,stablelm,starcoder,yi] The list is from https://github.com/bentoml/OpenLLM?tab=readme-ov-file#-supported-models
1002
1011
 
1003
1012
  :param id: Model Registry ID (required)
1004
1013
  :type id: str
1014
+ :param modelformat: Model Format Type
1015
+ :type modelformat: str
1005
1016
  :param _request_timeout: timeout setting for this request. If one
1006
1017
  number provided, it will be total request
1007
1018
  timeout. It can also be a pair (tuple) of
@@ -1026,6 +1037,7 @@ class RegistriesApi:
1026
1037
 
1027
1038
  _param = self._registries_id_models_get_serialize(
1028
1039
  id=id,
1040
+ modelformat=modelformat,
1029
1041
  _request_auth=_request_auth,
1030
1042
  _content_type=_content_type,
1031
1043
  _headers=_headers,
@@ -1048,6 +1060,7 @@ class RegistriesApi:
1048
1060
  def _registries_id_models_get_serialize(
1049
1061
  self,
1050
1062
  id,
1063
+ modelformat,
1051
1064
  _request_auth,
1052
1065
  _content_type,
1053
1066
  _headers,
@@ -1071,6 +1084,10 @@ class RegistriesApi:
1071
1084
  if id is not None:
1072
1085
  _path_params['id'] = id
1073
1086
  # process the query parameters
1087
+ if modelformat is not None:
1088
+
1089
+ _query_params.append(('modelformat', modelformat))
1090
+
1074
1091
  # process the header parameters
1075
1092
  # process the form parameters
1076
1093
  # process the body parameter
@@ -1409,7 +1426,7 @@ class RegistriesApi:
1409
1426
  ) -> TrainedModelRegistry:
1410
1427
  """Create a new model registry.
1411
1428
 
1412
- A packaged model registry provides the necessary metadata to access and download a model. Download is suported from S3 storage servers, OpenLLM models from huggingface.co, or NGC models from Nvidia NGC: AI Development Catalog.
1429
+ A packaged model registry provides the necessary metadata to access and download a model. Download is suported from S3 storage servers, OpenLLM models from huggingface.co, or NGC models from NVIDIA NGC: AI Development Catalog.
1413
1430
 
1414
1431
  :param trained_model_registry: Model Registry Data (required)
1415
1432
  :type trained_model_registry: TrainedModelRegistryRequest
@@ -1479,7 +1496,7 @@ class RegistriesApi:
1479
1496
  ) -> ApiResponse[TrainedModelRegistry]:
1480
1497
  """Create a new model registry.
1481
1498
 
1482
- A packaged model registry provides the necessary metadata to access and download a model. Download is suported from S3 storage servers, OpenLLM models from huggingface.co, or NGC models from Nvidia NGC: AI Development Catalog.
1499
+ A packaged model registry provides the necessary metadata to access and download a model. Download is suported from S3 storage servers, OpenLLM models from huggingface.co, or NGC models from NVIDIA NGC: AI Development Catalog.
1483
1500
 
1484
1501
  :param trained_model_registry: Model Registry Data (required)
1485
1502
  :type trained_model_registry: TrainedModelRegistryRequest
@@ -1549,7 +1566,7 @@ class RegistriesApi:
1549
1566
  ) -> RESTResponseType:
1550
1567
  """Create a new model registry.
1551
1568
 
1552
- A packaged model registry provides the necessary metadata to access and download a model. Download is suported from S3 storage servers, OpenLLM models from huggingface.co, or NGC models from Nvidia NGC: AI Development Catalog.
1569
+ A packaged model registry provides the necessary metadata to access and download a model. Download is suported from S3 storage servers, OpenLLM models from huggingface.co, or NGC models from NVIDIA NGC: AI Development Catalog.
1553
1570
 
1554
1571
  :param trained_model_registry: Model Registry Data (required)
1555
1572
  :type trained_model_registry: TrainedModelRegistryRequest
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -389,7 +389,7 @@ conf = aiolirest.Configuration(
389
389
  return "Python SDK Debug Report:\n"\
390
390
  "OS: {env}\n"\
391
391
  "Python Version: {pyversion}\n"\
392
- "Version of the API: 0.2.4-dev2\n"\
392
+ "Version of the API: 0.2.4-dev5\n"\
393
393
  "SDK Package Version: 1.0.0".\
394
394
  format(env=sys.platform, pyversion=sys.version)
395
395
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -6,7 +6,7 @@
6
6
 
7
7
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
8
8
 
9
- The version of the OpenAPI document: 0.2.4-dev2
9
+ The version of the OpenAPI document: 0.2.4-dev5
10
10
  Contact: community@determined-ai
11
11
  Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -36,10 +36,10 @@ class DeploymentModelVersion(BaseModel):
36
36
  deployment_id: Optional[StrictStr] = Field(default=None, description="The deployment ID", alias="deploymentId")
37
37
  deployment_name: Optional[StrictStr] = Field(default=None, description="The deployment name", alias="deploymentName")
38
38
  model: Optional[StrictStr] = Field(default=None, description="The name of the model.")
39
- mdl_id: Optional[StrictStr] = Field(default=None, description="The ID of the model.", alias="modelID")
39
+ mdl_id: Optional[StrictStr] = Field(default=None, description="The ID of the model.", alias="modelId")
40
40
  mdl_version: Optional[StrictStr] = Field(default=None, description="The version of the model.", alias="modelVersion")
41
41
  native_app_name: Optional[StrictStr] = Field(default=None, description="The name of the Kubernetes application for the specific service version. Use this name to match the app value in Grafana/Prometheus to obtain logs and metrics for this deployed service version.", alias="nativeAppName")
42
- __properties: ClassVar[List[str]] = ["canaryTrafficPercent", "deployed", "deploymentId", "deploymentName", "model", "modelID", "modelVersion", "nativeAppName"]
42
+ __properties: ClassVar[List[str]] = ["canaryTrafficPercent", "deployed", "deploymentId", "deploymentName", "model", "modelId", "modelVersion", "nativeAppName"]
43
43
 
44
44
  model_config = {
45
45
  "populate_by_name": True,
@@ -94,7 +94,7 @@ class DeploymentModelVersion(BaseModel):
94
94
  "deploymentId": obj.get("deploymentId"),
95
95
  "deploymentName": obj.get("deploymentName"),
96
96
  "model": obj.get("model"),
97
- "modelID": obj.get("modelID"),
97
+ "modelId": obj.get("modelId"),
98
98
  "modelVersion": obj.get("modelVersion"),
99
99
  "nativeAppName": obj.get("nativeAppName")
100
100
  })
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -34,10 +34,11 @@ class DeploymentState(BaseModel):
34
34
  """ # noqa: E501
35
35
  endpoint: Optional[StrictStr] = Field(default=None, description="Endpoint to access inference service.")
36
36
  failure_info: Optional[List[FailureInfo]] = Field(default=None, description="List of any failures that have occurred.", alias="failureInfo")
37
+ mdl_id: Optional[StrictStr] = Field(default=None, description="The ID of the deployed packaged model associcated with this state.", alias="modelId")
37
38
  native_app_name: Optional[StrictStr] = Field(default=None, description="The name of the Kubernetes application for the specific service version. Use this name to match the app value in Grafana/Prometheus to obtain logs and metrics for this deployed service version.", alias="nativeAppName")
38
39
  status: Optional[StrictStr] = Field(default=None, description="Status of a particular service revision. * `Deploying` - Service configuration is in progress. * `Failed` - The service configuration failed. * `Ready` - The service has been successfully configured and is serving. * `Updating` - A new service revision is being rolledout. * `UpdateFailed` - The current service revision failed to rollout due to an error. The prior version is still serving requests. * `Deleting` - The deployed service is being removed. * `Paused` - The deployed service has been stopped by the user or an external action. * `Unknown` - Unable to determined the status. This is a read-only property. Must be one of the values: (Deploying,Ready,Updating,UpdateFailed,Failed,Deleting,Paused,Unknown).")
39
40
  traffic_percentage: Optional[StrictInt] = Field(default=None, description="Target percentage of traffic intended for this service version when successfully deployed.", alias="trafficPercentage")
40
- __properties: ClassVar[List[str]] = ["endpoint", "failureInfo", "nativeAppName", "status", "trafficPercentage"]
41
+ __properties: ClassVar[List[str]] = ["endpoint", "failureInfo", "modelId", "nativeAppName", "status", "trafficPercentage"]
41
42
 
42
43
  model_config = {
43
44
  "populate_by_name": True,
@@ -96,6 +97,7 @@ class DeploymentState(BaseModel):
96
97
  _obj = cls.model_validate({
97
98
  "endpoint": obj.get("endpoint"),
98
99
  "failureInfo": [FailureInfo.from_dict(_item) for _item in obj.get("failureInfo")] if obj.get("failureInfo") is not None else None,
100
+ "modelId": obj.get("modelId"),
99
101
  "nativeAppName": obj.get("nativeAppName"),
100
102
  "status": obj.get("status"),
101
103
  "trafficPercentage": obj.get("trafficPercentage")
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -37,8 +37,9 @@ class ModelResponse(BaseModel):
37
37
  latest_version_id_str: Optional[StrictStr] = Field(default=None, description="The latest version of the model", alias="latestVersionIdStr")
38
38
  latest_version_size_in_bytes: Optional[StrictInt] = Field(default=None, description="The number of bytes for the latest model", alias="latestVersionSizeInBytes")
39
39
  metadata: Optional[Dict[str, StrictStr]] = Field(default=None, description="Extra argument in case more variables need to be stored.")
40
+ format: Optional[StrictStr] = Field(default=None, description="The format of the model", alias="modelFormat")
40
41
  name: Optional[StrictStr] = Field(default=None, description="The name used in model specification")
41
- __properties: ClassVar[List[str]] = ["description", "displayName", "image", "latestVersionIdStr", "latestVersionSizeInBytes", "metadata", "name"]
42
+ __properties: ClassVar[List[str]] = ["description", "displayName", "image", "latestVersionIdStr", "latestVersionSizeInBytes", "metadata", "modelFormat", "name"]
42
43
 
43
44
  model_config = {
44
45
  "populate_by_name": True,
@@ -94,6 +95,7 @@ class ModelResponse(BaseModel):
94
95
  "latestVersionIdStr": obj.get("latestVersionIdStr"),
95
96
  "latestVersionSizeInBytes": obj.get("latestVersionSizeInBytes"),
96
97
  "metadata": obj.get("metadata"),
98
+ "modelFormat": obj.get("modelFormat"),
97
99
  "name": obj.get("name")
98
100
  })
99
101
  return _obj
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -37,12 +37,12 @@ class PackagedModel(BaseModel):
37
37
  environment: Optional[Dict[str, StrictStr]] = Field(default=None, description="Environment variables added to the service")
38
38
  id: Optional[StrictStr] = Field(default=None, description="The ID of the model. This is a read-only field and is automatically assigned on creation.")
39
39
  image: Optional[StrictStr] = Field(default=None, description="Docker container image servicing the model.")
40
- format: Optional[StrictStr] = Field(default='custom', description="Model format for downloaded models (e.g. from s3, http, etc.). Must be one of the values: (bento-archive, openllm, nim, custom). * `custom` - The packaged model is provided in a container image. * `bento-archive` - The packaged model is a bento archive file (.bento). It will be downloaded, expanded, and then will be served using the `bentolm serve` command in a provided bentoml serving container. * `openllm` - The packaged model will be served using the `openllm serve` command in a provided openllm serving container. * `nim` - The packaged model will be served using an Nvidia NIM microservices container.", alias="modelFormat")
40
+ format: Optional[StrictStr] = Field(default='custom', description="Model format for downloaded models (e.g. from s3, http, etc.). Must be one of the values: (bento-archive, openllm, nim, custom). * `custom` - The packaged model is provided in a container image. * `bento-archive` - The packaged model is a bento archive file (.bento). It will be downloaded, expanded, and then will be served using the `bentolm serve` command in a provided bentoml serving container. * `openllm` - The packaged model will be served using the `openllm serve` command in a provided openllm serving container. * `nim` - The packaged model will be served using the specified NVIDIA NIM microservices container image.", alias="modelFormat")
41
41
  modified_at: Optional[StrictStr] = Field(default=None, description="Date-time of last modification of the model. This is a read-only field and is automatically updated.", alias="modifiedAt")
42
42
  name: StrictStr = Field(description="The name of the model. Must begin with a letter, but may contain letters, numbers, and hyphen.")
43
43
  registry: Optional[StrictStr] = Field(default=None, description="The name or ID of the model registry.")
44
44
  resources: Optional[ConfigurationResources] = None
45
- url: Optional[StrictStr] = Field(default=None, description="Reference to the bento or model to be served. Supported schemes are: * `openllm://` - An openllm model name from huggingface.co dynamically loaded and executed with a VLLM backend. * `s3://` - An openllm model path which will be dynamically downloaded from an associated s3 registry bucket and executed with a VLLM backend.")
45
+ url: Optional[StrictStr] = Field(default=None, description="Reference to the bento or model to be served. Supported schemes are: * `openllm://` - An openllm model name from huggingface.co dynamically loaded and executed with a VLLM backend. * `s3://` - An openllm model path which will be dynamically downloaded from an associated s3 registry bucket and executed with a VLLM backend. * `ngc://` - An NVIDIA NGC model will be dynamically downloaded from the associated `ngc` registry bucket and executed with the specified NVIDIA NIM microservices container image.")
46
46
  version: Optional[StrictInt] = Field(default=None, description="The version of the model. This is a read-only field and is automatically assigned on creation.")
47
47
  __properties: ClassVar[List[str]] = ["arguments", "description", "environment", "id", "image", "modelFormat", "modifiedAt", "name", "registry", "resources", "url", "version"]
48
48
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -35,12 +35,12 @@ class PackagedModelRequest(BaseModel):
35
35
  arguments: Optional[List[StrictStr]] = Field(default=None, description="Arguments to be added to the service command line")
36
36
  description: Optional[StrictStr] = Field(default=None, description="A description of the model.")
37
37
  environment: Optional[Dict[str, StrictStr]] = Field(default=None, description="Environment variables added to the service")
38
- image: Optional[StrictStr] = Field(default=None, description="Docker container image servicing the model.")
39
- format: Optional[StrictStr] = Field(default='custom', description="Model format for downloaded models (e.g. from s3, http, etc.). Must be one of the values: (bento-archive, openllm, nim, custom). * `custom` - The packaged model is provided in a container image. * `bento-archive` - The packaged model is a bento archive file (.bento). It will be downloaded, expanded, and then will be served using the `bentolm serve` command in a provided bentoml serving container. * `openllm` - The packaged model will be served using the `openllm serve` command in a provided openllm serving container. * `nim` - The packaged model will be servied using an Nvidia NIM microservices container.", alias="modelFormat")
38
+ image: Optional[StrictStr] = Field(default=None, description="Docker container image servicing the model. This is required for a 'nim' model format.")
39
+ format: Optional[StrictStr] = Field(default='custom', description="Model format for downloaded models (e.g. from s3, http, etc.). Must be one of the values: (bento-archive, openllm, nim, custom). * `custom` - The packaged model is provided in a container image. * `bento-archive` - The packaged model is a bento archive file (.bento). It will be downloaded, expanded, and then will be served using the `bentolm serve` command in a provided bentoml serving container. * `openllm` - The packaged model will be served using the `openllm serve` command in a provided openllm serving container. * `nim` - The packaged model will be served using the specified NVIDIA NIM microservices container image.", alias="modelFormat")
40
40
  name: StrictStr = Field(description="The name of the model. Must consist of alphanumeric characters, '-', or '.', and must start and end with an alphanumeric character. The length of the model name must be 63 characters or less.")
41
41
  registry: Optional[StrictStr] = Field(default=None, description="The name or ID of the model registry.")
42
42
  resources: Optional[ConfigurationResources] = None
43
- url: Optional[StrictStr] = Field(default=None, description="Reference to the bento or model to be served. Supported schemes are: * `openllm://` - An openllm model name from huggingface.co dynamically loaded and executed with a VLLM backend. * `s3://` - An openllm model path which will be dynamically downloaded from an associated s3 registry bucket and executed with a VLLM backend.")
43
+ url: Optional[StrictStr] = Field(default=None, description="Reference to the bento or model to be served. Supported schemes are: * `openllm://` - An openllm model name from huggingface.co dynamically loaded and executed with a VLLM backend. * `s3://` - An openllm model path which will be dynamically downloaded from an associated s3 registry bucket and executed with a VLLM backend. * `ngc://` - An NVIDIA NGC model will be dynamically downloaded from the associated `ngc` registry bucket and executed with the specified NVIDIA NIM microservices container image.")
44
44
  __properties: ClassVar[List[str]] = ["arguments", "description", "environment", "image", "modelFormat", "name", "registry", "resources", "url"]
45
45
 
46
46
  model_config = {
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -20,7 +20,7 @@ import json
20
20
 
21
21
 
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
- from pydantic import BaseModel, StrictStr
23
+ from pydantic import BaseModel, StrictBool, StrictStr
24
24
  from pydantic import Field
25
25
  try:
26
26
  from typing import Self
@@ -35,11 +35,12 @@ class TrainedModelRegistry(BaseModel):
35
35
  bucket: Optional[StrictStr] = Field(default=None, description="The bucket or organization name. * `s3` - The required S3 bucket name. * `ngc` - The required NGC org name.")
36
36
  endpoint_url: Optional[StrictStr] = Field(default=None, description="The registry endpoint (host): * `s3` - The S3 registry endpoint. Required. * `openllm` - The huggingface.co-compatible endpoint (default https://huggingface.co). * `ngc` - The NVIDIA NGC-compatible api endpoint (default https://api.ngc.nvidia.com).", alias="endpointUrl")
37
37
  id: Optional[StrictStr] = Field(default=None, description="The ID of the model registry. This is a read-only field and is automatically assigned on creation.")
38
+ insecure_https: Optional[StrictBool] = Field(default=None, description="For https endpoints, the server certificate will be accepted without validation.", alias="insecureHttps")
38
39
  modified_at: Optional[StrictStr] = Field(default=None, description="Date-time of last modification of the registry. This is a read-only field and is automatically updated.", alias="modifiedAt")
39
40
  name: StrictStr = Field(description="The name of the registry. Must begin with a letter, but may contain letters, numbers, and hyphen.")
40
41
  secret_key: StrictStr = Field(description="The secret key is the password, secret key, or access token for the registry. * `s3` - The secret key for the S3 bucket. * `openllm` - The access token for huggingface.co and is supplied to the launched container via the `HF_TOKEN` environment variable.bucket. * `ngc` - The NVIDIA NGC apikey.", alias="secretKey")
41
42
  type: StrictStr = Field(description="The type of this model registry. Must be one of the values: (s3, http, openllm, ngc). * `s3` - Configuration to enable access to an s3 bucket. * `openllm` - Configuration to enable direct download of OpenLLM models from huggingface.co. Provide your access token in the `secretKey` field. * `ngc` - Configuration to enable direct download from the NVIDA NGC: AI Development Catalog. * `http` - Not yet supported. Configuration to enable model download from a protected http endpoint that requires login.")
42
- __properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "id", "modifiedAt", "name", "secretKey", "type"]
43
+ __properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "id", "insecureHttps", "modifiedAt", "name", "secretKey", "type"]
43
44
 
44
45
  model_config = {
45
46
  "populate_by_name": True,
@@ -93,6 +94,7 @@ class TrainedModelRegistry(BaseModel):
93
94
  "bucket": obj.get("bucket"),
94
95
  "endpointUrl": obj.get("endpointUrl"),
95
96
  "id": obj.get("id"),
97
+ "insecureHttps": obj.get("insecureHttps"),
96
98
  "modifiedAt": obj.get("modifiedAt"),
97
99
  "name": obj.get("name"),
98
100
  "secretKey": obj.get("secretKey"),
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -20,7 +20,7 @@ import json
20
20
 
21
21
 
22
22
  from typing import Any, ClassVar, Dict, List, Optional
23
- from pydantic import BaseModel, StrictStr
23
+ from pydantic import BaseModel, StrictBool, StrictStr
24
24
  from pydantic import Field
25
25
  try:
26
26
  from typing import Self
@@ -34,11 +34,12 @@ class TrainedModelRegistryRequest(BaseModel):
34
34
  access_key: Optional[StrictStr] = Field(default=None, description="The access key, username or team name for the registry. * `s3` - The access key/username. * `ngc` - The optional NGC team name.", alias="accessKey")
35
35
  bucket: Optional[StrictStr] = Field(default=None, description="The bucket or organization name. * `s3` - The required S3 bucket name. * `ngc` - The required NGC org name.")
36
36
  endpoint_url: Optional[StrictStr] = Field(default=None, description="The registry endpoint (host): * `s3` - The S3 registry endpoint. Required. * `openllm` - The huggingface.co-compatible endpoint (default https://huggingface.co). * `ngc` - The NVIDIA NGC-compatible api endpoint (default https://api.ngc.nvidia.com).", alias="endpointUrl")
37
+ insecure_https: Optional[StrictBool] = Field(default=None, description="For https endpoints, the server certificate will be accepted without validation.", alias="insecureHttps")
37
38
  modified_at: Optional[StrictStr] = Field(default=None, description="Date-time of last modification of the registry. This is a read-only field and is automatically updated.", alias="modifiedAt")
38
39
  name: StrictStr = Field(description="The name of the registry. Must begin with a letter, but may contain letters, numbers, and hyphen.")
39
40
  secret_key: StrictStr = Field(description="The secret key is the password, secret key, or access token for the registry. * `s3` - The secret key for the S3 bucket. * `openllm` - The access token for huggingface.co and is supplied to the launched container via the `HF_TOKEN` environment variable.bucket. * `ngc` - The requied NVIDIA NGC apikey.", alias="secretKey")
40
41
  type: StrictStr = Field(description="The type of this model registry. Must be one of the values: (s3, http, openllm, ngc). * `s3` - Configuration to enable access to an s3 bucket. * `openllm` - Configuration to enable direct download of OpenLLM models from huggingface.co. Provide your access token in the `secretKey` field. * `ngc` - Configuration to enable direct download from the NVIDA NGC: AI Development Catalog. * `http` - Not yet supported. Configuration to enable model download from a protected http endpoint that requires login.")
41
- __properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "modifiedAt", "name", "secretKey", "type"]
42
+ __properties: ClassVar[List[str]] = ["accessKey", "bucket", "endpointUrl", "insecureHttps", "modifiedAt", "name", "secretKey", "type"]
42
43
 
43
44
  model_config = {
44
45
  "populate_by_name": True,
@@ -91,6 +92,7 @@ class TrainedModelRegistryRequest(BaseModel):
91
92
  "accessKey": obj.get("accessKey"),
92
93
  "bucket": obj.get("bucket"),
93
94
  "endpointUrl": obj.get("endpointUrl"),
95
+ "insecureHttps": obj.get("insecureHttps"),
94
96
  "modifiedAt": obj.get("modifiedAt"),
95
97
  "name": obj.get("name"),
96
98
  "secretKey": obj.get("secretKey"),
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  HPE MLIS is *Aioli* -- The AI On-line Inference Platform that enables easy deployment, tracking, and serving of your packaged models regardless of your preferred AI framework.
7
7
 
8
- The version of the OpenAPI document: 0.2.4-dev2
8
+ The version of the OpenAPI document: 0.2.4-dev5
9
9
  Contact: community@determined-ai
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -6,7 +6,7 @@ with open("README.md", "r") as readme:
6
6
 
7
7
  setuptools.setup(
8
8
  name="aioli-sdk",
9
- version="0.2.4-dev2",
9
+ version="0.2.4-dev5",
10
10
  author="HPE AI Solutions",
11
11
  # author_email="hello@determined.ai",
12
12
  url="https://github.com/determined-ai/aioli",
File without changes
File without changes