truefoundry 0.4.10__py3-none-any.whl → 0.5.0__py3-none-any.whl

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.

Potentially problematic release.


This version of truefoundry might be problematic. Click here for more details.

Files changed (76) hide show
  1. truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +2 -2
  2. truefoundry/deploy/lib/dao/application.py +2 -1
  3. truefoundry/ml/__init__.py +41 -1
  4. truefoundry/ml/autogen/client/__init__.py +44 -14
  5. truefoundry/ml/autogen/client/api/__init__.py +3 -3
  6. truefoundry/ml/autogen/client/api/deprecated_api.py +333 -0
  7. truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +526 -0
  8. truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +0 -322
  9. truefoundry/ml/autogen/client/api_client.py +8 -1
  10. truefoundry/ml/autogen/client/models/__init__.py +41 -11
  11. truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +3 -17
  12. truefoundry/ml/autogen/client/models/agent.py +1 -1
  13. truefoundry/ml/autogen/client/models/agent_app.py +1 -1
  14. truefoundry/ml/autogen/client/models/agent_open_api_tool.py +1 -1
  15. truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +1 -1
  16. truefoundry/ml/autogen/client/models/agent_with_fqn.py +1 -1
  17. truefoundry/ml/autogen/client/models/artifact_version_dto.py +3 -5
  18. truefoundry/ml/autogen/client/models/artifact_version_manifest.py +111 -0
  19. truefoundry/ml/autogen/client/models/assistant_message.py +1 -1
  20. truefoundry/ml/autogen/client/models/blob_storage_reference.py +1 -1
  21. truefoundry/ml/autogen/client/models/chat_prompt.py +1 -1
  22. truefoundry/ml/autogen/client/models/command.py +152 -0
  23. truefoundry/ml/autogen/client/models/{feature_dto.py → create_workflow_task_config_request_dto.py} +18 -14
  24. truefoundry/ml/autogen/client/models/{external_model_source.py → external_artifact_source.py} +12 -11
  25. truefoundry/ml/autogen/client/models/fast_ai_framework.py +75 -0
  26. truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +3 -5
  27. truefoundry/ml/autogen/client/models/framework.py +250 -14
  28. truefoundry/ml/autogen/client/models/gluon_framework.py +74 -0
  29. truefoundry/ml/autogen/client/models/{upload_model_source.py → h2_o_framework.py} +11 -11
  30. truefoundry/ml/autogen/client/models/image_content_part.py +1 -1
  31. truefoundry/ml/autogen/client/models/keras_framework.py +74 -0
  32. truefoundry/ml/autogen/client/models/light_gbm_framework.py +75 -0
  33. truefoundry/ml/autogen/client/models/manifest.py +154 -0
  34. truefoundry/ml/autogen/client/models/model_version_dto.py +7 -8
  35. truefoundry/ml/autogen/client/models/model_version_environment.py +97 -0
  36. truefoundry/ml/autogen/client/models/model_version_manifest.py +30 -6
  37. truefoundry/ml/autogen/client/models/onnx_framework.py +74 -0
  38. truefoundry/ml/autogen/client/models/paddle_framework.py +75 -0
  39. truefoundry/ml/autogen/client/models/py_torch_framework.py +75 -0
  40. truefoundry/ml/autogen/client/models/{feature_value_type.py → serialization_format.py} +8 -8
  41. truefoundry/ml/autogen/client/models/sklearn_framework.py +92 -0
  42. truefoundry/ml/autogen/client/models/source.py +23 -46
  43. truefoundry/ml/autogen/client/models/source1.py +154 -0
  44. truefoundry/ml/autogen/client/models/spa_cy_framework.py +74 -0
  45. truefoundry/ml/autogen/client/models/stats_models_framework.py +75 -0
  46. truefoundry/ml/autogen/client/models/system_message.py +1 -1
  47. truefoundry/ml/autogen/client/models/{tensorflow_framework.py → tensor_flow_framework.py} +11 -10
  48. truefoundry/ml/autogen/client/models/text_content_part.py +1 -1
  49. truefoundry/ml/autogen/client/models/transformers_framework.py +10 -4
  50. truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +90 -0
  51. truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +71 -0
  52. truefoundry/ml/autogen/client/models/{truefoundry_model_source.py → true_foundry_artifact_source.py} +13 -11
  53. truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +11 -1
  54. truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +1 -13
  55. truefoundry/ml/autogen/client/models/user_message.py +1 -1
  56. truefoundry/ml/autogen/client/models/xg_boost_framework.py +92 -0
  57. truefoundry/ml/autogen/client_README.md +30 -12
  58. truefoundry/ml/autogen/entities/artifacts.py +87 -9
  59. truefoundry/ml/autogen/models/__init__.py +4 -0
  60. truefoundry/ml/autogen/models/exceptions.py +30 -0
  61. truefoundry/ml/autogen/models/schema.py +1547 -0
  62. truefoundry/ml/autogen/models/signature.py +139 -0
  63. truefoundry/ml/autogen/models/utils.py +699 -0
  64. truefoundry/ml/log_types/artifacts/artifact.py +131 -63
  65. truefoundry/ml/log_types/artifacts/general_artifact.py +7 -26
  66. truefoundry/ml/log_types/artifacts/model.py +195 -197
  67. truefoundry/ml/mlfoundry_api.py +47 -52
  68. truefoundry/ml/mlfoundry_run.py +35 -43
  69. truefoundry/ml/model_framework.py +169 -0
  70. {truefoundry-0.4.10.dist-info → truefoundry-0.5.0.dist-info}/METADATA +1 -1
  71. {truefoundry-0.4.10.dist-info → truefoundry-0.5.0.dist-info}/RECORD +73 -51
  72. truefoundry/ml/autogen/client/api/python_deployment_config_api.py +0 -201
  73. truefoundry/ml/autogen/client/models/model_schema_dto.py +0 -85
  74. truefoundry/ml/autogen/client/models/prediction_type.py +0 -34
  75. {truefoundry-0.4.10.dist-info → truefoundry-0.5.0.dist-info}/WHEEL +0 -0
  76. {truefoundry-0.4.10.dist-info → truefoundry-0.5.0.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,90 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ FastAPI
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ from __future__ import annotations
15
+
16
+ import json
17
+ import pprint
18
+ import re # noqa: F401
19
+ from typing import Dict, Optional
20
+
21
+ from truefoundry.ml.autogen.client.models.command import Command
22
+ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr
23
+
24
+
25
+ class TriggerJobRunConfigRequestDto(BaseModel):
26
+ """
27
+ TriggerJobRunConfigRequestDto
28
+ """
29
+
30
+ control_plane_url: StrictStr = Field(...)
31
+ application_fqn: StrictStr = Field(...)
32
+ application_id: StrictStr = Field(...)
33
+ command: Optional[Command] = None
34
+ params: Optional[Dict[str, StrictStr]] = None
35
+ __properties = [
36
+ "control_plane_url",
37
+ "application_fqn",
38
+ "application_id",
39
+ "command",
40
+ "params",
41
+ ]
42
+
43
+ class Config:
44
+ """Pydantic configuration"""
45
+
46
+ allow_population_by_field_name = True
47
+ validate_assignment = True
48
+
49
+ def to_str(self) -> str:
50
+ """Returns the string representation of the model using alias"""
51
+ return pprint.pformat(self.dict(by_alias=True))
52
+
53
+ def to_json(self) -> str:
54
+ """Returns the JSON representation of the model using alias"""
55
+ return json.dumps(self.to_dict())
56
+
57
+ @classmethod
58
+ def from_json(cls, json_str: str) -> TriggerJobRunConfigRequestDto:
59
+ """Create an instance of TriggerJobRunConfigRequestDto from a JSON string"""
60
+ return cls.from_dict(json.loads(json_str))
61
+
62
+ def to_dict(self):
63
+ """Returns the dictionary representation of the model using alias"""
64
+ _dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
65
+ # override the default output from truefoundry.pydantic_v1 by calling `to_dict()` of command
66
+ if self.command:
67
+ _dict["command"] = self.command.to_dict()
68
+ return _dict
69
+
70
+ @classmethod
71
+ def from_dict(cls, obj: dict) -> TriggerJobRunConfigRequestDto:
72
+ """Create an instance of TriggerJobRunConfigRequestDto from a dict"""
73
+ if obj is None:
74
+ return None
75
+
76
+ if not isinstance(obj, dict):
77
+ return TriggerJobRunConfigRequestDto.parse_obj(obj)
78
+
79
+ _obj = TriggerJobRunConfigRequestDto.parse_obj(
80
+ {
81
+ "control_plane_url": obj.get("control_plane_url"),
82
+ "application_fqn": obj.get("application_fqn"),
83
+ "application_id": obj.get("application_id"),
84
+ "command": Command.from_dict(obj.get("command"))
85
+ if obj.get("command") is not None
86
+ else None,
87
+ "params": obj.get("params"),
88
+ }
89
+ )
90
+ return _obj
@@ -0,0 +1,71 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ FastAPI
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ from __future__ import annotations
15
+
16
+ import json
17
+ import pprint
18
+ import re # noqa: F401
19
+
20
+ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr
21
+
22
+
23
+ class TriggerJobRunConfigResponseDto(BaseModel):
24
+ """
25
+ TriggerJobRunConfigResponseDto
26
+ """
27
+
28
+ python_code_snippet: StrictStr = Field(...)
29
+ curl_code_snippet: StrictStr = Field(...)
30
+ __properties = ["python_code_snippet", "curl_code_snippet"]
31
+
32
+ class Config:
33
+ """Pydantic configuration"""
34
+
35
+ allow_population_by_field_name = True
36
+ validate_assignment = True
37
+
38
+ def to_str(self) -> str:
39
+ """Returns the string representation of the model using alias"""
40
+ return pprint.pformat(self.dict(by_alias=True))
41
+
42
+ def to_json(self) -> str:
43
+ """Returns the JSON representation of the model using alias"""
44
+ return json.dumps(self.to_dict())
45
+
46
+ @classmethod
47
+ def from_json(cls, json_str: str) -> TriggerJobRunConfigResponseDto:
48
+ """Create an instance of TriggerJobRunConfigResponseDto from a JSON string"""
49
+ return cls.from_dict(json.loads(json_str))
50
+
51
+ def to_dict(self):
52
+ """Returns the dictionary representation of the model using alias"""
53
+ _dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
54
+ return _dict
55
+
56
+ @classmethod
57
+ def from_dict(cls, obj: dict) -> TriggerJobRunConfigResponseDto:
58
+ """Create an instance of TriggerJobRunConfigResponseDto from a dict"""
59
+ if obj is None:
60
+ return None
61
+
62
+ if not isinstance(obj, dict):
63
+ return TriggerJobRunConfigResponseDto.parse_obj(obj)
64
+
65
+ _obj = TriggerJobRunConfigResponseDto.parse_obj(
66
+ {
67
+ "python_code_snippet": obj.get("python_code_snippet"),
68
+ "curl_code_snippet": obj.get("curl_code_snippet"),
69
+ }
70
+ )
71
+ return _obj
@@ -20,23 +20,25 @@ import re # noqa: F401
20
20
  from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
21
21
 
22
22
 
23
- class TruefoundryModelSource(BaseModel):
23
+ class TrueFoundryArtifactSource(BaseModel):
24
24
  """
25
- +docs=Describes the source for the Model +usage=Source for the Model +label=Model Source # noqa: E501
25
+ +usage=Source for the Artifact or Model +label=Upload # noqa: E501
26
26
  """
27
27
 
28
28
  type: StrictStr = Field(
29
- default=..., description="+label=Type +usage=Type of the source"
29
+ default=...,
30
+ description="+usage=Type of the source +type=Upload +value=truefoundry +label=Upload",
30
31
  )
31
32
  uri: StrictStr = Field(
32
- default=..., description="+label=URI +usage=URI of the model source"
33
+ default=...,
34
+ description='+label=URI +uiType=ModelUploadInput +uiProps={"hideClear":true}',
33
35
  )
34
36
  __properties = ["type", "uri"]
35
37
 
36
38
  @validator("type")
37
39
  def type_validate_enum(cls, value):
38
40
  """Validates the enum"""
39
- if value not in ("truefoundry"):
41
+ if value not in ("truefoundry",):
40
42
  raise ValueError("must be one of enum values ('truefoundry')")
41
43
  return value
42
44
 
@@ -55,8 +57,8 @@ class TruefoundryModelSource(BaseModel):
55
57
  return json.dumps(self.to_dict())
56
58
 
57
59
  @classmethod
58
- def from_json(cls, json_str: str) -> TruefoundryModelSource:
59
- """Create an instance of TruefoundryModelSource from a JSON string"""
60
+ def from_json(cls, json_str: str) -> TrueFoundryArtifactSource:
61
+ """Create an instance of TrueFoundryArtifactSource from a JSON string"""
60
62
  return cls.from_dict(json.loads(json_str))
61
63
 
62
64
  def to_dict(self):
@@ -65,15 +67,15 @@ class TruefoundryModelSource(BaseModel):
65
67
  return _dict
66
68
 
67
69
  @classmethod
68
- def from_dict(cls, obj: dict) -> TruefoundryModelSource:
69
- """Create an instance of TruefoundryModelSource from a dict"""
70
+ def from_dict(cls, obj: dict) -> TrueFoundryArtifactSource:
71
+ """Create an instance of TrueFoundryArtifactSource from a dict"""
70
72
  if obj is None:
71
73
  return None
72
74
 
73
75
  if not isinstance(obj, dict):
74
- return TruefoundryModelSource.parse_obj(obj)
76
+ return TrueFoundryArtifactSource.parse_obj(obj)
75
77
 
76
- _obj = TruefoundryModelSource.parse_obj(
78
+ _obj = TrueFoundryArtifactSource.parse_obj(
77
79
  {"type": obj.get("type"), "uri": obj.get("uri")}
78
80
  )
79
81
  return _obj
@@ -18,6 +18,9 @@ import pprint
18
18
  import re # noqa: F401
19
19
  from typing import Any, Dict, Optional
20
20
 
21
+ from truefoundry.ml.autogen.client.models.artifact_version_manifest import (
22
+ ArtifactVersionManifest,
23
+ )
21
24
  from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr
22
25
 
23
26
 
@@ -29,7 +32,8 @@ class UpdateArtifactVersionRequestDto(BaseModel):
29
32
  id: StrictStr = Field(...)
30
33
  description: Optional[StrictStr] = None
31
34
  artifact_metadata: Optional[Dict[str, Any]] = None
32
- __properties = ["id", "description", "artifact_metadata"]
35
+ manifest: Optional[ArtifactVersionManifest] = None
36
+ __properties = ["id", "description", "artifact_metadata", "manifest"]
33
37
 
34
38
  class Config:
35
39
  """Pydantic configuration"""
@@ -53,6 +57,9 @@ class UpdateArtifactVersionRequestDto(BaseModel):
53
57
  def to_dict(self):
54
58
  """Returns the dictionary representation of the model using alias"""
55
59
  _dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
60
+ # override the default output from truefoundry.pydantic_v1 by calling `to_dict()` of manifest
61
+ if self.manifest:
62
+ _dict["manifest"] = self.manifest.to_dict()
56
63
  return _dict
57
64
 
58
65
  @classmethod
@@ -69,6 +76,9 @@ class UpdateArtifactVersionRequestDto(BaseModel):
69
76
  "id": obj.get("id"),
70
77
  "description": obj.get("description"),
71
78
  "artifact_metadata": obj.get("artifact_metadata"),
79
+ "manifest": ArtifactVersionManifest.from_dict(obj.get("manifest"))
80
+ if obj.get("manifest") is not None
81
+ else None,
72
82
  }
73
83
  )
74
84
  return _obj
@@ -18,11 +18,10 @@ import pprint
18
18
  import re # noqa: F401
19
19
  from typing import Any, Dict, Optional
20
20
 
21
- from truefoundry.ml.autogen.client.models.model_schema_dto import ModelSchemaDto
22
21
  from truefoundry.ml.autogen.client.models.model_version_manifest import (
23
22
  ModelVersionManifest,
24
23
  )
25
- from truefoundry.pydantic_v1 import BaseModel, Field, StrictBool, StrictStr
24
+ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr
26
25
 
27
26
 
28
27
  class UpdateModelVersionRequestDto(BaseModel):
@@ -33,16 +32,12 @@ class UpdateModelVersionRequestDto(BaseModel):
33
32
  id: StrictStr = Field(...)
34
33
  description: Optional[StrictStr] = None
35
34
  artifact_metadata: Optional[Dict[str, Any]] = None
36
- model_schema: Optional[ModelSchemaDto] = None
37
- monitoring_enabled: Optional[StrictBool] = None
38
35
  model_framework: Optional[StrictStr] = None
39
36
  manifest: Optional[ModelVersionManifest] = None
40
37
  __properties = [
41
38
  "id",
42
39
  "description",
43
40
  "artifact_metadata",
44
- "model_schema",
45
- "monitoring_enabled",
46
41
  "model_framework",
47
42
  "manifest",
48
43
  ]
@@ -69,9 +64,6 @@ class UpdateModelVersionRequestDto(BaseModel):
69
64
  def to_dict(self):
70
65
  """Returns the dictionary representation of the model using alias"""
71
66
  _dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
72
- # override the default output from truefoundry.pydantic_v1 by calling `to_dict()` of model_schema
73
- if self.model_schema:
74
- _dict["model_schema"] = self.model_schema.to_dict()
75
67
  # override the default output from truefoundry.pydantic_v1 by calling `to_dict()` of manifest
76
68
  if self.manifest:
77
69
  _dict["manifest"] = self.manifest.to_dict()
@@ -91,10 +83,6 @@ class UpdateModelVersionRequestDto(BaseModel):
91
83
  "id": obj.get("id"),
92
84
  "description": obj.get("description"),
93
85
  "artifact_metadata": obj.get("artifact_metadata"),
94
- "model_schema": ModelSchemaDto.from_dict(obj.get("model_schema"))
95
- if obj.get("model_schema") is not None
96
- else None,
97
- "monitoring_enabled": obj.get("monitoring_enabled"),
98
86
  "model_framework": obj.get("model_framework"),
99
87
  "manifest": ModelVersionManifest.from_dict(obj.get("manifest"))
100
88
  if obj.get("manifest") is not None
@@ -37,7 +37,7 @@ class UserMessage(BaseModel):
37
37
  @validator("role")
38
38
  def role_validate_enum(cls, value):
39
39
  """Validates the enum"""
40
- if value not in ("user"):
40
+ if value not in ("user",):
41
41
  raise ValueError("must be one of enum values ('user')")
42
42
  return value
43
43
 
@@ -0,0 +1,92 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ FastAPI
5
+
6
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+
8
+ The version of the OpenAPI document: 0.1.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ from __future__ import annotations
15
+
16
+ import json
17
+ import pprint
18
+ import re # noqa: F401
19
+ from typing import Optional
20
+
21
+ from truefoundry.ml.autogen.client.models.serialization_format import (
22
+ SerializationFormat,
23
+ )
24
+ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
25
+
26
+
27
+ class XGBoostFramework(BaseModel):
28
+ """
29
+ +docs=XGBoost framework for the model version +label=XGBoost # noqa: E501
30
+ """
31
+
32
+ type: StrictStr = Field(
33
+ default=...,
34
+ description="+label=Type +usage=Type of the framework +value=xgboost",
35
+ )
36
+ serialization_format: Optional[SerializationFormat] = Field(
37
+ default=None,
38
+ description="+label=Serialization format +usage=Serialization format used for the model",
39
+ )
40
+ model_filename: Optional[StrictStr] = Field(
41
+ default=None, description="+label=Model file name +usage=Name of the model file"
42
+ )
43
+ __properties = ["type", "serialization_format", "model_filename"]
44
+
45
+ @validator("type")
46
+ def type_validate_enum(cls, value):
47
+ """Validates the enum"""
48
+ if value not in ("xgboost",):
49
+ raise ValueError("must be one of enum values ('xgboost')")
50
+ return value
51
+
52
+ class Config:
53
+ """Pydantic configuration"""
54
+
55
+ allow_population_by_field_name = True
56
+ validate_assignment = True
57
+
58
+ def to_str(self) -> str:
59
+ """Returns the string representation of the model using alias"""
60
+ return pprint.pformat(self.dict(by_alias=True))
61
+
62
+ def to_json(self) -> str:
63
+ """Returns the JSON representation of the model using alias"""
64
+ return json.dumps(self.to_dict())
65
+
66
+ @classmethod
67
+ def from_json(cls, json_str: str) -> XGBoostFramework:
68
+ """Create an instance of XGBoostFramework from a JSON string"""
69
+ return cls.from_dict(json.loads(json_str))
70
+
71
+ def to_dict(self):
72
+ """Returns the dictionary representation of the model using alias"""
73
+ _dict = self.dict(by_alias=True, exclude={}, exclude_none=True)
74
+ return _dict
75
+
76
+ @classmethod
77
+ def from_dict(cls, obj: dict) -> XGBoostFramework:
78
+ """Create an instance of XGBoostFramework from a dict"""
79
+ if obj is None:
80
+ return None
81
+
82
+ if not isinstance(obj, dict):
83
+ return XGBoostFramework.parse_obj(obj)
84
+
85
+ _obj = XGBoostFramework.parse_obj(
86
+ {
87
+ "type": obj.get("type"),
88
+ "serialization_format": obj.get("serialization_format"),
89
+ "model_filename": obj.get("model_filename"),
90
+ }
91
+ )
92
+ return _obj
@@ -5,7 +5,7 @@ The `truefoundry.ml.autogen.client` package is automatically generated by the [O
5
5
 
6
6
  - API version: 0.1.0
7
7
  - Package version: 0.1.0
8
- - Generator version: 7.9.0-SNAPSHOT
8
+ - Generator version: 7.10.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen
10
10
 
11
11
  ## Requirements.
@@ -66,6 +66,8 @@ All URIs are relative to *http://localhost*
66
66
  Class | Method | HTTP request | Description
67
67
  ------------ | ------------- | ------------- | -------------
68
68
  *AuthApi* | [**get_tenant_id_get**](truefoundry/ml/autogen/client/docs/AuthApi.md#get_tenant_id_get) | **GET** /api/2.0/mlflow/tenant-id | Get Tenant Id
69
+ *DeprecatedApi* | [**add_custom_metrics_to_model_version_post**](truefoundry/ml/autogen/client/docs/DeprecatedApi.md#add_custom_metrics_to_model_version_post) | **POST** /model-versions/custom-metrics/add | Add Custom Metrics To Model Version
70
+ *DeprecatedApi* | [**add_features_to_model_version_post**](truefoundry/ml/autogen/client/docs/DeprecatedApi.md#add_features_to_model_version_post) | **POST** /model-versions/features/add | Add Features To Model Version
69
71
  *DeprecatedApi* | [**get_run_by_name_get**](truefoundry/ml/autogen/client/docs/DeprecatedApi.md#get_run_by_name_get) | **GET** /api/2.0mlflow/runs/get-by-name | Get Run By Name
70
72
  *DeprecatedApi* | [**get_search_runs_get**](truefoundry/ml/autogen/client/docs/DeprecatedApi.md#get_search_runs_get) | **GET** /api/2.0/preview/mlflow/runs/search | Get Search Runs
71
73
  *DeprecatedApi* | [**get_signed_urls_for_dataset_write_deprecated_get**](truefoundry/ml/autogen/client/docs/DeprecatedApi.md#get_signed_urls_for_dataset_write_deprecated_get) | **GET** /api/2.0/mlflow/mlfoundry-artifacts/datasets/get-signed-urls-for-write | Get Signed Urls For Dataset Write Deprecated
@@ -80,12 +82,13 @@ Class | Method | HTTP request | Description
80
82
  *ExperimentsApi* | [**restore_experiment_post**](truefoundry/ml/autogen/client/docs/ExperimentsApi.md#restore_experiment_post) | **POST** /api/2.0/mlflow/experiments/restore | Restore Experiment
81
83
  *ExperimentsApi* | [**set_experiment_tag_post**](truefoundry/ml/autogen/client/docs/ExperimentsApi.md#set_experiment_tag_post) | **POST** /api/2.0/mlflow/experiments/set-experiment-tag | Set Experiment Tag
82
84
  *ExperimentsApi* | [**update_experiment_post**](truefoundry/ml/autogen/client/docs/ExperimentsApi.md#update_experiment_post) | **POST** /api/2.0/mlflow/experiments/update | Update Experiment
85
+ *GenerateCodeSnippetApi* | [**generate_py_development_config_post**](truefoundry/ml/autogen/client/docs/GenerateCodeSnippetApi.md#generate_py_development_config_post) | **POST** /api/2.0/mlflow/generate-code-snippet/application | Generate Py Development Config
86
+ *GenerateCodeSnippetApi* | [**trigger_job_run_post**](truefoundry/ml/autogen/client/docs/GenerateCodeSnippetApi.md#trigger_job_run_post) | **POST** /api/2.0/mlflow/generate-code-snippet/trigger-job-run | Trigger Job Run
87
+ *GenerateCodeSnippetApi* | [**trigger_workflow_task_config_post**](truefoundry/ml/autogen/client/docs/GenerateCodeSnippetApi.md#trigger_workflow_task_config_post) | **POST** /api/2.0/mlflow/generate-code-snippet/workflow-task-config | Trigger Workflow Task Config
83
88
  *HealthApi* | [**health_get**](truefoundry/ml/autogen/client/docs/HealthApi.md#health_get) | **GET** /health | Health
84
89
  *HealthApi* | [**serve_get**](truefoundry/ml/autogen/client/docs/HealthApi.md#serve_get) | **GET** / | Serve
85
90
  *MetricsApi* | [**get_metric_history_get**](truefoundry/ml/autogen/client/docs/MetricsApi.md#get_metric_history_get) | **GET** /api/2.0/mlflow/metrics/get-history | Get Metric History
86
91
  *MetricsApi* | [**list_metric_history_post**](truefoundry/ml/autogen/client/docs/MetricsApi.md#list_metric_history_post) | **POST** /api/2.0/mlflow/metrics/list-history | List Metric History
87
- *MlfoundryArtifactsApi* | [**add_custom_metrics_to_model_version_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#add_custom_metrics_to_model_version_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/model-versions/custom-metrics/add | Add Custom Metrics To Model Version
88
- *MlfoundryArtifactsApi* | [**add_features_to_model_version_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#add_features_to_model_version_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/model-versions/features/add | Add Features To Model Version
89
92
  *MlfoundryArtifactsApi* | [**authorize_user_for_model_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#authorize_user_for_model_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/models/authorize | Authorize User For Model
90
93
  *MlfoundryArtifactsApi* | [**authorize_user_for_model_version_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#authorize_user_for_model_version_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/model-versions/authorize | Authorize User For Model Version
91
94
  *MlfoundryArtifactsApi* | [**create_artifact_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#create_artifact_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/artifacts/create | Create Artifact
@@ -129,7 +132,6 @@ Class | Method | HTTP request | Description
129
132
  *MlfoundryArtifactsApi* | [**update_artifact_version_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#update_artifact_version_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/update | Update Artifact Version
130
133
  *MlfoundryArtifactsApi* | [**update_dataset_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#update_dataset_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/datasets/update | Update Dataset
131
134
  *MlfoundryArtifactsApi* | [**update_model_version_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#update_model_version_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/model-versions/update | Update Model Version
132
- *PythonDeploymentConfigApi* | [**generate_py_development_config_post**](truefoundry/ml/autogen/client/docs/PythonDeploymentConfigApi.md#generate_py_development_config_post) | **POST** /api/2.0/mlflow/python-deployment-config/generate | Generate Py Development Config
133
135
  *RunArtifactsApi* | [**list_run_artifacts_get**](truefoundry/ml/autogen/client/docs/RunArtifactsApi.md#list_run_artifacts_get) | **GET** /api/2.0/mlflow/artifacts/list | List Run Artifacts
134
136
  *RunsApi* | [**create_run_post**](truefoundry/ml/autogen/client/docs/RunsApi.md#create_run_post) | **POST** /api/2.0/mlflow/runs/create | Create Run
135
137
  *RunsApi* | [**delete_run_post**](truefoundry/ml/autogen/client/docs/RunsApi.md#delete_run_post) | **POST** /api/2.0/mlflow/runs/delete | Delete Run
@@ -164,6 +166,7 @@ Class | Method | HTTP request | Description
164
166
  - [ArtifactResponseDto](truefoundry/ml/autogen/client/docs/ArtifactResponseDto.md)
165
167
  - [ArtifactType](truefoundry/ml/autogen/client/docs/ArtifactType.md)
166
168
  - [ArtifactVersionDto](truefoundry/ml/autogen/client/docs/ArtifactVersionDto.md)
169
+ - [ArtifactVersionManifest](truefoundry/ml/autogen/client/docs/ArtifactVersionManifest.md)
167
170
  - [ArtifactVersionResponseDto](truefoundry/ml/autogen/client/docs/ArtifactVersionResponseDto.md)
168
171
  - [ArtifactVersionSerializationFormat](truefoundry/ml/autogen/client/docs/ArtifactVersionSerializationFormat.md)
169
172
  - [ArtifactVersionStatus](truefoundry/ml/autogen/client/docs/ArtifactVersionStatus.md)
@@ -175,6 +178,7 @@ Class | Method | HTTP request | Description
175
178
  - [ChatPrompt](truefoundry/ml/autogen/client/docs/ChatPrompt.md)
176
179
  - [ChatPromptMessagesInner](truefoundry/ml/autogen/client/docs/ChatPromptMessagesInner.md)
177
180
  - [ColumnsDto](truefoundry/ml/autogen/client/docs/ColumnsDto.md)
181
+ - [Command](truefoundry/ml/autogen/client/docs/Command.md)
178
182
  - [Content](truefoundry/ml/autogen/client/docs/Content.md)
179
183
  - [Content1](truefoundry/ml/autogen/client/docs/Content1.md)
180
184
  - [Content2](truefoundry/ml/autogen/client/docs/Content2.md)
@@ -194,6 +198,7 @@ Class | Method | HTTP request | Description
194
198
  - [CreatePythonDeploymentConfigResponseDto](truefoundry/ml/autogen/client/docs/CreatePythonDeploymentConfigResponseDto.md)
195
199
  - [CreateRunRequestDto](truefoundry/ml/autogen/client/docs/CreateRunRequestDto.md)
196
200
  - [CreateRunResponseDto](truefoundry/ml/autogen/client/docs/CreateRunResponseDto.md)
201
+ - [CreateWorkflowTaskConfigRequestDto](truefoundry/ml/autogen/client/docs/CreateWorkflowTaskConfigRequestDto.md)
197
202
  - [DatasetDto](truefoundry/ml/autogen/client/docs/DatasetDto.md)
198
203
  - [DatasetResponseDto](truefoundry/ml/autogen/client/docs/DatasetResponseDto.md)
199
204
  - [DeleteArtifactVersionsRequestDto](truefoundry/ml/autogen/client/docs/DeleteArtifactVersionsRequestDto.md)
@@ -206,9 +211,8 @@ Class | Method | HTTP request | Description
206
211
  - [ExperimentIdRequestDto](truefoundry/ml/autogen/client/docs/ExperimentIdRequestDto.md)
207
212
  - [ExperimentResponseDto](truefoundry/ml/autogen/client/docs/ExperimentResponseDto.md)
208
213
  - [ExperimentTagDto](truefoundry/ml/autogen/client/docs/ExperimentTagDto.md)
209
- - [ExternalModelSource](truefoundry/ml/autogen/client/docs/ExternalModelSource.md)
210
- - [FeatureDto](truefoundry/ml/autogen/client/docs/FeatureDto.md)
211
- - [FeatureValueType](truefoundry/ml/autogen/client/docs/FeatureValueType.md)
214
+ - [ExternalArtifactSource](truefoundry/ml/autogen/client/docs/ExternalArtifactSource.md)
215
+ - [FastAIFramework](truefoundry/ml/autogen/client/docs/FastAIFramework.md)
212
216
  - [FileInfoDto](truefoundry/ml/autogen/client/docs/FileInfoDto.md)
213
217
  - [FinalizeArtifactVersionRequestDto](truefoundry/ml/autogen/client/docs/FinalizeArtifactVersionRequestDto.md)
214
218
  - [Framework](truefoundry/ml/autogen/client/docs/Framework.md)
@@ -224,12 +228,16 @@ Class | Method | HTTP request | Description
224
228
  - [GetSignedURLsForDatasetReadResponseDto](truefoundry/ml/autogen/client/docs/GetSignedURLsForDatasetReadResponseDto.md)
225
229
  - [GetSignedURLsForDatasetWriteResponseDto](truefoundry/ml/autogen/client/docs/GetSignedURLsForDatasetWriteResponseDto.md)
226
230
  - [GetTenantIdResponseDto](truefoundry/ml/autogen/client/docs/GetTenantIdResponseDto.md)
231
+ - [GluonFramework](truefoundry/ml/autogen/client/docs/GluonFramework.md)
232
+ - [H2OFramework](truefoundry/ml/autogen/client/docs/H2OFramework.md)
227
233
  - [HTTPValidationError](truefoundry/ml/autogen/client/docs/HTTPValidationError.md)
228
234
  - [ImageContentPart](truefoundry/ml/autogen/client/docs/ImageContentPart.md)
229
235
  - [ImageUrl](truefoundry/ml/autogen/client/docs/ImageUrl.md)
230
236
  - [InternalMetadata](truefoundry/ml/autogen/client/docs/InternalMetadata.md)
237
+ - [KerasFramework](truefoundry/ml/autogen/client/docs/KerasFramework.md)
231
238
  - [LatestRunLogDto](truefoundry/ml/autogen/client/docs/LatestRunLogDto.md)
232
239
  - [LibraryName](truefoundry/ml/autogen/client/docs/LibraryName.md)
240
+ - [LightGBMFramework](truefoundry/ml/autogen/client/docs/LightGBMFramework.md)
233
241
  - [ListArtifactVersionsRequestDto](truefoundry/ml/autogen/client/docs/ListArtifactVersionsRequestDto.md)
234
242
  - [ListArtifactVersionsResponseDto](truefoundry/ml/autogen/client/docs/ListArtifactVersionsResponseDto.md)
235
243
  - [ListArtifactsRequestDto](truefoundry/ml/autogen/client/docs/ListArtifactsRequestDto.md)
@@ -254,6 +262,7 @@ Class | Method | HTTP request | Description
254
262
  - [LogBatchRequestDto](truefoundry/ml/autogen/client/docs/LogBatchRequestDto.md)
255
263
  - [LogMetricRequestDto](truefoundry/ml/autogen/client/docs/LogMetricRequestDto.md)
256
264
  - [LogParamRequestDto](truefoundry/ml/autogen/client/docs/LogParamRequestDto.md)
265
+ - [Manifest](truefoundry/ml/autogen/client/docs/Manifest.md)
257
266
  - [Method](truefoundry/ml/autogen/client/docs/Method.md)
258
267
  - [MetricCollectionDto](truefoundry/ml/autogen/client/docs/MetricCollectionDto.md)
259
268
  - [MetricDto](truefoundry/ml/autogen/client/docs/MetricDto.md)
@@ -261,18 +270,20 @@ Class | Method | HTTP request | Description
261
270
  - [ModelConfiguration](truefoundry/ml/autogen/client/docs/ModelConfiguration.md)
262
271
  - [ModelDto](truefoundry/ml/autogen/client/docs/ModelDto.md)
263
272
  - [ModelResponseDto](truefoundry/ml/autogen/client/docs/ModelResponseDto.md)
264
- - [ModelSchemaDto](truefoundry/ml/autogen/client/docs/ModelSchemaDto.md)
265
273
  - [ModelVersionDto](truefoundry/ml/autogen/client/docs/ModelVersionDto.md)
274
+ - [ModelVersionEnvironment](truefoundry/ml/autogen/client/docs/ModelVersionEnvironment.md)
266
275
  - [ModelVersionManifest](truefoundry/ml/autogen/client/docs/ModelVersionManifest.md)
267
276
  - [ModelVersionResponseDto](truefoundry/ml/autogen/client/docs/ModelVersionResponseDto.md)
268
277
  - [MultiPartUploadDto](truefoundry/ml/autogen/client/docs/MultiPartUploadDto.md)
269
278
  - [MultiPartUploadResponseDto](truefoundry/ml/autogen/client/docs/MultiPartUploadResponseDto.md)
270
279
  - [MultiPartUploadStorageProvider](truefoundry/ml/autogen/client/docs/MultiPartUploadStorageProvider.md)
271
280
  - [NotifyArtifactVersionFailureDto](truefoundry/ml/autogen/client/docs/NotifyArtifactVersionFailureDto.md)
281
+ - [ONNXFramework](truefoundry/ml/autogen/client/docs/ONNXFramework.md)
272
282
  - [OpenapiSpec](truefoundry/ml/autogen/client/docs/OpenapiSpec.md)
283
+ - [PaddleFramework](truefoundry/ml/autogen/client/docs/PaddleFramework.md)
273
284
  - [ParamDto](truefoundry/ml/autogen/client/docs/ParamDto.md)
274
285
  - [Parameters](truefoundry/ml/autogen/client/docs/Parameters.md)
275
- - [PredictionType](truefoundry/ml/autogen/client/docs/PredictionType.md)
286
+ - [PyTorchFramework](truefoundry/ml/autogen/client/docs/PyTorchFramework.md)
276
287
  - [ResolveAgentAppResponseDto](truefoundry/ml/autogen/client/docs/ResolveAgentAppResponseDto.md)
277
288
  - [RestoreRunRequestDto](truefoundry/ml/autogen/client/docs/RestoreRunRequestDto.md)
278
289
  - [RunDataDto](truefoundry/ml/autogen/client/docs/RunDataDto.md)
@@ -284,31 +295,38 @@ Class | Method | HTTP request | Description
284
295
  - [RunTagDto](truefoundry/ml/autogen/client/docs/RunTagDto.md)
285
296
  - [SearchRunsRequestDto](truefoundry/ml/autogen/client/docs/SearchRunsRequestDto.md)
286
297
  - [SearchRunsResponseDto](truefoundry/ml/autogen/client/docs/SearchRunsResponseDto.md)
298
+ - [SerializationFormat](truefoundry/ml/autogen/client/docs/SerializationFormat.md)
287
299
  - [SetExperimentTagRequestDto](truefoundry/ml/autogen/client/docs/SetExperimentTagRequestDto.md)
288
300
  - [SetTagRequestDto](truefoundry/ml/autogen/client/docs/SetTagRequestDto.md)
289
301
  - [SignedURLDto](truefoundry/ml/autogen/client/docs/SignedURLDto.md)
302
+ - [SklearnFramework](truefoundry/ml/autogen/client/docs/SklearnFramework.md)
290
303
  - [Source](truefoundry/ml/autogen/client/docs/Source.md)
304
+ - [Source1](truefoundry/ml/autogen/client/docs/Source1.md)
305
+ - [SpaCyFramework](truefoundry/ml/autogen/client/docs/SpaCyFramework.md)
306
+ - [StatsModelsFramework](truefoundry/ml/autogen/client/docs/StatsModelsFramework.md)
291
307
  - [Stop](truefoundry/ml/autogen/client/docs/Stop.md)
292
308
  - [StoreRunLogsRequestDto](truefoundry/ml/autogen/client/docs/StoreRunLogsRequestDto.md)
293
309
  - [Subject](truefoundry/ml/autogen/client/docs/Subject.md)
294
310
  - [SubjectType](truefoundry/ml/autogen/client/docs/SubjectType.md)
295
311
  - [SystemMessage](truefoundry/ml/autogen/client/docs/SystemMessage.md)
296
- - [TensorflowFramework](truefoundry/ml/autogen/client/docs/TensorflowFramework.md)
312
+ - [TensorFlowFramework](truefoundry/ml/autogen/client/docs/TensorFlowFramework.md)
297
313
  - [Text](truefoundry/ml/autogen/client/docs/Text.md)
298
314
  - [TextContentPart](truefoundry/ml/autogen/client/docs/TextContentPart.md)
299
315
  - [TransformersFramework](truefoundry/ml/autogen/client/docs/TransformersFramework.md)
300
- - [TruefoundryModelSource](truefoundry/ml/autogen/client/docs/TruefoundryModelSource.md)
316
+ - [TriggerJobRunConfigRequestDto](truefoundry/ml/autogen/client/docs/TriggerJobRunConfigRequestDto.md)
317
+ - [TriggerJobRunConfigResponseDto](truefoundry/ml/autogen/client/docs/TriggerJobRunConfigResponseDto.md)
318
+ - [TrueFoundryArtifactSource](truefoundry/ml/autogen/client/docs/TrueFoundryArtifactSource.md)
301
319
  - [UpdateArtifactVersionRequestDto](truefoundry/ml/autogen/client/docs/UpdateArtifactVersionRequestDto.md)
302
320
  - [UpdateDatasetRequestDto](truefoundry/ml/autogen/client/docs/UpdateDatasetRequestDto.md)
303
321
  - [UpdateExperimentRequestDto](truefoundry/ml/autogen/client/docs/UpdateExperimentRequestDto.md)
304
322
  - [UpdateModelVersionRequestDto](truefoundry/ml/autogen/client/docs/UpdateModelVersionRequestDto.md)
305
323
  - [UpdateRunRequestDto](truefoundry/ml/autogen/client/docs/UpdateRunRequestDto.md)
306
324
  - [UpdateRunResponseDto](truefoundry/ml/autogen/client/docs/UpdateRunResponseDto.md)
307
- - [UploadModelSource](truefoundry/ml/autogen/client/docs/UploadModelSource.md)
308
325
  - [Url](truefoundry/ml/autogen/client/docs/Url.md)
309
326
  - [UserMessage](truefoundry/ml/autogen/client/docs/UserMessage.md)
310
327
  - [ValidationError](truefoundry/ml/autogen/client/docs/ValidationError.md)
311
328
  - [ValidationErrorLocInner](truefoundry/ml/autogen/client/docs/ValidationErrorLocInner.md)
329
+ - [XGBoostFramework](truefoundry/ml/autogen/client/docs/XGBoostFramework.md)
312
330
 
313
331
 
314
332
  <a id="documentation-for-authorization"></a>