agenta 0.36.2__py3-none-any.whl → 0.36.4__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 agenta might be problematic. Click here for more details.

Files changed (209) hide show
  1. agenta/__init__.py +5 -5
  2. agenta/client/Readme.md +3 -3
  3. agenta/client/__init__.py +294 -0
  4. agenta/client/client.py +3192 -466
  5. agenta/sdk/__init__.py +5 -5
  6. agenta/sdk/agenta_init.py +28 -54
  7. agenta/sdk/client.py +1 -1
  8. agenta/sdk/managers/shared.py +3 -3
  9. agenta/sdk/middleware/auth.py +18 -9
  10. agenta/sdk/middleware/config.py +0 -2
  11. agenta/sdk/middleware/vault.py +3 -3
  12. agenta/sdk/types.py +2 -2
  13. {agenta-0.36.2.dist-info → agenta-0.36.4.dist-info}/METADATA +1 -2
  14. agenta-0.36.4.dist-info/RECORD +236 -0
  15. agenta/cli/helper.py +0 -202
  16. agenta/cli/main.py +0 -229
  17. agenta/cli/telemetry.py +0 -50
  18. agenta/cli/variant_commands.py +0 -526
  19. agenta/cli/variant_configs.py +0 -49
  20. agenta/client/api.py +0 -74
  21. agenta/client/api_models.py +0 -34
  22. agenta/client/backend/__init__.py +0 -294
  23. agenta/client/backend/client.py +0 -3289
  24. agenta/client/exceptions.py +0 -2
  25. agenta/docker/docker-assets/Dockerfile.cloud.template +0 -9
  26. agenta/docker/docker-assets/Dockerfile.oss.template +0 -13
  27. agenta/docker/docker-assets/Dockerfile.template +0 -13
  28. agenta/docker/docker-assets/README.md +0 -1
  29. agenta/docker/docker-assets/entrypoint.sh +0 -7
  30. agenta/docker/docker-assets/lambda_function.py +0 -6
  31. agenta/docker/docker-assets/main.py +0 -13
  32. agenta/docker/docker_utils.py +0 -100
  33. agenta-0.36.2.dist-info/RECORD +0 -255
  34. agenta-0.36.2.dist-info/entry_points.txt +0 -3
  35. /agenta/client/{backend/access_control → access_control}/__init__.py +0 -0
  36. /agenta/client/{backend/access_control → access_control}/client.py +0 -0
  37. /agenta/client/{backend/admin → admin}/__init__.py +0 -0
  38. /agenta/client/{backend/admin → admin}/client.py +0 -0
  39. /agenta/client/{backend/apps → apps}/__init__.py +0 -0
  40. /agenta/client/{backend/apps → apps}/client.py +0 -0
  41. /agenta/client/{backend/bases → bases}/__init__.py +0 -0
  42. /agenta/client/{backend/bases → bases}/client.py +0 -0
  43. /agenta/client/{backend/configs → configs}/__init__.py +0 -0
  44. /agenta/client/{backend/configs → configs}/client.py +0 -0
  45. /agenta/client/{backend/containers → containers}/__init__.py +0 -0
  46. /agenta/client/{backend/containers → containers}/client.py +0 -0
  47. /agenta/client/{backend/containers → containers}/types/__init__.py +0 -0
  48. /agenta/client/{backend/containers → containers}/types/container_templates_response.py +0 -0
  49. /agenta/client/{backend/core → core}/__init__.py +0 -0
  50. /agenta/client/{backend/core → core}/api_error.py +0 -0
  51. /agenta/client/{backend/core → core}/client_wrapper.py +0 -0
  52. /agenta/client/{backend/core → core}/datetime_utils.py +0 -0
  53. /agenta/client/{backend/core → core}/file.py +0 -0
  54. /agenta/client/{backend/core → core}/http_client.py +0 -0
  55. /agenta/client/{backend/core → core}/jsonable_encoder.py +0 -0
  56. /agenta/client/{backend/core → core}/pydantic_utilities.py +0 -0
  57. /agenta/client/{backend/core → core}/query_encoder.py +0 -0
  58. /agenta/client/{backend/core → core}/remove_none_from_dict.py +0 -0
  59. /agenta/client/{backend/core → core}/request_options.py +0 -0
  60. /agenta/client/{backend/core → core}/serialization.py +0 -0
  61. /agenta/client/{backend/environments → environments}/__init__.py +0 -0
  62. /agenta/client/{backend/environments → environments}/client.py +0 -0
  63. /agenta/client/{backend/errors → errors}/__init__.py +0 -0
  64. /agenta/client/{backend/errors → errors}/unprocessable_entity_error.py +0 -0
  65. /agenta/client/{backend/evaluations → evaluations}/__init__.py +0 -0
  66. /agenta/client/{backend/evaluations → evaluations}/client.py +0 -0
  67. /agenta/client/{backend/evaluators → evaluators}/__init__.py +0 -0
  68. /agenta/client/{backend/evaluators → evaluators}/client.py +0 -0
  69. /agenta/client/{backend/human_evaluations → human_evaluations}/__init__.py +0 -0
  70. /agenta/client/{backend/human_evaluations → human_evaluations}/client.py +0 -0
  71. /agenta/client/{backend/observability → observability}/__init__.py +0 -0
  72. /agenta/client/{backend/observability → observability}/client.py +0 -0
  73. /agenta/client/{backend/observability → observability}/types/__init__.py +0 -0
  74. /agenta/client/{backend/observability → observability}/types/format.py +0 -0
  75. /agenta/client/{backend/observability → observability}/types/query_analytics_response.py +0 -0
  76. /agenta/client/{backend/observability → observability}/types/query_traces_response.py +0 -0
  77. /agenta/client/{backend/scopes → scopes}/__init__.py +0 -0
  78. /agenta/client/{backend/scopes → scopes}/client.py +0 -0
  79. /agenta/client/{backend/testsets → testsets}/__init__.py +0 -0
  80. /agenta/client/{backend/testsets → testsets}/client.py +0 -0
  81. /agenta/client/{backend/types → types}/__init__.py +0 -0
  82. /agenta/client/{backend/types → types}/account_response.py +0 -0
  83. /agenta/client/{backend/types → types}/agenta_node_dto.py +0 -0
  84. /agenta/client/{backend/types → types}/agenta_node_dto_nodes_value.py +0 -0
  85. /agenta/client/{backend/types → types}/agenta_nodes_response.py +0 -0
  86. /agenta/client/{backend/types → types}/agenta_root_dto.py +0 -0
  87. /agenta/client/{backend/types → types}/agenta_roots_response.py +0 -0
  88. /agenta/client/{backend/types → types}/agenta_tree_dto.py +0 -0
  89. /agenta/client/{backend/types → types}/agenta_trees_response.py +0 -0
  90. /agenta/client/{backend/types → types}/aggregated_result.py +0 -0
  91. /agenta/client/{backend/types → types}/aggregated_result_evaluator_config.py +0 -0
  92. /agenta/client/{backend/types → types}/analytics_response.py +0 -0
  93. /agenta/client/{backend/types → types}/app.py +0 -0
  94. /agenta/client/{backend/types → types}/app_variant_response.py +0 -0
  95. /agenta/client/{backend/types → types}/app_variant_revision.py +0 -0
  96. /agenta/client/{backend/types → types}/base_output.py +0 -0
  97. /agenta/client/{backend/types → types}/body_import_testset.py +0 -0
  98. /agenta/client/{backend/types → types}/bucket_dto.py +0 -0
  99. /agenta/client/{backend/types → types}/collect_status_response.py +0 -0
  100. /agenta/client/{backend/types → types}/config_db.py +0 -0
  101. /agenta/client/{backend/types → types}/config_dto.py +0 -0
  102. /agenta/client/{backend/types → types}/config_response_model.py +0 -0
  103. /agenta/client/{backend/types → types}/correct_answer.py +0 -0
  104. /agenta/client/{backend/types → types}/create_app_output.py +0 -0
  105. /agenta/client/{backend/types → types}/delete_evaluation.py +0 -0
  106. /agenta/client/{backend/types → types}/docker_env_vars.py +0 -0
  107. /agenta/client/{backend/types → types}/environment_output.py +0 -0
  108. /agenta/client/{backend/types → types}/environment_output_extended.py +0 -0
  109. /agenta/client/{backend/types → types}/environment_revision.py +0 -0
  110. /agenta/client/{backend/types → types}/error.py +0 -0
  111. /agenta/client/{backend/types → types}/evaluation.py +0 -0
  112. /agenta/client/{backend/types → types}/evaluation_scenario.py +0 -0
  113. /agenta/client/{backend/types → types}/evaluation_scenario_input.py +0 -0
  114. /agenta/client/{backend/types → types}/evaluation_scenario_output.py +0 -0
  115. /agenta/client/{backend/types → types}/evaluation_scenario_result.py +0 -0
  116. /agenta/client/{backend/types → types}/evaluation_status_enum.py +0 -0
  117. /agenta/client/{backend/types → types}/evaluation_type.py +0 -0
  118. /agenta/client/{backend/types → types}/evaluator.py +0 -0
  119. /agenta/client/{backend/types → types}/evaluator_config.py +0 -0
  120. /agenta/client/{backend/types → types}/evaluator_mapping_output_interface.py +0 -0
  121. /agenta/client/{backend/types → types}/evaluator_output_interface.py +0 -0
  122. /agenta/client/{backend/types → types}/exception_dto.py +0 -0
  123. /agenta/client/{backend/types → types}/get_config_response.py +0 -0
  124. /agenta/client/{backend/types → types}/header_dto.py +0 -0
  125. /agenta/client/{backend/types → types}/http_validation_error.py +0 -0
  126. /agenta/client/{backend/types → types}/human_evaluation.py +0 -0
  127. /agenta/client/{backend/types → types}/human_evaluation_scenario.py +0 -0
  128. /agenta/client/{backend/types → types}/human_evaluation_scenario_input.py +0 -0
  129. /agenta/client/{backend/types → types}/human_evaluation_scenario_output.py +0 -0
  130. /agenta/client/{backend/types → types}/image.py +0 -0
  131. /agenta/client/{backend/types → types}/invite_request.py +0 -0
  132. /agenta/client/{backend/types → types}/legacy_analytics_response.py +0 -0
  133. /agenta/client/{backend/types → types}/legacy_data_point.py +0 -0
  134. /agenta/client/{backend/types → types}/legacy_scope_request.py +0 -0
  135. /agenta/client/{backend/types → types}/legacy_scopes_response.py +0 -0
  136. /agenta/client/{backend/types → types}/legacy_user_request.py +0 -0
  137. /agenta/client/{backend/types → types}/legacy_user_response.py +0 -0
  138. /agenta/client/{backend/types → types}/lifecycle_dto.py +0 -0
  139. /agenta/client/{backend/types → types}/link_dto.py +0 -0
  140. /agenta/client/{backend/types → types}/list_api_keys_response.py +0 -0
  141. /agenta/client/{backend/types → types}/llm_run_rate_limit.py +0 -0
  142. /agenta/client/{backend/types → types}/metrics_dto.py +0 -0
  143. /agenta/client/{backend/types → types}/new_testset.py +0 -0
  144. /agenta/client/{backend/types → types}/node_dto.py +0 -0
  145. /agenta/client/{backend/types → types}/node_type.py +0 -0
  146. /agenta/client/{backend/types → types}/o_tel_context_dto.py +0 -0
  147. /agenta/client/{backend/types → types}/o_tel_event_dto.py +0 -0
  148. /agenta/client/{backend/types → types}/o_tel_extra_dto.py +0 -0
  149. /agenta/client/{backend/types → types}/o_tel_link_dto.py +0 -0
  150. /agenta/client/{backend/types → types}/o_tel_span_dto.py +0 -0
  151. /agenta/client/{backend/types → types}/o_tel_span_kind.py +0 -0
  152. /agenta/client/{backend/types → types}/o_tel_spans_response.py +0 -0
  153. /agenta/client/{backend/types → types}/o_tel_status_code.py +0 -0
  154. /agenta/client/{backend/types → types}/organization.py +0 -0
  155. /agenta/client/{backend/types → types}/organization_membership_request.py +0 -0
  156. /agenta/client/{backend/types → types}/organization_output.py +0 -0
  157. /agenta/client/{backend/types → types}/organization_request.py +0 -0
  158. /agenta/client/{backend/types → types}/parent_dto.py +0 -0
  159. /agenta/client/{backend/types → types}/permission.py +0 -0
  160. /agenta/client/{backend/types → types}/project_membership_request.py +0 -0
  161. /agenta/client/{backend/types → types}/project_request.py +0 -0
  162. /agenta/client/{backend/types → types}/project_scope.py +0 -0
  163. /agenta/client/{backend/types → types}/projects_response.py +0 -0
  164. /agenta/client/{backend/types → types}/provider_key_dto.py +0 -0
  165. /agenta/client/{backend/types → types}/provider_kind.py +0 -0
  166. /agenta/client/{backend/types → types}/reference.py +0 -0
  167. /agenta/client/{backend/types → types}/reference_dto.py +0 -0
  168. /agenta/client/{backend/types → types}/reference_request_model.py +0 -0
  169. /agenta/client/{backend/types → types}/result.py +0 -0
  170. /agenta/client/{backend/types → types}/role.py +0 -0
  171. /agenta/client/{backend/types → types}/root_dto.py +0 -0
  172. /agenta/client/{backend/types → types}/scopes_response_model.py +0 -0
  173. /agenta/client/{backend/types → types}/score.py +0 -0
  174. /agenta/client/{backend/types → types}/secret_dto.py +0 -0
  175. /agenta/client/{backend/types → types}/secret_kind.py +0 -0
  176. /agenta/client/{backend/types → types}/secret_response_dto.py +0 -0
  177. /agenta/client/{backend/types → types}/simple_evaluation_output.py +0 -0
  178. /agenta/client/{backend/types → types}/span_dto.py +0 -0
  179. /agenta/client/{backend/types → types}/span_dto_nodes_value.py +0 -0
  180. /agenta/client/{backend/types → types}/status_code.py +0 -0
  181. /agenta/client/{backend/types → types}/status_dto.py +0 -0
  182. /agenta/client/{backend/types → types}/template.py +0 -0
  183. /agenta/client/{backend/types → types}/template_image_info.py +0 -0
  184. /agenta/client/{backend/types → types}/test_set_output_response.py +0 -0
  185. /agenta/client/{backend/types → types}/test_set_simple_response.py +0 -0
  186. /agenta/client/{backend/types → types}/time_dto.py +0 -0
  187. /agenta/client/{backend/types → types}/tree_dto.py +0 -0
  188. /agenta/client/{backend/types → types}/tree_type.py +0 -0
  189. /agenta/client/{backend/types → types}/update_app_output.py +0 -0
  190. /agenta/client/{backend/types → types}/uri.py +0 -0
  191. /agenta/client/{backend/types → types}/user_request.py +0 -0
  192. /agenta/client/{backend/types → types}/validation_error.py +0 -0
  193. /agenta/client/{backend/types → types}/validation_error_loc_item.py +0 -0
  194. /agenta/client/{backend/types → types}/variant_action.py +0 -0
  195. /agenta/client/{backend/types → types}/variant_action_enum.py +0 -0
  196. /agenta/client/{backend/types → types}/workspace_member_response.py +0 -0
  197. /agenta/client/{backend/types → types}/workspace_membership_request.py +0 -0
  198. /agenta/client/{backend/types → types}/workspace_permission.py +0 -0
  199. /agenta/client/{backend/types → types}/workspace_request.py +0 -0
  200. /agenta/client/{backend/types → types}/workspace_response.py +0 -0
  201. /agenta/client/{backend/types → types}/workspace_role.py +0 -0
  202. /agenta/client/{backend/types → types}/workspace_role_response.py +0 -0
  203. /agenta/client/{backend/variants → variants}/__init__.py +0 -0
  204. /agenta/client/{backend/variants → variants}/client.py +0 -0
  205. /agenta/client/{backend/variants → variants}/types/__init__.py +0 -0
  206. /agenta/client/{backend/variants → variants}/types/add_variant_from_base_and_config_response.py +0 -0
  207. /agenta/client/{backend/vault → vault}/__init__.py +0 -0
  208. /agenta/client/{backend/vault → vault}/client.py +0 -0
  209. {agenta-0.36.2.dist-info → agenta-0.36.4.dist-info}/WHEEL +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes