truefoundry 0.5.9__py3-none-any.whl → 0.5.10rc2__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 (221) hide show
  1. truefoundry/cli/display_util.py +1 -1
  2. truefoundry/deploy/auto_gen/models.py +1 -1
  3. truefoundry/deploy/io/output_callback.py +13 -6
  4. truefoundry/deploy/io/rich_output_callback.py +8 -4
  5. truefoundry/deploy/lib/clients/servicefoundry_client.py +78 -105
  6. truefoundry/deploy/lib/dao/apply.py +2 -2
  7. truefoundry/deploy/lib/dao/delete.py +2 -2
  8. truefoundry/deploy/lib/model/entity.py +37 -24
  9. truefoundry/ml/autogen/client/__init__.py +22 -14
  10. truefoundry/ml/autogen/client/api/auth_api.py +2 -2
  11. truefoundry/ml/autogen/client/api/deprecated_api.py +5 -338
  12. truefoundry/ml/autogen/client/api/experiments_api.py +77 -32
  13. truefoundry/ml/autogen/client/api/generate_code_snippet_api.py +2 -2
  14. truefoundry/ml/autogen/client/api/health_api.py +2 -2
  15. truefoundry/ml/autogen/client/api/metrics_api.py +4 -4
  16. truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +530 -140
  17. truefoundry/ml/autogen/client/api/run_artifacts_api.py +10 -5
  18. truefoundry/ml/autogen/client/api/runs_api.py +20 -20
  19. truefoundry/ml/autogen/client/api_client.py +2 -2
  20. truefoundry/ml/autogen/client/configuration.py +29 -57
  21. truefoundry/ml/autogen/client/exceptions.py +2 -2
  22. truefoundry/ml/autogen/client/models/__init__.py +22 -14
  23. truefoundry/ml/autogen/client/models/agent_app.py +13 -5
  24. truefoundry/ml/autogen/client/models/{agent.py → agent_manifest.py} +39 -30
  25. truefoundry/ml/autogen/client/models/{agent_open_api_tool.py → agent_open_api_tool_manifest.py} +50 -31
  26. truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +47 -26
  27. truefoundry/ml/autogen/client/models/agent_with_fqn.py +36 -25
  28. truefoundry/ml/autogen/client/models/{add_custom_metrics_to_model_version_request_dto.py → apply_request_dto.py} +23 -17
  29. truefoundry/ml/autogen/client/models/apply_response_dto.py +79 -0
  30. truefoundry/ml/autogen/client/models/artifact_dto.py +2 -2
  31. truefoundry/ml/autogen/client/models/{add_features_to_model_version_request_dto.py → artifact_path.py} +20 -17
  32. truefoundry/ml/autogen/client/models/artifact_response_dto.py +2 -2
  33. truefoundry/ml/autogen/client/models/artifact_type.py +3 -3
  34. truefoundry/ml/autogen/client/models/artifact_version_dto.py +7 -15
  35. truefoundry/ml/autogen/client/models/artifact_version_manifest.py +32 -19
  36. truefoundry/ml/autogen/client/models/artifact_version_response_dto.py +2 -2
  37. truefoundry/ml/autogen/client/models/artifact_version_serialization_format.py +2 -2
  38. truefoundry/ml/autogen/client/models/artifact_version_status.py +2 -2
  39. truefoundry/ml/autogen/client/models/assistant_message.py +9 -5
  40. truefoundry/ml/autogen/client/models/authorize_user_for_model_request_dto.py +2 -2
  41. truefoundry/ml/autogen/client/models/authorize_user_for_model_version_request_dto.py +2 -2
  42. truefoundry/ml/autogen/client/models/blob_storage_reference.py +4 -4
  43. truefoundry/ml/autogen/client/models/body_get_search_runs_get.py +2 -2
  44. truefoundry/ml/autogen/client/models/{chat_prompt.py → chat_prompt_manifest.py} +39 -32
  45. truefoundry/ml/autogen/client/models/{chat_prompt_messages_inner.py → chat_prompt_manifest_messages_inner.py} +12 -12
  46. truefoundry/ml/autogen/client/models/columns_dto.py +2 -2
  47. truefoundry/ml/autogen/client/models/command.py +2 -2
  48. truefoundry/ml/autogen/client/models/content.py +3 -3
  49. truefoundry/ml/autogen/client/models/content1.py +3 -3
  50. truefoundry/ml/autogen/client/models/content2.py +3 -3
  51. truefoundry/ml/autogen/client/models/content2_any_of_inner.py +2 -2
  52. truefoundry/ml/autogen/client/models/create_artifact_request_dto.py +2 -2
  53. truefoundry/ml/autogen/client/models/create_artifact_response_dto.py +2 -2
  54. truefoundry/ml/autogen/client/models/create_artifact_version_request_dto.py +2 -2
  55. truefoundry/ml/autogen/client/models/create_artifact_version_response_dto.py +2 -2
  56. truefoundry/ml/autogen/client/models/create_dataset_request_dto.py +21 -5
  57. truefoundry/ml/autogen/client/models/create_experiment_request_dto.py +2 -2
  58. truefoundry/ml/autogen/client/models/create_experiment_response_dto.py +2 -2
  59. truefoundry/ml/autogen/client/models/create_model_version_request_dto.py +4 -12
  60. truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +2 -2
  61. truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +2 -2
  62. truefoundry/ml/autogen/client/models/create_multi_part_upload_request_dto.py +2 -2
  63. truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto.py +2 -2
  64. truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py +2 -2
  65. truefoundry/ml/autogen/client/models/create_run_request_dto.py +2 -2
  66. truefoundry/ml/autogen/client/models/create_run_response_dto.py +2 -2
  67. truefoundry/ml/autogen/client/models/create_workflow_task_config_request_dto.py +2 -2
  68. truefoundry/ml/autogen/client/models/data_directory_manifest.py +126 -0
  69. truefoundry/ml/autogen/client/models/dataset_dto.py +13 -2
  70. truefoundry/ml/autogen/client/models/dataset_response_dto.py +2 -2
  71. truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py +2 -2
  72. truefoundry/ml/autogen/client/models/delete_dataset_request_dto.py +2 -2
  73. truefoundry/ml/autogen/client/models/delete_files_for_dataset_request_dto.py +2 -2
  74. truefoundry/ml/autogen/client/models/delete_model_version_request_dto.py +2 -2
  75. truefoundry/ml/autogen/client/models/delete_run_request.py +2 -2
  76. truefoundry/ml/autogen/client/models/delete_tag_request_dto.py +2 -2
  77. truefoundry/ml/autogen/client/models/experiment_dto.py +3 -3
  78. truefoundry/ml/autogen/client/models/experiment_id_request_dto.py +2 -2
  79. truefoundry/ml/autogen/client/models/experiment_response_dto.py +2 -2
  80. truefoundry/ml/autogen/client/models/experiment_tag_dto.py +2 -2
  81. truefoundry/ml/autogen/client/models/export_deployment_files_request_dto.py +2 -2
  82. truefoundry/ml/autogen/client/models/external_blob_storage_source.py +5 -4
  83. truefoundry/ml/autogen/client/models/fast_ai_framework.py +3 -3
  84. truefoundry/ml/autogen/client/models/file_info_dto.py +2 -2
  85. truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +7 -15
  86. truefoundry/ml/autogen/client/models/framework.py +3 -3
  87. truefoundry/ml/autogen/client/models/get_artifact_version_aliases_response_dto.py +2 -2
  88. truefoundry/ml/autogen/client/models/get_experiment_response_dto.py +2 -2
  89. truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py +2 -2
  90. truefoundry/ml/autogen/client/models/get_metric_history_response.py +2 -2
  91. truefoundry/ml/autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +2 -2
  92. truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +2 -2
  93. truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +2 -2
  94. truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +2 -2
  95. truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +2 -2
  96. truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +2 -2
  97. truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +2 -2
  98. truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +2 -2
  99. truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py +2 -2
  100. truefoundry/ml/autogen/client/models/gluon_framework.py +3 -3
  101. truefoundry/ml/autogen/client/models/h2_o_framework.py +3 -3
  102. truefoundry/ml/autogen/client/models/http_validation_error.py +2 -2
  103. truefoundry/ml/autogen/client/models/image_content_part.py +7 -5
  104. truefoundry/ml/autogen/client/models/image_url.py +3 -3
  105. truefoundry/ml/autogen/client/models/infer_method_name.py +2 -2
  106. truefoundry/ml/autogen/client/models/keras_framework.py +3 -3
  107. truefoundry/ml/autogen/client/models/latest_run_log_dto.py +2 -2
  108. truefoundry/ml/autogen/client/models/library_name.py +2 -2
  109. truefoundry/ml/autogen/client/models/light_gbm_framework.py +3 -3
  110. truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py +2 -2
  111. truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py +2 -2
  112. truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py +2 -2
  113. truefoundry/ml/autogen/client/models/list_artifacts_response_dto.py +2 -2
  114. truefoundry/ml/autogen/client/models/list_colums_response_dto.py +2 -2
  115. truefoundry/ml/autogen/client/models/list_datasets_request_dto.py +2 -2
  116. truefoundry/ml/autogen/client/models/list_datasets_response_dto.py +2 -2
  117. truefoundry/ml/autogen/client/models/list_experiments_response_dto.py +2 -2
  118. truefoundry/ml/autogen/client/models/list_files_for_artifact_version_request_dto.py +2 -2
  119. truefoundry/ml/autogen/client/models/list_files_for_artifact_versions_response_dto.py +2 -2
  120. truefoundry/ml/autogen/client/models/list_files_for_dataset_request_dto.py +2 -2
  121. truefoundry/ml/autogen/client/models/list_files_for_dataset_response_dto.py +2 -2
  122. truefoundry/ml/autogen/client/models/list_latest_run_logs_response_dto.py +2 -2
  123. truefoundry/ml/autogen/client/models/list_metric_history_request_dto.py +2 -2
  124. truefoundry/ml/autogen/client/models/list_metric_history_response_dto.py +2 -2
  125. truefoundry/ml/autogen/client/models/list_model_version_response_dto.py +2 -2
  126. truefoundry/ml/autogen/client/models/list_model_versions_request_dto.py +2 -2
  127. truefoundry/ml/autogen/client/models/list_models_request_dto.py +2 -2
  128. truefoundry/ml/autogen/client/models/list_models_response_dto.py +2 -2
  129. truefoundry/ml/autogen/client/models/list_run_artifacts_response_dto.py +2 -2
  130. truefoundry/ml/autogen/client/models/list_run_logs_response_dto.py +2 -2
  131. truefoundry/ml/autogen/client/models/local_artifact_source.py +93 -0
  132. truefoundry/ml/autogen/client/models/local_model_source.py +80 -0
  133. truefoundry/ml/autogen/client/models/log_batch_request_dto.py +2 -2
  134. truefoundry/ml/autogen/client/models/log_metric_request_dto.py +2 -2
  135. truefoundry/ml/autogen/client/models/log_param_request_dto.py +2 -2
  136. truefoundry/ml/autogen/client/models/manifest.py +100 -23
  137. truefoundry/ml/autogen/client/models/manifest1.py +219 -0
  138. truefoundry/ml/autogen/client/models/manifest2.py +198 -0
  139. truefoundry/ml/autogen/client/models/method.py +3 -3
  140. truefoundry/ml/autogen/client/models/metric_collection_dto.py +2 -2
  141. truefoundry/ml/autogen/client/models/metric_dto.py +2 -2
  142. truefoundry/ml/autogen/client/models/mime_type.py +2 -2
  143. truefoundry/ml/autogen/client/models/model_configuration.py +7 -7
  144. truefoundry/ml/autogen/client/models/model_dto.py +2 -2
  145. truefoundry/ml/autogen/client/models/model_response_dto.py +2 -2
  146. truefoundry/ml/autogen/client/models/model_server.py +2 -2
  147. truefoundry/ml/autogen/client/models/model_version_dto.py +2 -2
  148. truefoundry/ml/autogen/client/models/model_version_environment.py +5 -5
  149. truefoundry/ml/autogen/client/models/model_version_manifest.py +35 -22
  150. truefoundry/ml/autogen/client/models/model_version_response_dto.py +2 -2
  151. truefoundry/ml/autogen/client/models/multi_part_upload_dto.py +2 -2
  152. truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py +2 -2
  153. truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py +2 -2
  154. truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py +2 -2
  155. truefoundry/ml/autogen/client/models/onnx_framework.py +3 -3
  156. truefoundry/ml/autogen/client/models/openapi_spec.py +3 -3
  157. truefoundry/ml/autogen/client/models/paddle_framework.py +3 -3
  158. truefoundry/ml/autogen/client/models/param_dto.py +2 -2
  159. truefoundry/ml/autogen/client/models/parameters.py +3 -3
  160. truefoundry/ml/autogen/client/models/py_torch_framework.py +3 -3
  161. truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py +2 -2
  162. truefoundry/ml/autogen/client/models/restore_run_request_dto.py +2 -2
  163. truefoundry/ml/autogen/client/models/run_data_dto.py +2 -2
  164. truefoundry/ml/autogen/client/models/run_dto.py +2 -2
  165. truefoundry/ml/autogen/client/models/run_info_dto.py +2 -2
  166. truefoundry/ml/autogen/client/models/run_log_dto.py +2 -2
  167. truefoundry/ml/autogen/client/models/run_log_input_dto.py +2 -2
  168. truefoundry/ml/autogen/client/models/run_response_dto.py +2 -2
  169. truefoundry/ml/autogen/client/models/run_tag_dto.py +2 -2
  170. truefoundry/ml/autogen/client/models/search_runs_request_dto.py +2 -2
  171. truefoundry/ml/autogen/client/models/search_runs_response_dto.py +2 -2
  172. truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py +2 -2
  173. truefoundry/ml/autogen/client/models/set_tag_request_dto.py +2 -2
  174. truefoundry/ml/autogen/client/models/signed_url_dto.py +2 -2
  175. truefoundry/ml/autogen/client/models/sklearn_framework.py +4 -4
  176. truefoundry/ml/autogen/client/models/sklearn_model_schema.py +7 -5
  177. truefoundry/ml/autogen/client/models/sklearn_serialization_format.py +3 -3
  178. truefoundry/ml/autogen/client/models/source.py +32 -7
  179. truefoundry/ml/autogen/client/models/source1.py +3 -3
  180. truefoundry/ml/autogen/client/models/{internal_metadata.py → source2.py} +52 -55
  181. truefoundry/ml/autogen/client/models/spa_cy_framework.py +3 -3
  182. truefoundry/ml/autogen/client/models/stats_models_framework.py +3 -3
  183. truefoundry/ml/autogen/client/models/stop.py +2 -2
  184. truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py +2 -2
  185. truefoundry/ml/autogen/client/models/subject.py +2 -2
  186. truefoundry/ml/autogen/client/models/subject_type.py +2 -2
  187. truefoundry/ml/autogen/client/models/system_message.py +7 -4
  188. truefoundry/ml/autogen/client/models/tensor_flow_framework.py +3 -3
  189. truefoundry/ml/autogen/client/models/text.py +3 -3
  190. truefoundry/ml/autogen/client/models/text_content_part.py +6 -4
  191. truefoundry/ml/autogen/client/models/transformers_framework.py +5 -5
  192. truefoundry/ml/autogen/client/models/trigger_job_run_config_request_dto.py +2 -2
  193. truefoundry/ml/autogen/client/models/trigger_job_run_config_response_dto.py +2 -2
  194. truefoundry/ml/autogen/client/models/true_foundry_managed_source.py +3 -3
  195. truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +5 -7
  196. truefoundry/ml/autogen/client/models/update_dataset_request_dto.py +13 -3
  197. truefoundry/ml/autogen/client/models/update_experiment_request_dto.py +2 -2
  198. truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +2 -2
  199. truefoundry/ml/autogen/client/models/update_run_request_dto.py +2 -2
  200. truefoundry/ml/autogen/client/models/update_run_response_dto.py +2 -2
  201. truefoundry/ml/autogen/client/models/url.py +3 -3
  202. truefoundry/ml/autogen/client/models/user_message.py +8 -5
  203. truefoundry/ml/autogen/client/models/validate_external_storage_root_request_dto.py +2 -2
  204. truefoundry/ml/autogen/client/models/validate_external_storage_root_response_dto.py +2 -2
  205. truefoundry/ml/autogen/client/models/validation_error.py +2 -2
  206. truefoundry/ml/autogen/client/models/validation_error_loc_inner.py +2 -2
  207. truefoundry/ml/autogen/client/models/xg_boost_framework.py +4 -4
  208. truefoundry/ml/autogen/client/models/xg_boost_model_schema.py +7 -5
  209. truefoundry/ml/autogen/client/models/xg_boost_serialization_format.py +3 -3
  210. truefoundry/ml/autogen/client/rest.py +2 -2
  211. truefoundry/ml/autogen/client_README.md +17 -19
  212. truefoundry/ml/autogen/entities/artifacts.py +264 -139
  213. truefoundry/ml/clients/servicefoundry_client.py +5 -8
  214. truefoundry/ml/log_types/artifacts/artifact.py +15 -78
  215. truefoundry/ml/log_types/artifacts/model.py +4 -5
  216. truefoundry/ml/log_types/artifacts/utils.py +18 -2
  217. truefoundry/ml/mlfoundry_api.py +0 -40
  218. {truefoundry-0.5.9.dist-info → truefoundry-0.5.10rc2.dist-info}/METADATA +3 -6
  219. {truefoundry-0.5.9.dist-info → truefoundry-0.5.10rc2.dist-info}/RECORD +221 -215
  220. {truefoundry-0.5.9.dist-info → truefoundry-0.5.10rc2.dist-info}/WHEEL +0 -0
  221. {truefoundry-0.5.9.dist-info → truefoundry-0.5.10rc2.dist-info}/entry_points.txt +0 -0
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -18,9 +18,7 @@ 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
+ from truefoundry.ml.autogen.client.models.manifest2 import Manifest2
24
22
  from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr
25
23
 
26
24
 
@@ -32,7 +30,7 @@ class UpdateArtifactVersionRequestDto(BaseModel):
32
30
  id: StrictStr = Field(...)
33
31
  description: Optional[StrictStr] = None
34
32
  artifact_metadata: Optional[Dict[str, Any]] = None
35
- manifest: Optional[ArtifactVersionManifest] = None
33
+ manifest: Optional[Manifest2] = None
36
34
  __properties = ["id", "description", "artifact_metadata", "manifest"]
37
35
 
38
36
  class Config:
@@ -76,7 +74,7 @@ class UpdateArtifactVersionRequestDto(BaseModel):
76
74
  "id": obj.get("id"),
77
75
  "description": obj.get("description"),
78
76
  "artifact_metadata": obj.get("artifact_metadata"),
79
- "manifest": ArtifactVersionManifest.from_dict(obj.get("manifest"))
77
+ "manifest": Manifest2.from_dict(obj.get("manifest"))
80
78
  if obj.get("manifest") is not None
81
79
  else None,
82
80
  }
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -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.data_directory_manifest import (
22
+ DataDirectoryManifest,
23
+ )
21
24
  from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr
22
25
 
23
26
 
@@ -29,7 +32,8 @@ class UpdateDatasetRequestDto(BaseModel):
29
32
  fqn: StrictStr = Field(...)
30
33
  description: Optional[StrictStr] = None
31
34
  dataset_metadata: Optional[Dict[str, Any]] = None
32
- __properties = ["fqn", "description", "dataset_metadata"]
35
+ manifest: Optional[DataDirectoryManifest] = None
36
+ __properties = ["fqn", "description", "dataset_metadata", "manifest"]
33
37
 
34
38
  class Config:
35
39
  """Pydantic configuration"""
@@ -53,6 +57,9 @@ class UpdateDatasetRequestDto(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 UpdateDatasetRequestDto(BaseModel):
69
76
  "fqn": obj.get("fqn"),
70
77
  "description": obj.get("description"),
71
78
  "dataset_metadata": obj.get("dataset_metadata"),
79
+ "manifest": DataDirectoryManifest.from_dict(obj.get("manifest"))
80
+ if obj.get("manifest") is not None
81
+ else None,
72
82
  }
73
83
  )
74
84
  return _obj
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -34,7 +34,7 @@ URL_ANY_OF_SCHEMAS = ["BlobStorageReference", "str"]
34
34
 
35
35
  class Url(BaseModel):
36
36
  """
37
- +label=URL for the image +usage=The URL for the image, must be a non-empty valid HTTPS URL or a data URL
37
+ +label=URL +usage=Image URL linking to the image
38
38
  """
39
39
 
40
40
  # data type: str
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -24,13 +24,16 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
24
24
 
25
25
  class UserMessage(BaseModel):
26
26
  """
27
- +usage=User message +docs=Defines the structure of a user message, including role and content +label=User Message # noqa: E501
27
+ +label=User Message +usage=User message turn # noqa: E501
28
28
  """
29
29
 
30
- role: StrictStr = Field(...)
30
+ role: StrictStr = Field(
31
+ default=..., description="+value=user +usage=Role of the message +uiType=Ignore"
32
+ )
31
33
  content: Content2 = Field(...)
32
34
  name: Optional[StrictStr] = Field(
33
- default=None, description="+label=Name +usage=Name of the user message"
35
+ default=None,
36
+ description="+label=Name +usage=Name of the user this message is from",
34
37
  )
35
38
  __properties = ["role", "content", "name"]
36
39
 
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -29,7 +29,7 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, validator
29
29
 
30
30
  class XGBoostFramework(BaseModel):
31
31
  """
32
- +docs=XGBoost framework for the model version +label=XGBoost # noqa: E501
32
+ +label=XGBoost +icon=xgboost # noqa: E501
33
33
  """
34
34
 
35
35
  type: StrictStr = Field(
@@ -39,7 +39,7 @@ class XGBoostFramework(BaseModel):
39
39
  serialization_format: Optional[XGBoostSerializationFormat] = None
40
40
  model_filepath: Optional[StrictStr] = Field(
41
41
  default=None,
42
- description="+label=Model file path +usage=Relative path to the model file",
42
+ description="+label=Model file path +usage=Relative path to the model file in the model version contents",
43
43
  )
44
44
  model_schema: Optional[XGBoostModelSchema] = None
45
45
  __properties = ["type", "serialization_format", "model_filepath", "model_schema"]
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -23,7 +23,7 @@ from truefoundry.pydantic_v1 import BaseModel, Field, StrictStr, conlist, valida
23
23
 
24
24
  class XGBoostModelSchema(BaseModel):
25
25
  """
26
- +label=XGBoost Model Schema # noqa: E501
26
+ +label=XGBoost Model Schema +usage=Schema of the XGBoost model # noqa: E501
27
27
  """
28
28
 
29
29
  infer_method_name: StrictStr = Field(
@@ -31,10 +31,12 @@ class XGBoostModelSchema(BaseModel):
31
31
  description="+label=Inference Method Name +usage=Name of the method used for inference",
32
32
  )
33
33
  inputs: conlist(Dict[str, Any]) = Field(
34
- default=..., description="+label= Input Schema +usage=Schema of the input"
34
+ default=...,
35
+ description='+label= Input Schema +usage=Schema of the input +uiProps={"descriptionInline":true}',
35
36
  )
36
37
  outputs: conlist(Dict[str, Any]) = Field(
37
- default=..., description="+label= Output Schema +usage=Schema of the output"
38
+ default=...,
39
+ description='+label= Output Schema +usage=Schema of the output +uiProps={"descriptionInline":true}',
38
40
  )
39
41
  __properties = ["infer_method_name", "inputs", "outputs"]
40
42
 
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -19,7 +19,7 @@ from aenum import Enum
19
19
 
20
20
  class XGBoostSerializationFormat(str, Enum):
21
21
  """
22
- +label=Serialization format +usage=Serialization format used for XGBoost models
22
+ +label=Serialization format +usage=Serialization format used to save the xgboost model
23
23
  """
24
24
 
25
25
  """
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- FastAPI
4
+ TrueFoundry ML API
5
5
 
6
6
  No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
 
8
- The version of the OpenAPI document: 0.1.0
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
@@ -3,7 +3,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
3
3
 
4
4
  The `truefoundry.ml.autogen.client` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
5
 
6
- - API version: 0.1.0
6
+ - API version: 1.0.0
7
7
  - Package version: 0.1.0
8
8
  - Generator version: 7.10.0
9
9
  - Build package: org.openapitools.codegen.languages.PythonPydanticV1ClientCodegen
@@ -66,8 +66,6 @@ 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
71
69
  *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
72
70
  *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
73
71
  *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
@@ -88,6 +86,7 @@ Class | Method | HTTP request | Description
88
86
  *HealthApi* | [**serve_get**](truefoundry/ml/autogen/client/docs/HealthApi.md#serve_get) | **GET** / | Serve
89
87
  *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
90
88
  *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
89
+ *MlfoundryArtifactsApi* | [**apply_manifest_put**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#apply_manifest_put) | **PUT** /api/2.0/mlflow/mlfoundry-artifacts/apply | Apply Manifest
91
90
  *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
92
91
  *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
93
92
  *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
@@ -157,14 +156,15 @@ Class | Method | HTTP request | Description
157
156
 
158
157
  ## Documentation For Models
159
158
 
160
- - [AddCustomMetricsToModelVersionRequestDto](truefoundry/ml/autogen/client/docs/AddCustomMetricsToModelVersionRequestDto.md)
161
- - [AddFeaturesToModelVersionRequestDto](truefoundry/ml/autogen/client/docs/AddFeaturesToModelVersionRequestDto.md)
162
- - [Agent](truefoundry/ml/autogen/client/docs/Agent.md)
163
159
  - [AgentApp](truefoundry/ml/autogen/client/docs/AgentApp.md)
164
- - [AgentOpenAPITool](truefoundry/ml/autogen/client/docs/AgentOpenAPITool.md)
160
+ - [AgentManifest](truefoundry/ml/autogen/client/docs/AgentManifest.md)
161
+ - [AgentOpenAPIToolManifest](truefoundry/ml/autogen/client/docs/AgentOpenAPIToolManifest.md)
165
162
  - [AgentOpenAPIToolWithFQN](truefoundry/ml/autogen/client/docs/AgentOpenAPIToolWithFQN.md)
166
163
  - [AgentWithFQN](truefoundry/ml/autogen/client/docs/AgentWithFQN.md)
164
+ - [ApplyRequestDto](truefoundry/ml/autogen/client/docs/ApplyRequestDto.md)
165
+ - [ApplyResponseDto](truefoundry/ml/autogen/client/docs/ApplyResponseDto.md)
167
166
  - [ArtifactDto](truefoundry/ml/autogen/client/docs/ArtifactDto.md)
167
+ - [ArtifactPath](truefoundry/ml/autogen/client/docs/ArtifactPath.md)
168
168
  - [ArtifactResponseDto](truefoundry/ml/autogen/client/docs/ArtifactResponseDto.md)
169
169
  - [ArtifactType](truefoundry/ml/autogen/client/docs/ArtifactType.md)
170
170
  - [ArtifactVersionDto](truefoundry/ml/autogen/client/docs/ArtifactVersionDto.md)
@@ -177,8 +177,8 @@ Class | Method | HTTP request | Description
177
177
  - [AuthorizeUserForModelVersionRequestDto](truefoundry/ml/autogen/client/docs/AuthorizeUserForModelVersionRequestDto.md)
178
178
  - [BlobStorageReference](truefoundry/ml/autogen/client/docs/BlobStorageReference.md)
179
179
  - [BodyGetSearchRunsGet](truefoundry/ml/autogen/client/docs/BodyGetSearchRunsGet.md)
180
- - [ChatPrompt](truefoundry/ml/autogen/client/docs/ChatPrompt.md)
181
- - [ChatPromptMessagesInner](truefoundry/ml/autogen/client/docs/ChatPromptMessagesInner.md)
180
+ - [ChatPromptManifest](truefoundry/ml/autogen/client/docs/ChatPromptManifest.md)
181
+ - [ChatPromptManifestMessagesInner](truefoundry/ml/autogen/client/docs/ChatPromptManifestMessagesInner.md)
182
182
  - [ColumnsDto](truefoundry/ml/autogen/client/docs/ColumnsDto.md)
183
183
  - [Command](truefoundry/ml/autogen/client/docs/Command.md)
184
184
  - [Content](truefoundry/ml/autogen/client/docs/Content.md)
@@ -201,6 +201,7 @@ Class | Method | HTTP request | Description
201
201
  - [CreateRunRequestDto](truefoundry/ml/autogen/client/docs/CreateRunRequestDto.md)
202
202
  - [CreateRunResponseDto](truefoundry/ml/autogen/client/docs/CreateRunResponseDto.md)
203
203
  - [CreateWorkflowTaskConfigRequestDto](truefoundry/ml/autogen/client/docs/CreateWorkflowTaskConfigRequestDto.md)
204
+ - [DataDirectoryManifest](truefoundry/ml/autogen/client/docs/DataDirectoryManifest.md)
204
205
  - [DatasetDto](truefoundry/ml/autogen/client/docs/DatasetDto.md)
205
206
  - [DatasetResponseDto](truefoundry/ml/autogen/client/docs/DatasetResponseDto.md)
206
207
  - [DeleteArtifactVersionsRequestDto](truefoundry/ml/autogen/client/docs/DeleteArtifactVersionsRequestDto.md)
@@ -238,7 +239,6 @@ Class | Method | HTTP request | Description
238
239
  - [ImageContentPart](truefoundry/ml/autogen/client/docs/ImageContentPart.md)
239
240
  - [ImageUrl](truefoundry/ml/autogen/client/docs/ImageUrl.md)
240
241
  - [InferMethodName](truefoundry/ml/autogen/client/docs/InferMethodName.md)
241
- - [InternalMetadata](truefoundry/ml/autogen/client/docs/InternalMetadata.md)
242
242
  - [KerasFramework](truefoundry/ml/autogen/client/docs/KerasFramework.md)
243
243
  - [LatestRunLogDto](truefoundry/ml/autogen/client/docs/LatestRunLogDto.md)
244
244
  - [LibraryName](truefoundry/ml/autogen/client/docs/LibraryName.md)
@@ -264,10 +264,14 @@ Class | Method | HTTP request | Description
264
264
  - [ListModelsResponseDto](truefoundry/ml/autogen/client/docs/ListModelsResponseDto.md)
265
265
  - [ListRunArtifactsResponseDto](truefoundry/ml/autogen/client/docs/ListRunArtifactsResponseDto.md)
266
266
  - [ListRunLogsResponseDto](truefoundry/ml/autogen/client/docs/ListRunLogsResponseDto.md)
267
+ - [LocalArtifactSource](truefoundry/ml/autogen/client/docs/LocalArtifactSource.md)
268
+ - [LocalModelSource](truefoundry/ml/autogen/client/docs/LocalModelSource.md)
267
269
  - [LogBatchRequestDto](truefoundry/ml/autogen/client/docs/LogBatchRequestDto.md)
268
270
  - [LogMetricRequestDto](truefoundry/ml/autogen/client/docs/LogMetricRequestDto.md)
269
271
  - [LogParamRequestDto](truefoundry/ml/autogen/client/docs/LogParamRequestDto.md)
270
272
  - [Manifest](truefoundry/ml/autogen/client/docs/Manifest.md)
273
+ - [Manifest1](truefoundry/ml/autogen/client/docs/Manifest1.md)
274
+ - [Manifest2](truefoundry/ml/autogen/client/docs/Manifest2.md)
271
275
  - [Method](truefoundry/ml/autogen/client/docs/Method.md)
272
276
  - [MetricCollectionDto](truefoundry/ml/autogen/client/docs/MetricCollectionDto.md)
273
277
  - [MetricDto](truefoundry/ml/autogen/client/docs/MetricDto.md)
@@ -309,6 +313,7 @@ Class | Method | HTTP request | Description
309
313
  - [SklearnSerializationFormat](truefoundry/ml/autogen/client/docs/SklearnSerializationFormat.md)
310
314
  - [Source](truefoundry/ml/autogen/client/docs/Source.md)
311
315
  - [Source1](truefoundry/ml/autogen/client/docs/Source1.md)
316
+ - [Source2](truefoundry/ml/autogen/client/docs/Source2.md)
312
317
  - [SpaCyFramework](truefoundry/ml/autogen/client/docs/SpaCyFramework.md)
313
318
  - [StatsModelsFramework](truefoundry/ml/autogen/client/docs/StatsModelsFramework.md)
314
319
  - [Stop](truefoundry/ml/autogen/client/docs/Stop.md)
@@ -345,17 +350,10 @@ Class | Method | HTTP request | Description
345
350
 
346
351
 
347
352
  Authentication schemes defined for the API:
348
- <a id="HTTPBearer"></a>
349
- ### HTTPBearer
353
+ <a id="APIKey"></a>
354
+ ### APIKey
350
355
 
351
356
  - **Type**: Bearer authentication
352
357
 
353
- <a id="APIKeyCookie"></a>
354
- ### APIKeyCookie
355
-
356
- - **Type**: API key
357
- - **API key parameter name**: accessToken
358
- - **Location**:
359
-
360
358
 
361
359
  ## Author