truefoundry 0.4.0rc4__tar.gz → 0.4.1rc1__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.

Potentially problematic release.


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

Files changed (345) hide show
  1. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/PKG-INFO +3 -3
  2. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/README.md +2 -2
  3. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/pyproject.toml +1 -1
  4. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/artifact/truefoundry_artifact_repo.py +1 -1
  5. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/__init__.py +3 -0
  6. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/mlfoundry_artifacts_api.py +163 -0
  7. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/__init__.py +3 -0
  8. truefoundry-0.4.1rc1/truefoundry/ml/autogen/client/models/delete_files_for_dataset_request_dto.py +68 -0
  9. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client_README.md +2 -0
  10. truefoundry-0.4.1rc1/truefoundry/ml/autogen/entities/artifacts.py +286 -0
  11. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/clients/utils.py +1 -1
  12. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/artifacts/artifact.py +59 -1
  13. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/mlfoundry_api.py +44 -1
  14. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/__init__.py +0 -0
  15. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/__init__.py +0 -0
  16. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/agents/__init__.py +0 -0
  17. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/agents/base.py +0 -0
  18. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/agents/developer.py +0 -0
  19. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/agents/project_identifier.py +0 -0
  20. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/agents/tester.py +0 -0
  21. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/cli.py +0 -0
  22. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/constants.py +0 -0
  23. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/exception.py +0 -0
  24. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/logger.py +0 -0
  25. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/__init__.py +0 -0
  26. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/ask.py +0 -0
  27. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/base.py +0 -0
  28. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/commit.py +0 -0
  29. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/docker_build.py +0 -0
  30. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/docker_run.py +0 -0
  31. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/file_type_counts.py +0 -0
  32. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/list_files.py +0 -0
  33. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/read_file.py +0 -0
  34. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/send_request.py +0 -0
  35. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/tools/write_file.py +0 -0
  36. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/utils/client.py +0 -0
  37. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/utils/diff.py +0 -0
  38. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/autodeploy/utils/pydantic_compat.py +0 -0
  39. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/cli/__init__.py +0 -0
  40. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/cli/__main__.py +0 -0
  41. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/__init__.py +0 -0
  42. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/auth_service_client.py +0 -0
  43. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/constants.py +0 -0
  44. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/credential_file_manager.py +0 -0
  45. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/credential_provider.py +0 -0
  46. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/entities.py +0 -0
  47. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/exceptions.py +0 -0
  48. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/request_utils.py +0 -0
  49. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/servicefoundry_client.py +0 -0
  50. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/common/utils.py +0 -0
  51. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/__init__.py +0 -0
  52. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/auto_gen/models.py +0 -0
  53. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/builder/__init__.py +0 -0
  54. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/builder/builders/__init__.py +0 -0
  55. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/builder/builders/dockerfile.py +0 -0
  56. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/__init__.py +0 -0
  57. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/builder/builders/tfy_notebook_buildpack/dockerfile_template.py +0 -0
  58. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/__init__.py +0 -0
  59. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/builder/builders/tfy_python_buildpack/dockerfile_template.py +0 -0
  60. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/builder/docker_service.py +0 -0
  61. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/__init__.py +0 -0
  62. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/cli.py +0 -0
  63. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/__init__.py +0 -0
  64. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/apply_command.py +0 -0
  65. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/build_command.py +0 -0
  66. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/build_logs_command.py +0 -0
  67. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/create_command.py +0 -0
  68. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/delete_command.py +0 -0
  69. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/deploy_command.py +0 -0
  70. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/get_command.py +0 -0
  71. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/list_command.py +0 -0
  72. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/login_command.py +0 -0
  73. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/logout_command.py +0 -0
  74. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/logs_command.py +0 -0
  75. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/patch_application_command.py +0 -0
  76. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/patch_command.py +0 -0
  77. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/redeploy_command.py +0 -0
  78. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/terminate_comand.py +0 -0
  79. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/commands/trigger_command.py +0 -0
  80. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/config.py +0 -0
  81. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/console.py +0 -0
  82. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/const.py +0 -0
  83. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/display_util.py +0 -0
  84. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/cli/util.py +0 -0
  85. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/core/__init__.py +0 -0
  86. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/core/login.py +0 -0
  87. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/core/logout.py +0 -0
  88. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/__init__.py +0 -0
  89. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/__main__.py +0 -0
  90. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/app.py +0 -0
  91. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/build.py +0 -0
  92. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/remote/__init__.py +0 -0
  93. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/remote/context.py +0 -0
  94. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/remote/method.py +0 -0
  95. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/remote/remote.py +0 -0
  96. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/route.py +0 -0
  97. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/service.py +0 -0
  98. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/function_service/utils.py +0 -0
  99. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/io/__init__.py +0 -0
  100. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/io/output_callback.py +0 -0
  101. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/io/rich_output_callback.py +0 -0
  102. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/json_util.py +0 -0
  103. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/__init__.py +0 -0
  104. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/auth/servicefoundry_session.py +0 -0
  105. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/clients/__init__.py +0 -0
  106. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/clients/servicefoundry_client.py +0 -0
  107. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/clients/shell_client.py +0 -0
  108. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/const.py +0 -0
  109. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/dao/__init__.py +0 -0
  110. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/dao/application.py +0 -0
  111. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/dao/apply.py +0 -0
  112. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/dao/version.py +0 -0
  113. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/dao/workspace.py +0 -0
  114. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/exceptions.py +0 -0
  115. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/logs_utils.py +0 -0
  116. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/messages.py +0 -0
  117. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/model/__init__.py +0 -0
  118. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/model/entity.py +0 -0
  119. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/session.py +0 -0
  120. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/util.py +0 -0
  121. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/lib/win32.py +0 -0
  122. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/python_deploy_codegen.py +0 -0
  123. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/v2/__init__.py +0 -0
  124. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/v2/lib/__init__.py +0 -0
  125. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/v2/lib/deploy.py +0 -0
  126. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/v2/lib/deploy_workflow.py +0 -0
  127. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/v2/lib/deployable_patched_models.py +0 -0
  128. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/v2/lib/models.py +0 -0
  129. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/v2/lib/patched_models.py +0 -0
  130. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/deploy/v2/lib/source.py +0 -0
  131. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/langchain/__init__.py +0 -0
  132. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/langchain/deprecated.py +0 -0
  133. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/langchain/truefoundry_chat.py +0 -0
  134. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/langchain/truefoundry_embeddings.py +0 -0
  135. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/langchain/truefoundry_llm.py +0 -0
  136. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/langchain/utils.py +0 -0
  137. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/logger.py +0 -0
  138. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/__init__.py +0 -0
  139. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/artifact/__init__.py +0 -0
  140. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/__init__.py +0 -0
  141. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/__init__.py +0 -0
  142. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/auth_api.py +0 -0
  143. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/deprecated_api.py +0 -0
  144. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/experiments_api.py +0 -0
  145. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/health_api.py +0 -0
  146. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/metrics_api.py +0 -0
  147. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/python_deployment_config_api.py +0 -0
  148. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/run_artifacts_api.py +0 -0
  149. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api/runs_api.py +0 -0
  150. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api_client.py +0 -0
  151. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/api_response.py +0 -0
  152. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/configuration.py +0 -0
  153. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/exceptions.py +0 -0
  154. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/add_custom_metrics_to_model_version_request_dto.py +0 -0
  155. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/add_features_to_model_version_request_dto.py +0 -0
  156. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/agent.py +0 -0
  157. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/agent_app.py +0 -0
  158. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/agent_open_api_tool.py +0 -0
  159. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/agent_open_api_tool_with_fqn.py +0 -0
  160. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/agent_with_fqn.py +0 -0
  161. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/artifact_dto.py +0 -0
  162. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/artifact_response_dto.py +0 -0
  163. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/artifact_type.py +0 -0
  164. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/artifact_version_dto.py +0 -0
  165. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/artifact_version_response_dto.py +0 -0
  166. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/artifact_version_status.py +0 -0
  167. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/assistant_message.py +0 -0
  168. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/authorize_user_for_model_request_dto.py +0 -0
  169. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/authorize_user_for_model_version_request_dto.py +0 -0
  170. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/blob_storage_reference.py +0 -0
  171. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/body_get_search_runs_get.py +0 -0
  172. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/chat_prompt.py +0 -0
  173. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/chat_prompt_messages_inner.py +0 -0
  174. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/columns_dto.py +0 -0
  175. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/content.py +0 -0
  176. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/content1.py +0 -0
  177. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/content2.py +0 -0
  178. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/content2_any_of_inner.py +0 -0
  179. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_artifact_request_dto.py +0 -0
  180. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_artifact_response_dto.py +0 -0
  181. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_artifact_version_request_dto.py +0 -0
  182. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_artifact_version_response_dto.py +0 -0
  183. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_dataset_request_dto.py +0 -0
  184. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_experiment_request_dto.py +0 -0
  185. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_experiment_response_dto.py +0 -0
  186. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_model_version_request_dto.py +0 -0
  187. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_request_dto.py +0 -0
  188. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_multi_part_upload_for_dataset_response_dto.py +0 -0
  189. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_multi_part_upload_request_dto.py +0 -0
  190. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_python_deployment_config_request_dto.py +0 -0
  191. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_python_deployment_config_response_dto.py +0 -0
  192. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_run_request_dto.py +0 -0
  193. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/create_run_response_dto.py +0 -0
  194. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/dataset_dto.py +0 -0
  195. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/dataset_response_dto.py +0 -0
  196. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/delete_artifact_versions_request_dto.py +0 -0
  197. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/delete_dataset_request_dto.py +0 -0
  198. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/delete_model_version_request_dto.py +0 -0
  199. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/delete_run_request.py +0 -0
  200. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/delete_tag_request_dto.py +0 -0
  201. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/experiment_dto.py +0 -0
  202. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/experiment_id_request_dto.py +0 -0
  203. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/experiment_response_dto.py +0 -0
  204. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/experiment_tag_dto.py +0 -0
  205. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/feature_dto.py +0 -0
  206. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/feature_value_type.py +0 -0
  207. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/file_info_dto.py +0 -0
  208. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/finalize_artifact_version_request_dto.py +0 -0
  209. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_experiment_response_dto.py +0 -0
  210. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_latest_run_log_response_dto.py +0 -0
  211. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_metric_history_response.py +0 -0
  212. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_signed_url_for_dataset_write_request_dto.py +0 -0
  213. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_request_dto.py +0 -0
  214. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_read_response_dto.py +0 -0
  215. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_request_dto.py +0 -0
  216. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_artifact_version_write_response_dto.py +0 -0
  217. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_request_dto.py +0 -0
  218. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_read_response_dto.py +0 -0
  219. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_signed_urls_for_dataset_write_response_dto.py +0 -0
  220. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/get_tenant_id_response_dto.py +0 -0
  221. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/http_validation_error.py +0 -0
  222. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/image_content_part.py +0 -0
  223. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/image_url.py +0 -0
  224. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/internal_metadata.py +0 -0
  225. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/latest_run_log_dto.py +0 -0
  226. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_artifact_versions_request_dto.py +0 -0
  227. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_artifact_versions_response_dto.py +0 -0
  228. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_artifacts_request_dto.py +0 -0
  229. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_artifacts_response_dto.py +0 -0
  230. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_colums_response_dto.py +0 -0
  231. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_datasets_request_dto.py +0 -0
  232. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_datasets_response_dto.py +0 -0
  233. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_experiments_response_dto.py +0 -0
  234. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_files_for_artifact_version_request_dto.py +0 -0
  235. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_files_for_artifact_versions_response_dto.py +0 -0
  236. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_files_for_dataset_request_dto.py +0 -0
  237. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_files_for_dataset_response_dto.py +0 -0
  238. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_latest_run_logs_response_dto.py +0 -0
  239. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_metric_history_request_dto.py +0 -0
  240. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_metric_history_response_dto.py +0 -0
  241. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_model_version_response_dto.py +0 -0
  242. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_model_versions_request_dto.py +0 -0
  243. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_models_request_dto.py +0 -0
  244. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_models_response_dto.py +0 -0
  245. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_run_artifacts_response_dto.py +0 -0
  246. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_run_logs_response_dto.py +0 -0
  247. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/list_seed_experiments_response_dto.py +0 -0
  248. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/log_batch_request_dto.py +0 -0
  249. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/log_metric_request_dto.py +0 -0
  250. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/log_param_request_dto.py +0 -0
  251. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/method.py +0 -0
  252. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/metric_collection_dto.py +0 -0
  253. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/metric_dto.py +0 -0
  254. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/mime_type.py +0 -0
  255. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/model_configuration.py +0 -0
  256. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/model_dto.py +0 -0
  257. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/model_response_dto.py +0 -0
  258. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/model_schema_dto.py +0 -0
  259. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/model_version_dto.py +0 -0
  260. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/model_version_response_dto.py +0 -0
  261. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/multi_part_upload_dto.py +0 -0
  262. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/multi_part_upload_response_dto.py +0 -0
  263. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/multi_part_upload_storage_provider.py +0 -0
  264. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/notify_artifact_version_failure_dto.py +0 -0
  265. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/openapi_spec.py +0 -0
  266. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/param_dto.py +0 -0
  267. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/parameters.py +0 -0
  268. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/prediction_type.py +0 -0
  269. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/resolve_agent_app_response_dto.py +0 -0
  270. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/restore_run_request_dto.py +0 -0
  271. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/run_data_dto.py +0 -0
  272. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/run_dto.py +0 -0
  273. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/run_info_dto.py +0 -0
  274. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/run_log_dto.py +0 -0
  275. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/run_log_input_dto.py +0 -0
  276. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/run_response_dto.py +0 -0
  277. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/run_tag_dto.py +0 -0
  278. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/search_runs_request_dto.py +0 -0
  279. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/search_runs_response_dto.py +0 -0
  280. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/set_experiment_tag_request_dto.py +0 -0
  281. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/set_tag_request_dto.py +0 -0
  282. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/signed_url_dto.py +0 -0
  283. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/stop.py +0 -0
  284. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/store_run_logs_request_dto.py +0 -0
  285. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/system_message.py +0 -0
  286. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/text.py +0 -0
  287. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/text_content_part.py +0 -0
  288. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/update_artifact_version_request_dto.py +0 -0
  289. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/update_dataset_request_dto.py +0 -0
  290. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/update_experiment_request_dto.py +0 -0
  291. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/update_model_version_request_dto.py +0 -0
  292. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/update_run_request_dto.py +0 -0
  293. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/update_run_response_dto.py +0 -0
  294. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/url.py +0 -0
  295. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/user_message.py +0 -0
  296. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/validation_error.py +0 -0
  297. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/models/validation_error_loc_inner.py +0 -0
  298. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/autogen/client/rest.py +0 -0
  299. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/cli/__init__.py +0 -0
  300. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/cli/cli.py +0 -0
  301. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/cli/commands/__init__.py +0 -0
  302. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/cli/commands/download.py +0 -0
  303. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/clients/__init__.py +0 -0
  304. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/clients/entities.py +0 -0
  305. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/clients/servicefoundry_client.py +0 -0
  306. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/constants.py +0 -0
  307. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/entities.py +0 -0
  308. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/enums.py +0 -0
  309. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/env_vars.py +0 -0
  310. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/exceptions.py +0 -0
  311. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/git_info.py +0 -0
  312. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/internal_namespace.py +0 -0
  313. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/__init__.py +0 -0
  314. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/artifacts/constants.py +0 -0
  315. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/artifacts/dataset.py +0 -0
  316. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/artifacts/general_artifact.py +0 -0
  317. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/artifacts/model.py +0 -0
  318. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/artifacts/model_extras.py +0 -0
  319. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/artifacts/utils.py +0 -0
  320. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/image/__init__.py +0 -0
  321. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/image/constants.py +0 -0
  322. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/image/image.py +0 -0
  323. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/image/image_normalizer.py +0 -0
  324. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/image/types.py +0 -0
  325. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/plot.py +0 -0
  326. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/pydantic_base.py +0 -0
  327. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/log_types/utils.py +0 -0
  328. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/logger.py +0 -0
  329. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/mlfoundry_run.py +0 -0
  330. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/run_utils.py +0 -0
  331. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/session.py +0 -0
  332. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/ml/validation_utils.py +0 -0
  333. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/pydantic_v1.py +0 -0
  334. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/version.py +0 -0
  335. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/__init__.py +0 -0
  336. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/container_task.py +0 -0
  337. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/example/deploy.sh +0 -0
  338. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/example/hello_world_package/workflow.py +0 -0
  339. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/example/package/test_workflow.py +0 -0
  340. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/example/truefoundry.yaml +0 -0
  341. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/example/workflow.yaml +0 -0
  342. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/map_task.py +0 -0
  343. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/python_task.py +0 -0
  344. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/task.py +0 -0
  345. {truefoundry-0.4.0rc4 → truefoundry-0.4.1rc1}/truefoundry/workflow/workflow.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.4.0rc4
3
+ Version: 0.4.1rc1
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhishek@truefoundry.com
@@ -68,10 +68,10 @@ To install the `TrueFoundry CLI`, you can use pip:
68
68
  pip install truefoundry
69
69
  ```
70
70
 
71
- To install the `TrueFoundry CLI` with metadata/artifact tracking, you can use pip:
71
+ To install the `TrueFoundry CLI` with Workflow deployment features, you can use pip:
72
72
 
73
73
  ```bash
74
- pip install truefoundry[ml]
74
+ pip install truefoundry[workflow]
75
75
  ```
76
76
 
77
77
  ## Examples
@@ -15,10 +15,10 @@ To install the `TrueFoundry CLI`, you can use pip:
15
15
  pip install truefoundry
16
16
  ```
17
17
 
18
- To install the `TrueFoundry CLI` with metadata/artifact tracking, you can use pip:
18
+ To install the `TrueFoundry CLI` with Workflow deployment features, you can use pip:
19
19
 
20
20
  ```bash
21
- pip install truefoundry[ml]
21
+ pip install truefoundry[workflow]
22
22
  ```
23
23
 
24
24
  ## Examples
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "truefoundry"
3
- version = "0.4.0rc4"
3
+ version = "0.4.1rc1"
4
4
  description = "Truefoundry CLI"
5
5
  authors = ["Abhishek Choudhary <abhishek@truefoundry.com>"]
6
6
  readme = "README.md"
@@ -236,7 +236,7 @@ def _signed_url_upload_file(
236
236
  with cloud_storage_http_request(
237
237
  method="put", url=signed_url.signed_url, data=""
238
238
  ) as response:
239
- augmented_raise_for_status(response.raise_for_status())
239
+ augmented_raise_for_status(response)
240
240
  return
241
241
 
242
242
  task_progress_bar = progress_bar.add_task(
@@ -144,6 +144,9 @@ from truefoundry.ml.autogen.client.models.delete_artifact_versions_request_dto i
144
144
  from truefoundry.ml.autogen.client.models.delete_dataset_request_dto import (
145
145
  DeleteDatasetRequestDto,
146
146
  )
147
+ from truefoundry.ml.autogen.client.models.delete_files_for_dataset_request_dto import (
148
+ DeleteFilesForDatasetRequestDto,
149
+ )
147
150
  from truefoundry.ml.autogen.client.models.delete_model_version_request_dto import (
148
151
  DeleteModelVersionRequestDto,
149
152
  )
@@ -73,6 +73,9 @@ from truefoundry.ml.autogen.client.models.delete_artifact_versions_request_dto i
73
73
  from truefoundry.ml.autogen.client.models.delete_dataset_request_dto import (
74
74
  DeleteDatasetRequestDto,
75
75
  )
76
+ from truefoundry.ml.autogen.client.models.delete_files_for_dataset_request_dto import (
77
+ DeleteFilesForDatasetRequestDto,
78
+ )
76
79
  from truefoundry.ml.autogen.client.models.delete_model_version_request_dto import (
77
80
  DeleteModelVersionRequestDto,
78
81
  )
@@ -2280,6 +2283,166 @@ class MlfoundryArtifactsApi:
2280
2283
  _request_auth=_params.get("_request_auth"),
2281
2284
  )
2282
2285
 
2286
+ @validate_arguments
2287
+ def delete_files_for_dataset_delete(
2288
+ self,
2289
+ delete_files_for_dataset_request_dto: DeleteFilesForDatasetRequestDto,
2290
+ **kwargs,
2291
+ ) -> object: # noqa: E501
2292
+ """Delete Files For Dataset # noqa: E501
2293
+
2294
+ Delete files from the dataset. # noqa: E501
2295
+ This method makes a synchronous HTTP request by default. To make an
2296
+ asynchronous HTTP request, please pass async_req=True
2297
+
2298
+ >>> thread = api.delete_files_for_dataset_delete(delete_files_for_dataset_request_dto, async_req=True)
2299
+ >>> result = thread.get()
2300
+
2301
+ :param delete_files_for_dataset_request_dto: (required)
2302
+ :type delete_files_for_dataset_request_dto: DeleteFilesForDatasetRequestDto
2303
+ :param async_req: Whether to execute the request asynchronously.
2304
+ :type async_req: bool, optional
2305
+ :param _request_timeout: timeout setting for this request.
2306
+ If one number provided, it will be total request
2307
+ timeout. It can also be a pair (tuple) of
2308
+ (connection, read) timeouts.
2309
+ :return: Returns the result object.
2310
+ If the method is called asynchronously,
2311
+ returns the request thread.
2312
+ :rtype: object
2313
+ """
2314
+ kwargs["_return_http_data_only"] = True
2315
+ if "_preload_content" in kwargs:
2316
+ message = "Error! Please call the delete_files_for_dataset_delete_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501
2317
+ raise ValueError(message)
2318
+ return self.delete_files_for_dataset_delete_with_http_info(
2319
+ delete_files_for_dataset_request_dto, **kwargs
2320
+ ) # noqa: E501
2321
+
2322
+ @validate_arguments
2323
+ def delete_files_for_dataset_delete_with_http_info(
2324
+ self,
2325
+ delete_files_for_dataset_request_dto: DeleteFilesForDatasetRequestDto,
2326
+ **kwargs,
2327
+ ) -> ApiResponse: # noqa: E501
2328
+ """Delete Files For Dataset # noqa: E501
2329
+
2330
+ Delete files from the dataset. # noqa: E501
2331
+ This method makes a synchronous HTTP request by default. To make an
2332
+ asynchronous HTTP request, please pass async_req=True
2333
+
2334
+ >>> thread = api.delete_files_for_dataset_delete_with_http_info(delete_files_for_dataset_request_dto, async_req=True)
2335
+ >>> result = thread.get()
2336
+
2337
+ :param delete_files_for_dataset_request_dto: (required)
2338
+ :type delete_files_for_dataset_request_dto: DeleteFilesForDatasetRequestDto
2339
+ :param async_req: Whether to execute the request asynchronously.
2340
+ :type async_req: bool, optional
2341
+ :param _preload_content: if False, the ApiResponse.data will
2342
+ be set to none and raw_data will store the
2343
+ HTTP response body without reading/decoding.
2344
+ Default is True.
2345
+ :type _preload_content: bool, optional
2346
+ :param _return_http_data_only: response data instead of ApiResponse
2347
+ object with status code, headers, etc
2348
+ :type _return_http_data_only: bool, optional
2349
+ :param _request_timeout: timeout setting for this request. If one
2350
+ number provided, it will be total request
2351
+ timeout. It can also be a pair (tuple) of
2352
+ (connection, read) timeouts.
2353
+ :param _request_auth: set to override the auth_settings for an a single
2354
+ request; this effectively ignores the authentication
2355
+ in the spec for a single request.
2356
+ :type _request_auth: dict, optional
2357
+ :type _content_type: string, optional: force content-type for the request
2358
+ :return: Returns the result object.
2359
+ If the method is called asynchronously,
2360
+ returns the request thread.
2361
+ :rtype: tuple(object, status_code(int), headers(HTTPHeaderDict))
2362
+ """
2363
+
2364
+ _params = locals()
2365
+
2366
+ _all_params = ["delete_files_for_dataset_request_dto"]
2367
+ _all_params.extend(
2368
+ [
2369
+ "async_req",
2370
+ "_return_http_data_only",
2371
+ "_preload_content",
2372
+ "_request_timeout",
2373
+ "_request_auth",
2374
+ "_content_type",
2375
+ "_headers",
2376
+ ]
2377
+ )
2378
+
2379
+ # validate the arguments
2380
+ for _key, _val in _params["kwargs"].items():
2381
+ if _key not in _all_params:
2382
+ raise ApiTypeError(
2383
+ "Got an unexpected keyword argument '%s'"
2384
+ " to method delete_files_for_dataset_delete" % _key
2385
+ )
2386
+ _params[_key] = _val
2387
+ del _params["kwargs"]
2388
+
2389
+ _collection_formats = {}
2390
+
2391
+ # process the path parameters
2392
+ _path_params = {}
2393
+
2394
+ # process the query parameters
2395
+ _query_params = []
2396
+ # process the header parameters
2397
+ _header_params = dict(_params.get("_headers", {}))
2398
+ # process the form parameters
2399
+ _form_params = []
2400
+ _files = {}
2401
+ # process the body parameter
2402
+ _body_params = None
2403
+ if _params["delete_files_for_dataset_request_dto"] is not None:
2404
+ _body_params = _params["delete_files_for_dataset_request_dto"]
2405
+
2406
+ # set the HTTP header `Accept`
2407
+ _header_params["Accept"] = self.api_client.select_header_accept(
2408
+ ["application/json"]
2409
+ ) # noqa: E501
2410
+
2411
+ # set the HTTP header `Content-Type`
2412
+ _content_types_list = _params.get(
2413
+ "_content_type",
2414
+ self.api_client.select_header_content_type(["application/json"]),
2415
+ )
2416
+ if _content_types_list:
2417
+ _header_params["Content-Type"] = _content_types_list
2418
+
2419
+ # authentication setting
2420
+ _auth_settings = ["HTTPBearer", "APIKeyCookie"] # noqa: E501
2421
+
2422
+ _response_types_map = {
2423
+ "200": "object",
2424
+ "422": "HTTPValidationError",
2425
+ }
2426
+
2427
+ return self.api_client.call_api(
2428
+ "/api/2.0/mlflow/mlfoundry-artifacts/datasets/files/",
2429
+ "DELETE",
2430
+ _path_params,
2431
+ _query_params,
2432
+ _header_params,
2433
+ body=_body_params,
2434
+ post_params=_form_params,
2435
+ files=_files,
2436
+ response_types_map=_response_types_map,
2437
+ auth_settings=_auth_settings,
2438
+ async_req=_params.get("async_req"),
2439
+ _return_http_data_only=_params.get("_return_http_data_only"), # noqa: E501
2440
+ _preload_content=_params.get("_preload_content", True),
2441
+ _request_timeout=_params.get("_request_timeout"),
2442
+ collection_formats=_collection_formats,
2443
+ _request_auth=_params.get("_request_auth"),
2444
+ )
2445
+
2283
2446
  @validate_arguments
2284
2447
  def delete_model_version_post(
2285
2448
  self, delete_model_version_request_dto: DeleteModelVersionRequestDto, **kwargs
@@ -115,6 +115,9 @@ from truefoundry.ml.autogen.client.models.delete_artifact_versions_request_dto i
115
115
  from truefoundry.ml.autogen.client.models.delete_dataset_request_dto import (
116
116
  DeleteDatasetRequestDto,
117
117
  )
118
+ from truefoundry.ml.autogen.client.models.delete_files_for_dataset_request_dto import (
119
+ DeleteFilesForDatasetRequestDto,
120
+ )
118
121
  from truefoundry.ml.autogen.client.models.delete_model_version_request_dto import (
119
122
  DeleteModelVersionRequestDto,
120
123
  )
@@ -0,0 +1,68 @@
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, conlist
21
+
22
+
23
+ class DeleteFilesForDatasetRequestDto(BaseModel):
24
+ """
25
+ DeleteFilesForDatasetRequestDto
26
+ """
27
+
28
+ dataset_fqn: StrictStr = Field(...)
29
+ paths: conlist(StrictStr, max_items=100) = Field(...)
30
+ __properties = ["dataset_fqn", "paths"]
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) -> DeleteFilesForDatasetRequestDto:
48
+ """Create an instance of DeleteFilesForDatasetRequestDto 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) -> DeleteFilesForDatasetRequestDto:
58
+ """Create an instance of DeleteFilesForDatasetRequestDto from a dict"""
59
+ if obj is None:
60
+ return None
61
+
62
+ if not isinstance(obj, dict):
63
+ return DeleteFilesForDatasetRequestDto.parse_obj(obj)
64
+
65
+ _obj = DeleteFilesForDatasetRequestDto.parse_obj(
66
+ {"dataset_fqn": obj.get("dataset_fqn"), "paths": obj.get("paths")}
67
+ )
68
+ return _obj
@@ -98,6 +98,7 @@ Class | Method | HTTP request | Description
98
98
  *MlfoundryArtifactsApi* | [**delete_artifact_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#delete_artifact_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/artifact/delete | Delete Artifact
99
99
  *MlfoundryArtifactsApi* | [**delete_artifact_version_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#delete_artifact_version_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/delete | Delete Artifact Version
100
100
  *MlfoundryArtifactsApi* | [**delete_dataset_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#delete_dataset_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/datasets/delete | Delete Dataset
101
+ *MlfoundryArtifactsApi* | [**delete_files_for_dataset_delete**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#delete_files_for_dataset_delete) | **DELETE** /api/2.0/mlflow/mlfoundry-artifacts/datasets/files/ | Delete Files For Dataset
101
102
  *MlfoundryArtifactsApi* | [**delete_model_version_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#delete_model_version_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/model-versions/delete | Delete Model Version
102
103
  *MlfoundryArtifactsApi* | [**finalize_artifact_version_post**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#finalize_artifact_version_post) | **POST** /api/2.0/mlflow/mlfoundry-artifacts/artifact-versions/finalize | Finalize Artifact Version
103
104
  *MlfoundryArtifactsApi* | [**get_artifact_by_fqn_get**](truefoundry/ml/autogen/client/docs/MlfoundryArtifactsApi.md#get_artifact_by_fqn_get) | **GET** /api/2.0/mlflow/mlfoundry-artifacts/artifacts/get-by-fqn | Get Artifact By Fqn
@@ -197,6 +198,7 @@ Class | Method | HTTP request | Description
197
198
  - [DatasetResponseDto](truefoundry/ml/autogen/client/docs/DatasetResponseDto.md)
198
199
  - [DeleteArtifactVersionsRequestDto](truefoundry/ml/autogen/client/docs/DeleteArtifactVersionsRequestDto.md)
199
200
  - [DeleteDatasetRequestDto](truefoundry/ml/autogen/client/docs/DeleteDatasetRequestDto.md)
201
+ - [DeleteFilesForDatasetRequestDto](truefoundry/ml/autogen/client/docs/DeleteFilesForDatasetRequestDto.md)
200
202
  - [DeleteModelVersionRequestDto](truefoundry/ml/autogen/client/docs/DeleteModelVersionRequestDto.md)
201
203
  - [DeleteRunRequest](truefoundry/ml/autogen/client/docs/DeleteRunRequest.md)
202
204
  - [DeleteTagRequestDto](truefoundry/ml/autogen/client/docs/DeleteTagRequestDto.md)
@@ -0,0 +1,286 @@
1
+ # generated by datamodel-codegen:
2
+ # filename: artifacts.json
3
+ # timestamp: 2024-09-12T13:40:36+00:00
4
+
5
+ from __future__ import annotations
6
+
7
+ from enum import Enum
8
+ from typing import Any, Dict, List, Literal, Optional, Union
9
+
10
+ from truefoundry.pydantic_v1 import BaseModel, Field, constr
11
+
12
+
13
+ class Agent(BaseModel):
14
+ type: Literal["agent"] = Field(..., description="+value=agent")
15
+ name: constr(regex=r"^[a-zA-Z][a-zA-Z0-9\-]{1,30}[a-zA-Z0-9]$") = Field(
16
+ ..., description="Names cannot repeat accross agent\n+uiType=Hidden"
17
+ )
18
+ available_tools: List[constr(min_length=1)] = Field(
19
+ ..., description="+sort=30\n+uiType=Hidden"
20
+ )
21
+ goal: constr(min_length=1, max_length=128) = Field(
22
+ ..., description="+sort=10\n+uiType=TextArea"
23
+ )
24
+ instruction: constr(min_length=1, max_length=2620) = Field(
25
+ ...,
26
+ description='`instruction` is the system prompt for now. (2.5 * 1024)\n+sort=20\n+uiType=AgentInstructions\n+uiProps={"helpText":"Use the syntax ${Tool FQN} to reference a tool, and ${AGENT FQN} to reference another agent"}',
27
+ )
28
+ model_id: constr(min_length=1) = Field(
29
+ ...,
30
+ description='+sort=40\n+uiType=EnabledModelSelector\n+uiProps={"searchable":true,"modelType":"chat","providerType":"openai"}',
31
+ )
32
+
33
+
34
+ class Method(str, Enum):
35
+ """
36
+ +sort=50
37
+ +uiType=Hidden
38
+ """
39
+
40
+ get = "get"
41
+ post = "post"
42
+ put = "put"
43
+ delete = "delete"
44
+ patch = "patch"
45
+
46
+
47
+ class AgentWithFQN(Agent):
48
+ id: str
49
+ fqn: str
50
+
51
+
52
+ class MimeType(str, Enum):
53
+ """
54
+ +label=MIME Type
55
+ +usage=MIME type of the content
56
+ """
57
+
58
+ text_plain = "text/plain"
59
+ application_json = "application/json"
60
+ image_png = "image/png"
61
+ image_jpeg = "image/jpeg"
62
+ application_x_directory = "application/x-directory"
63
+
64
+
65
+ class BlobStorageReference(BaseModel):
66
+ """
67
+ +usage=Blob Storage Location
68
+ +label=Blob Storage Location
69
+ +docs=Defines the structure for blob storage content references, including type, path, and mime_type
70
+ """
71
+
72
+ type: Literal["blob-storage"]
73
+ path: constr(regex=r"^.{1,}$") = Field(
74
+ ..., description="+label=Path\n+usage=Path to the content in blob storage"
75
+ )
76
+ mime_type: MimeType = Field(
77
+ ..., description="+label=MIME Type\n+usage=MIME type of the content"
78
+ )
79
+
80
+
81
+ class ImageUrl(BaseModel):
82
+ """
83
+ +label=URL for the image
84
+ +usage=The URL for the image, must be a non-empty valid HTTPS URL or a data URL
85
+ """
86
+
87
+ url: Union[
88
+ constr(
89
+ regex=r"^\b((https?://)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}(?:[-a-zA-Z0-9()@:%_\+.~#?&/=]*)|data:image/[a-zA-Z]+;base64,[a-zA-Z0-9+/=\s]+)$"
90
+ ),
91
+ BlobStorageReference,
92
+ ] = Field(
93
+ ...,
94
+ description="+label=URL for the image\n+usage=The URL for the image, must be a non-empty valid HTTPS URL or a data URL",
95
+ )
96
+
97
+
98
+ class ImageContentPart(BaseModel):
99
+ """
100
+ +usage=Image URL
101
+ +label=Image URL
102
+ """
103
+
104
+ type: Literal["image_url"]
105
+ image_url: ImageUrl = Field(
106
+ ...,
107
+ description="+label=URL for the image\n+usage=The URL for the image, must be a non-empty valid HTTPS URL or a data URL",
108
+ )
109
+
110
+
111
+ class Parameters(BaseModel):
112
+ """
113
+ +usage=Parameters for the provider
114
+ +label=Parameters
115
+ +docs=Key-value pairs to store additional parameters for the provider
116
+ """
117
+
118
+ max_tokens: Optional[int] = None
119
+ temperature: Optional[float] = None
120
+ top_k: Optional[float] = None
121
+ top_p: Optional[float] = None
122
+ stop: Optional[Union[List[str], str]] = None
123
+
124
+
125
+ class ModelConfiguration(BaseModel):
126
+ """
127
+ +label=Model Configuration
128
+ +icon=fa-cogs:#326ce5
129
+ +message=Configuration details for the provider and corresponding config
130
+ +usage=Define the provider and its configuration
131
+ +docs=Configuration settings specific to the provider, including model settings and other parameters.
132
+ """
133
+
134
+ provider: str = Field(
135
+ ...,
136
+ description='+label=Provider Name\n+usage=Name of the provider, must be non-empty, e.g., "openai", "google_gemini"',
137
+ )
138
+ model: constr(regex=r"^[a-zA-Z][a-zA-Z0-9\-]{1,30}[a-zA-Z0-9]$") = Field(
139
+ ..., description="+label=Model name\n+usage=Model name, must be non-empty"
140
+ )
141
+ parameters: Optional[Parameters] = Field(
142
+ None,
143
+ description="+usage=Parameters for the provider\n+label=Parameters\n+docs=Key-value pairs to store additional parameters for the provider",
144
+ )
145
+ extra_parameters: Optional[Dict[str, Any]] = Field(
146
+ None,
147
+ description="+usage=Extra parameters for the provider\n+label=Extra Parameters\n+docs=Additional parameters for the provider",
148
+ )
149
+
150
+
151
+ class SystemMessage(BaseModel):
152
+ """
153
+ +usage=System message
154
+ +docs=Defines the structure of a system message, including role and content
155
+ +label=System Message
156
+ """
157
+
158
+ role: Literal["system"]
159
+ content: Union[constr(regex=r"^.[\s\S]*$"), BlobStorageReference] = Field(
160
+ ..., description="+label=Content\n+usage=Text content for the system message"
161
+ )
162
+ name: Optional[str] = Field(
163
+ None, description="+label=Name\n+usage=Name of the system"
164
+ )
165
+
166
+
167
+ class TextContentPart(BaseModel):
168
+ """
169
+ +usage=Text content
170
+ +label=Text content
171
+ """
172
+
173
+ type: Literal["text"]
174
+ text: Union[constr(regex=r"^.[\s\S]*$"), BlobStorageReference]
175
+
176
+
177
+ class UserMessage(BaseModel):
178
+ """
179
+ +usage=User message
180
+ +docs=Defines the structure of a user message, including role and content
181
+ +label=User Message
182
+ """
183
+
184
+ role: Literal["user"]
185
+ content: Union[
186
+ constr(regex=r"^.[\s\S]*$"),
187
+ BlobStorageReference,
188
+ List[Union[TextContentPart, ImageContentPart]],
189
+ ] = Field(
190
+ ..., description="+label=Content\n+usage=Text content for the user message"
191
+ )
192
+ name: Optional[str] = Field(
193
+ None, description="+label=Name\n+usage=Name of the user message"
194
+ )
195
+
196
+
197
+ class AgentOpenAPITool(BaseModel):
198
+ type: Literal["openapi-tool"] = Field(..., description="+value=openapi-tool")
199
+ name: constr(regex=r"^[a-zA-Z][a-zA-Z0-9\-]{1,30}[a-zA-Z0-9]$") = Field(
200
+ ..., description="Names cannot repeat accross tools\n+uiType=Hidden"
201
+ )
202
+ description: constr(min_length=1, max_length=128) = Field(
203
+ ..., description="+sort=10\n+uiType=TextArea"
204
+ )
205
+ openapi_spec: Union[BlobStorageReference, Dict[str, Any]] = Field(
206
+ ..., description="+sort=20\n+uiType=OpenapiSchema"
207
+ )
208
+ base_url: constr(
209
+ regex=r"^(https?://)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}(?:[-a-zA-Z0-9()@:%_\+.~#?&/=]*)$"
210
+ ) = Field(..., description="+sort=30")
211
+ path: constr(min_length=1) = Field(
212
+ ...,
213
+ description="+sort=40\n+uiType=MethodPathSelector\n+label=Method + Path\n+usage=Select one Method and Path for this tool",
214
+ )
215
+ method: Method = Field(..., description="+sort=50\n+uiType=Hidden")
216
+ headers: Optional[Dict[str, str]] = Field(
217
+ None,
218
+ description='+sort=60\n+uiType=KV\n+uiProps={"allowSecrets":true,"secretConfig":{"enableNew":true,"hideOptions":true}}',
219
+ )
220
+
221
+
222
+ class AgentOpenAPIToolWithFQN(AgentOpenAPITool):
223
+ id: str
224
+ fqn: str
225
+
226
+
227
+ class AssistantMessage(BaseModel):
228
+ """
229
+ +usage=Assistant message
230
+ +docs=Defines the structure of an assistant message, including role and content
231
+ +label=Assistant Message
232
+ """
233
+
234
+ role: Literal["assistant"]
235
+ content: Union[constr(regex=r"^.[\s\S]*$"), BlobStorageReference] = Field(
236
+ ..., description="+label=Content\n+usage=Text content for the assistant message"
237
+ )
238
+ name: Optional[str] = Field(
239
+ None, description="+label=Name\n+usage=Name of the assistant message"
240
+ )
241
+
242
+
243
+ class BasePrompt(BaseModel):
244
+ """
245
+ Main prompt structure
246
+ """
247
+
248
+ name: constr(regex=r"^[a-zA-Z][a-zA-Z0-9-_]{0,254}[a-zA-Z0-9]$") = Field(
249
+ ...,
250
+ description="+label=Prompt Name\n+icon=fa-desktop:#326ce5\n+message=Alphanumeric word, may contain '-' with a maximum length of 256 characters\n+sort=1000\n+usage=Name of the Prompt. This uniquely identifies it in the workspace.\n+docs=The unique name for the prompt, consisting of alphanumeric characters and dashes, max length 100.",
251
+ )
252
+ description: Optional[constr(min_length=1, max_length=512)] = Field(
253
+ None,
254
+ description="+label=Description\n+icon=fa-desktop:#326ce5\n+message=Description in a maximum of 512 characters\n+sort=2000\n+usage=Description of the prompt\n+docs=An optional description for the prompt, with a maximum length of 512 characters.\n+optional",
255
+ )
256
+ model_configuration: ModelConfiguration
257
+ metadata: Dict[str, str] = Field(
258
+ ...,
259
+ description="+label=Metadata\n+icon=fa-info-circle:#326ce5\n+message=Additional metadata for the prompt\n+sort=7000\n+usage=Define additional metadata for the prompt\n+docs=Key-value pairs to store additional metadata related to the prompt.",
260
+ )
261
+
262
+
263
+ class ChatPrompt(BasePrompt):
264
+ type: Literal["chat_prompt"] = Field(
265
+ ...,
266
+ description='+label=Type\n+icon=fa-desktop:#326ce5\n+message=Type of the prompt\n+sort=3000\n+usage=Type of the prompt\n+docs=Type of the prompt, set to "chat_prompt"\n+default="chat_prompt"',
267
+ )
268
+ messages: List[Union[SystemMessage, AssistantMessage, UserMessage]] = Field(
269
+ ...,
270
+ description="+sort=4000\n+usage=Chat completion messages\n+label=Messages in the chat conversation\n+message=Chat completion messages\n+usage=List of messages in the chat conversation, must be non-empty\n+docs=Messages that define the chat conversation, including system, assistant, and user messages.",
271
+ )
272
+ variables: Optional[Dict[str, Optional[str]]] = Field(
273
+ None,
274
+ description="+label=Variables\n+usage=Variables for the chat completion messages to be used in the prompt messages\n+sort=5000",
275
+ )
276
+
277
+
278
+ class AgentApp(BaseModel):
279
+ type: Literal["agent-app"] = Field(..., description="+value=agent-app")
280
+ tools: List[AgentOpenAPIToolWithFQN]
281
+ agents: List[AgentWithFQN]
282
+ root_agent: constr(min_length=1)
283
+
284
+
285
+ class Artifacts(BaseModel):
286
+ __root__: Union[ChatPrompt, AgentOpenAPITool, Agent, AgentApp]
@@ -23,7 +23,7 @@ def _http_request(
23
23
  headers = kwargs.pop("headers", {}) or {}
24
24
  if token is not None:
25
25
  headers["Authorization"] = f"Bearer {token}"
26
- return session.request(method=method, url=url, **kwargs)
26
+ return session.request(method=method, url=url, headers=headers, **kwargs)
27
27
 
28
28
 
29
29
  def http_request(