arize 8.0.0b0__tar.gz → 8.0.0b1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. {arize-8.0.0b0 → arize-8.0.0b1}/PKG-INFO +53 -62
  2. {arize-8.0.0b0 → arize-8.0.0b1}/README.md +26 -24
  3. {arize-8.0.0b0 → arize-8.0.0b1}/pyproject.toml +21 -41
  4. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/__init__.py +0 -2
  5. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/__init__.py +0 -1
  6. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/datasets_create_request.py +2 -10
  7. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/datasets_examples_insert_request.py +2 -10
  8. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_datasets_create_request.py +2 -6
  9. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_datasets_examples_insert_request.py +2 -6
  10. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_datasets_examples_list200_response.py +2 -6
  11. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_datasets_examples_update_request.py +2 -6
  12. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_experiments_create_request.py +2 -6
  13. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_experiments_runs_list200_response.py +2 -6
  14. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client_README.md +0 -1
  15. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/client.py +12 -38
  16. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/__init__.py +2 -2
  17. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/client.py +2 -3
  18. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/functions.py +6 -6
  19. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/types.py +3 -3
  20. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/client.py +2 -2
  21. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/version.py +1 -1
  22. arize-8.0.0b0/src/arize/_generated/api_client/models/primitive_value.py +0 -172
  23. arize-8.0.0b0/src/arize/_generated/api_client/test/test_primitive_value.py +0 -50
  24. {arize-8.0.0b0 → arize-8.0.0b1}/.gitignore +0 -0
  25. {arize-8.0.0b0 → arize-8.0.0b1}/LICENSE +0 -0
  26. {arize-8.0.0b0 → arize-8.0.0b1}/NOTICE +0 -0
  27. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/__init__.py +0 -0
  28. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_exporter/__init__.py +0 -0
  29. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_exporter/client.py +0 -0
  30. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_exporter/parsers/__init__.py +0 -0
  31. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_exporter/parsers/tracing_data_parser.py +0 -0
  32. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_exporter/validation.py +0 -0
  33. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_flight/__init__.py +0 -0
  34. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_flight/client.py +0 -0
  35. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_flight/types.py +0 -0
  36. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/__init__.py +0 -0
  37. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/api/__init__.py +0 -0
  38. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/api/datasets_api.py +0 -0
  39. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/api/experiments_api.py +0 -0
  40. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/api/projects_api.py +0 -0
  41. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/api_client.py +0 -0
  42. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/api_response.py +0 -0
  43. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/configuration.py +0 -0
  44. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/exceptions.py +0 -0
  45. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/dataset.py +0 -0
  46. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/dataset_example.py +0 -0
  47. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/dataset_example_update.py +0 -0
  48. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/dataset_version.py +0 -0
  49. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/datasets_examples_list200_response.py +0 -0
  50. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/datasets_examples_update_request.py +0 -0
  51. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/datasets_list200_response.py +0 -0
  52. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/experiment.py +0 -0
  53. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/experiment_run.py +0 -0
  54. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/experiment_run_create.py +0 -0
  55. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/experiments_create_request.py +0 -0
  56. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/experiments_list200_response.py +0 -0
  57. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/experiments_runs_list200_response.py +0 -0
  58. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/pagination_metadata.py +0 -0
  59. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/problem.py +0 -0
  60. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/project.py +0 -0
  61. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/projects_create_request.py +0 -0
  62. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/models/projects_list200_response.py +0 -0
  63. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/rest.py +0 -0
  64. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/__init__.py +0 -0
  65. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_dataset.py +0 -0
  66. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_dataset_example.py +0 -0
  67. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_dataset_example_update.py +0 -0
  68. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_dataset_version.py +0 -0
  69. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_datasets_api.py +0 -0
  70. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_datasets_list200_response.py +0 -0
  71. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_experiment.py +0 -0
  72. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_experiment_run.py +0 -0
  73. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_experiment_run_create.py +0 -0
  74. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_experiments_api.py +0 -0
  75. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_experiments_list200_response.py +0 -0
  76. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_pagination_metadata.py +0 -0
  77. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_problem.py +0 -0
  78. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_project.py +0 -0
  79. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_projects_api.py +0 -0
  80. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_projects_create_request.py +0 -0
  81. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/api_client/test/test_projects_list200_response.py +0 -0
  82. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/protocol/__init__.py +0 -0
  83. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/protocol/flight/__init__.py +0 -0
  84. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/protocol/flight/flight_pb2.py +0 -0
  85. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/protocol/rec/__init__.py +0 -0
  86. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_generated/protocol/rec/public_pb2.py +0 -0
  87. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/_lazy.py +0 -0
  88. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/config.py +0 -0
  89. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/constants/__init__.py +0 -0
  90. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/constants/config.py +0 -0
  91. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/constants/ml.py +0 -0
  92. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/constants/model_mapping.json +0 -0
  93. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/constants/openinference.py +0 -0
  94. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/constants/pyarrow.py +0 -0
  95. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/constants/spans.py +0 -0
  96. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/datasets/__init__.py +0 -0
  97. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/datasets/client.py +0 -0
  98. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/datasets/errors.py +0 -0
  99. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/datasets/validation.py +0 -0
  100. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/embeddings/__init__.py +0 -0
  101. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/embeddings/auto_generator.py +0 -0
  102. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/embeddings/base_generators.py +0 -0
  103. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/embeddings/constants.py +0 -0
  104. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/embeddings/cv_generators.py +0 -0
  105. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/embeddings/errors.py +0 -0
  106. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/embeddings/nlp_generators.py +0 -0
  107. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/embeddings/tabular_generators.py +0 -0
  108. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/embeddings/usecases.py +0 -0
  109. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/exceptions/__init__.py +0 -0
  110. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/exceptions/auth.py +0 -0
  111. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/exceptions/base.py +0 -0
  112. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/exceptions/models.py +0 -0
  113. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/exceptions/parameters.py +0 -0
  114. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/exceptions/spaces.py +0 -0
  115. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/exceptions/types.py +0 -0
  116. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/exceptions/values.py +0 -0
  117. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/evaluators/__init__.py +0 -0
  118. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/evaluators/base.py +0 -0
  119. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/evaluators/exceptions.py +0 -0
  120. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/evaluators/executors.py +0 -0
  121. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/evaluators/rate_limiters.py +0 -0
  122. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/evaluators/types.py +0 -0
  123. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/evaluators/utils.py +0 -0
  124. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/experiments/tracing.py +0 -0
  125. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/logging.py +0 -0
  126. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/__init__.py +0 -0
  127. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/batch_validation/__init__.py +0 -0
  128. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/batch_validation/errors.py +0 -0
  129. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/batch_validation/validator.py +0 -0
  130. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/bounded_executor.py +0 -0
  131. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/casting.py +0 -0
  132. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/client.py +0 -0
  133. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/proto.py +0 -0
  134. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/stream_validation.py +0 -0
  135. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/surrogate_explainer/__init__.py +0 -0
  136. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/surrogate_explainer/mimic.py +0 -0
  137. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/ml/types.py +0 -0
  138. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/pre_releases.py +0 -0
  139. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/projects/__init__.py +0 -0
  140. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/projects/client.py +0 -0
  141. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/regions.py +0 -0
  142. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/__init__.py +0 -0
  143. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/columns.py +0 -0
  144. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/conversion.py +0 -0
  145. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/__init__.py +0 -0
  146. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/annotations/__init__.py +0 -0
  147. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/annotations/annotations_validation.py +0 -0
  148. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/annotations/dataframe_form_validation.py +0 -0
  149. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/annotations/value_validation.py +0 -0
  150. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/common/__init__.py +0 -0
  151. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/common/argument_validation.py +0 -0
  152. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/common/dataframe_form_validation.py +0 -0
  153. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/common/errors.py +0 -0
  154. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/common/value_validation.py +0 -0
  155. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/evals/__init__.py +0 -0
  156. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/evals/dataframe_form_validation.py +0 -0
  157. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/evals/evals_validation.py +0 -0
  158. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/evals/value_validation.py +0 -0
  159. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/metadata/__init__.py +0 -0
  160. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/metadata/argument_validation.py +0 -0
  161. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/metadata/dataframe_form_validation.py +0 -0
  162. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/metadata/value_validation.py +0 -0
  163. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/spans/__init__.py +0 -0
  164. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/spans/dataframe_form_validation.py +0 -0
  165. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/spans/spans_validation.py +0 -0
  166. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/spans/validation/spans/value_validation.py +0 -0
  167. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/__init__.py +0 -0
  168. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/arrow.py +0 -0
  169. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/cache.py +0 -0
  170. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/dataframe.py +0 -0
  171. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/online_tasks/__init__.py +0 -0
  172. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/online_tasks/dataframe_preprocessor.py +0 -0
  173. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/openinference_conversion.py +0 -0
  174. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/proto.py +0 -0
  175. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/size.py +0 -0
  176. {arize-8.0.0b0 → arize-8.0.0b1}/src/arize/utils/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arize
3
- Version: 8.0.0b0
3
+ Version: 8.0.0b1
4
4
  Summary: A helper library to interact with Arize AI APIs
5
5
  Project-URL: Homepage, https://arize.com
6
6
  Project-URL: Documentation, https://docs.arize.com/arize
@@ -26,47 +26,36 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
26
  Classifier: Topic :: System :: Logging
27
27
  Classifier: Topic :: System :: Monitoring
28
28
  Requires-Python: >=3.10
29
- Requires-Dist: lazy-imports
30
29
  Requires-Dist: numpy>=2.0.0
31
- Provides-Extra: auto-embeddings
32
- Requires-Dist: datasets!=2.14.*,<3,>=2.8; extra == 'auto-embeddings'
33
- Requires-Dist: pandas<3,>=1.0.0; extra == 'auto-embeddings'
34
- Requires-Dist: pillow<11,>=8.4.0; extra == 'auto-embeddings'
35
- Requires-Dist: tokenizers<1,>=0.13; extra == 'auto-embeddings'
36
- Requires-Dist: torch<3,>=1.13; extra == 'auto-embeddings'
37
- Requires-Dist: transformers<5,>=4.25; extra == 'auto-embeddings'
38
- Provides-Extra: datasets-experiments
39
- Requires-Dist: numpy>=2.0.0; extra == 'datasets-experiments'
40
- Requires-Dist: openinference-semantic-conventions<1,>=0.1.21; extra == 'datasets-experiments'
41
- Requires-Dist: opentelemetry-api>=1.38.0; extra == 'datasets-experiments'
42
- Requires-Dist: opentelemetry-exporter-otlp-proto-common>=1.38.0; extra == 'datasets-experiments'
43
- Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>=1.38.0; extra == 'datasets-experiments'
44
- Requires-Dist: opentelemetry-proto>=1.38.0; extra == 'datasets-experiments'
45
- Requires-Dist: opentelemetry-sdk>=1.38.0; extra == 'datasets-experiments'
46
- Requires-Dist: pydantic; extra == 'datasets-experiments'
47
- Requires-Dist: wrapt<2.0.0,>=1.0.0; extra == 'datasets-experiments'
30
+ Requires-Dist: openinference-semantic-conventions<1,>=0.1.25
31
+ Requires-Dist: opentelemetry-exporter-otlp-proto-common>=1.38.0
32
+ Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>=1.38.0
33
+ Requires-Dist: opentelemetry-sdk>=1.38.0
34
+ Requires-Dist: opentelemetry-semantic-conventions<1,>=0.43b0
35
+ Requires-Dist: pandas<3,>=2.0.0
36
+ Requires-Dist: protobuf<6,>=4.21.0
37
+ Requires-Dist: pyarrow>=0.15.0
38
+ Requires-Dist: pydantic<3,>=2
39
+ Requires-Dist: python-dateutil<3,>=2.8.2
40
+ Requires-Dist: requests-futures<2,>=1.0.0
41
+ Requires-Dist: requests<3,>=2.0.0
42
+ Requires-Dist: tqdm<5,>4
43
+ Requires-Dist: typing-extensions<5,>=4.7.1
44
+ Requires-Dist: urllib3<3,>=2.1.0
45
+ Requires-Dist: wrapt<2.0.0,>=1.0.0
48
46
  Provides-Extra: dev
49
47
  Requires-Dist: pytest==8.4.2; extra == 'dev'
50
48
  Requires-Dist: ruff==0.13.2; extra == 'dev'
51
- Provides-Extra: mimic-explainer
52
- Requires-Dist: interpret-community[mimic]<1,>=0.22.0; extra == 'mimic-explainer'
53
- Provides-Extra: ml-batch
54
- Requires-Dist: pandas<3,>=1.0.0; extra == 'ml-batch'
55
- Requires-Dist: protobuf<6,>=4.21.0; extra == 'ml-batch'
56
- Requires-Dist: pyarrow>=0.15.0; extra == 'ml-batch'
57
- Requires-Dist: requests<3,>=2.0.0; extra == 'ml-batch'
58
- Requires-Dist: tqdm; extra == 'ml-batch'
59
- Provides-Extra: ml-stream
60
- Requires-Dist: protobuf<6,>=4.21.0; extra == 'ml-stream'
61
- Requires-Dist: requests-futures<2,>=1.0.0; extra == 'ml-stream'
62
- Provides-Extra: spans
63
- Requires-Dist: openinference-semantic-conventions<1,>=0.1.21; extra == 'spans'
64
- Requires-Dist: opentelemetry-semantic-conventions<1,>=0.43b0; extra == 'spans'
65
- Requires-Dist: pandas<3,>=1.0.0; extra == 'spans'
66
- Requires-Dist: protobuf<6,>=4.21.0; extra == 'spans'
67
- Requires-Dist: pyarrow>=0.15.0; extra == 'spans'
68
- Requires-Dist: requests<3,>=2.0.0; extra == 'spans'
69
- Requires-Dist: tqdm; extra == 'spans'
49
+ Provides-Extra: embeddings
50
+ Requires-Dist: datasets!=2.14.*,<3,>=2.8; extra == 'embeddings'
51
+ Requires-Dist: pillow<11,>=8.4.0; extra == 'embeddings'
52
+ Requires-Dist: tokenizers<1,>=0.13; extra == 'embeddings'
53
+ Requires-Dist: torch<3,>=1.13; extra == 'embeddings'
54
+ Requires-Dist: transformers<5,>=4.25; extra == 'embeddings'
55
+ Provides-Extra: mimic
56
+ Requires-Dist: interpret-community[mimic]<1,>=0.22.0; extra == 'mimic'
57
+ Provides-Extra: otel
58
+ Requires-Dist: arize-otel<1,>=0.11.0; extra == 'otel'
70
59
  Description-Content-Type: text/markdown
71
60
 
72
61
  <p align="center">
@@ -130,16 +119,18 @@ Description-Content-Type: text/markdown
130
119
 
131
120
  A helper package to interact with Arize AI APIs.
132
121
 
133
- Arize is an AI engineering platform. It helps engineers develop, evaluate, and observe AI applications and agents.
122
+ Arize is an AI engineering platform. It helps engineers develop, evaluate, and observe AI applications and agents.
123
+
124
+ Arize has both Enterprise and OSS products to support this goal:
134
125
 
135
- Arize has both Enterprise and OSS products to support this goal:
136
126
  - [Arize AX](https://arize.com/) — an enterprise AI engineering platform from development to production, with an embedded AI Copilot
137
127
  - [Phoenix](https://github.com/Arize-ai/phoenix) — a lightweight, open-source project for tracing, prompt engineering, and evaluation
138
128
  - [OpenInference](https://github.com/Arize-ai/openinference) — an open-source instrumentation package to trace LLM applications across models and frameworks
139
129
 
140
- We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 million OSS downloads every month.
130
+ We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 million OSS downloads every month.
141
131
 
142
132
  # Key Features
133
+
143
134
  - [**_Tracing_**](https://docs.arize.com/arize/observe/tracing) - Trace your LLM application's runtime using OpenTelemetry-based instrumentation.
144
135
  - [**_Evaluation_**](https://docs.arize.com/arize/evaluate/online-evals) - Leverage LLMs to benchmark your application's performance using response and retrieval evals.
145
136
  - [**_Datasets_**](https://docs.arize.com/arize/develop/datasets) - Create versioned datasets of examples for experimentation, evaluation, and fine-tuning.
@@ -149,19 +140,21 @@ We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 m
149
140
 
150
141
  # Installation
151
142
 
152
- Install Arize (version 8 is currently under alpha release) via `pip` or `conda`:
143
+ Install Arize (version 8 is currently under beta release) via `pip`:
153
144
 
154
145
  ```bash
155
- pip install arize==8.0.0ax
146
+ pip install --pre arize
156
147
  ```
157
- where `x` denotes the specific alpha release. Install the `arize-otel` package for auto-instrumentation of your LLM library:
148
+
149
+ where `--pre` denotes the installation of pre-release versions. Install the
150
+ `arize-otel` package for auto-instrumentation of your LLM library:
158
151
 
159
152
  ```bash
160
153
  pip install arize-otel
161
154
  ```
162
155
 
163
156
  # Usage
164
-
157
+
165
158
  ## Instrumentation
166
159
 
167
160
  See [arize-otel in PyPI](https://pypi.org/project/arize-otel/):
@@ -183,9 +176,8 @@ OpenAIInstrumentor().instrument(tracer_provider=tracer_provider)
183
176
 
184
177
  ## Operations on Spans
185
178
 
186
- Use `arize.spans` to interact with spans: log spans into Arize, update the span's evaluations, annotations and metadata in bulk.
187
-
188
- > **WARNING**: This is currently under an alpha release. Install with `pip install arize==8.0.0ax` where the `x` denotes the specific alpha version. Check the [pre-releases](https://pypi.org/project/arize/#history) page in PyPI.
179
+ Use `arize.spans` to interact with spans: log spans into Arize, update the span's
180
+ evaluations, annotations and metadata in bulk.
189
181
 
190
182
  ### Logging spans
191
183
 
@@ -259,9 +251,8 @@ df = client.spans.export_to_df(
259
251
 
260
252
  ## Operations on ML Models
261
253
 
262
- Use `arize.models` to interact with ML models: log ML data (traininv, validation, production) into Arize, either streaming or in batches.
263
-
264
- > **WARNING**: This is currently under an alpha release. Install with `pip install arize==8.0.0ax` where the `x` denotes the specific alpha version. Check the [pre-releases](https://pypi.org/project/arize/#history) page in PyPI.
254
+ Use `arize.ml` to interact with ML models: log ML data (training, validation, production)
255
+ into Arize, either streaming or in batches.
265
256
 
266
257
  ### Stream log ML Data for a Classification use-case
267
258
 
@@ -276,7 +267,7 @@ MODEL_NAME = "<your-model-name>"
276
267
  features=...
277
268
  embedding_features=...
278
269
 
279
- response = client.models.log_stream(
270
+ response = client.ml.log_stream(
280
271
  space_id=SPACE_ID,
281
272
  model_name=MODEL_NAME,
282
273
  model_type=ModelTypes.SCORE_CATEGORICAL,
@@ -328,7 +319,7 @@ schema = Schema(
328
319
  )
329
320
 
330
321
  # Logging Production DataFrame
331
- response = client.models.log_batch(
322
+ response = client.ml.log_batch(
332
323
  space_id=SPACE_ID,
333
324
  model_name=MODEL_NAME,
334
325
  model_type=ModelTypes.OBJECT_DETECTION,
@@ -356,7 +347,7 @@ SPACE_ID = "<your-space-id>"
356
347
  MODEL_NAME = "<your-model-name>"
357
348
  MODEL_VERSION = "1.0"
358
349
 
359
- df = client.models.export_to_df(
350
+ df = client.ml.export_to_df(
360
351
  space_id=SPACE_ID,
361
352
  model_name=MODEL_NAME,
362
353
  environment=Environments.TRAINING,
@@ -414,7 +405,7 @@ The response is an object of type `DatasetsList200Response`, and you can access
414
405
 
415
406
  ```python
416
407
  # Get the list of datasets from the response
417
- dataset_list = resp.datasets
408
+ dataset_list = resp.datasets
418
409
  # Get the response as a dictionary
419
410
  resp_dict = resp.to_dict()
420
411
  # Get the response in JSON format
@@ -530,7 +521,7 @@ The response is an object of type `ExperimentsList200Response`, and you can acce
530
521
 
531
522
  ```python
532
523
  # Get the list of datasets from the response
533
- experiment_list = resp.experiments
524
+ experiment_list = resp.experiments
534
525
  # Get the response as a dictionary
535
526
  resp_dict = resp.to_dict()
536
527
  # Get the response in JSON format
@@ -554,7 +545,7 @@ experiment, experiment_df = client.run_experiment(
554
545
  concurrency=..., # The number of concurrent tasks to run. Defaults to 3.
555
546
  set_global_tracer_provider=..., # If True, sets the global tracer provider for the experiment. Defaults to False
556
547
  exit_on_error=..., # If True, the experiment will stop running on first occurrence of an error. Defaults to False
557
- )
548
+ )
558
549
  ```
559
550
 
560
551
  The `Experiment` object also counts with convenience method similar to `List***` objects:
@@ -649,7 +640,7 @@ resp_df = resp.to_df()
649
640
 
650
641
  ### In Code
651
642
 
652
- You can use `configure_logging` to set up the logging behavior of the Arize package to your needs.
643
+ You can use `configure_logging` to set up the logging behavior of the Arize package to your needs.
653
644
 
654
645
  ```python
655
646
  from arize.logging import configure_logging
@@ -657,7 +648,7 @@ from arize.logging import configure_logging
657
648
  configure_logging(
658
649
  level=..., # Defaults to logging.INFO
659
650
  structured=..., # if True, emit JSON logs. Defaults to False
660
- )
651
+ )
661
652
  ```
662
653
 
663
654
  ### Via Environment Variables
@@ -668,11 +659,11 @@ Configure the same options as the section above, via:
668
659
  import os
669
660
 
670
661
  # Whether or not you want to disable logging altogether
671
- os.environ["ARIZE_LOG_ENABLE"] = "true"
662
+ os.environ["ARIZE_LOG_ENABLE"] = "true"
672
663
  # Set up the logging level
673
- os.environ["ARIZE_LOG_LEVEL"] = "debug"
664
+ os.environ["ARIZE_LOG_LEVEL"] = "debug"
674
665
  # Whether or not you want structured JSON logs
675
- os.environ["ARIZE_LOG_STRUCTURED"] = "false"
666
+ os.environ["ARIZE_LOG_STRUCTURED"] = "false"
676
667
  ```
677
668
 
678
669
  The default behavior of Arize's logs is: enabled, `INFO` level, and not structured.
@@ -59,16 +59,18 @@
59
59
 
60
60
  A helper package to interact with Arize AI APIs.
61
61
 
62
- Arize is an AI engineering platform. It helps engineers develop, evaluate, and observe AI applications and agents.
62
+ Arize is an AI engineering platform. It helps engineers develop, evaluate, and observe AI applications and agents.
63
+
64
+ Arize has both Enterprise and OSS products to support this goal:
63
65
 
64
- Arize has both Enterprise and OSS products to support this goal:
65
66
  - [Arize AX](https://arize.com/) — an enterprise AI engineering platform from development to production, with an embedded AI Copilot
66
67
  - [Phoenix](https://github.com/Arize-ai/phoenix) — a lightweight, open-source project for tracing, prompt engineering, and evaluation
67
68
  - [OpenInference](https://github.com/Arize-ai/openinference) — an open-source instrumentation package to trace LLM applications across models and frameworks
68
69
 
69
- We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 million OSS downloads every month.
70
+ We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 million OSS downloads every month.
70
71
 
71
72
  # Key Features
73
+
72
74
  - [**_Tracing_**](https://docs.arize.com/arize/observe/tracing) - Trace your LLM application's runtime using OpenTelemetry-based instrumentation.
73
75
  - [**_Evaluation_**](https://docs.arize.com/arize/evaluate/online-evals) - Leverage LLMs to benchmark your application's performance using response and retrieval evals.
74
76
  - [**_Datasets_**](https://docs.arize.com/arize/develop/datasets) - Create versioned datasets of examples for experimentation, evaluation, and fine-tuning.
@@ -78,19 +80,21 @@ We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 m
78
80
 
79
81
  # Installation
80
82
 
81
- Install Arize (version 8 is currently under alpha release) via `pip` or `conda`:
83
+ Install Arize (version 8 is currently under beta release) via `pip`:
82
84
 
83
85
  ```bash
84
- pip install arize==8.0.0ax
86
+ pip install --pre arize
85
87
  ```
86
- where `x` denotes the specific alpha release. Install the `arize-otel` package for auto-instrumentation of your LLM library:
88
+
89
+ where `--pre` denotes the installation of pre-release versions. Install the
90
+ `arize-otel` package for auto-instrumentation of your LLM library:
87
91
 
88
92
  ```bash
89
93
  pip install arize-otel
90
94
  ```
91
95
 
92
96
  # Usage
93
-
97
+
94
98
  ## Instrumentation
95
99
 
96
100
  See [arize-otel in PyPI](https://pypi.org/project/arize-otel/):
@@ -112,9 +116,8 @@ OpenAIInstrumentor().instrument(tracer_provider=tracer_provider)
112
116
 
113
117
  ## Operations on Spans
114
118
 
115
- Use `arize.spans` to interact with spans: log spans into Arize, update the span's evaluations, annotations and metadata in bulk.
116
-
117
- > **WARNING**: This is currently under an alpha release. Install with `pip install arize==8.0.0ax` where the `x` denotes the specific alpha version. Check the [pre-releases](https://pypi.org/project/arize/#history) page in PyPI.
119
+ Use `arize.spans` to interact with spans: log spans into Arize, update the span's
120
+ evaluations, annotations and metadata in bulk.
118
121
 
119
122
  ### Logging spans
120
123
 
@@ -188,9 +191,8 @@ df = client.spans.export_to_df(
188
191
 
189
192
  ## Operations on ML Models
190
193
 
191
- Use `arize.models` to interact with ML models: log ML data (traininv, validation, production) into Arize, either streaming or in batches.
192
-
193
- > **WARNING**: This is currently under an alpha release. Install with `pip install arize==8.0.0ax` where the `x` denotes the specific alpha version. Check the [pre-releases](https://pypi.org/project/arize/#history) page in PyPI.
194
+ Use `arize.ml` to interact with ML models: log ML data (training, validation, production)
195
+ into Arize, either streaming or in batches.
194
196
 
195
197
  ### Stream log ML Data for a Classification use-case
196
198
 
@@ -205,7 +207,7 @@ MODEL_NAME = "<your-model-name>"
205
207
  features=...
206
208
  embedding_features=...
207
209
 
208
- response = client.models.log_stream(
210
+ response = client.ml.log_stream(
209
211
  space_id=SPACE_ID,
210
212
  model_name=MODEL_NAME,
211
213
  model_type=ModelTypes.SCORE_CATEGORICAL,
@@ -257,7 +259,7 @@ schema = Schema(
257
259
  )
258
260
 
259
261
  # Logging Production DataFrame
260
- response = client.models.log_batch(
262
+ response = client.ml.log_batch(
261
263
  space_id=SPACE_ID,
262
264
  model_name=MODEL_NAME,
263
265
  model_type=ModelTypes.OBJECT_DETECTION,
@@ -285,7 +287,7 @@ SPACE_ID = "<your-space-id>"
285
287
  MODEL_NAME = "<your-model-name>"
286
288
  MODEL_VERSION = "1.0"
287
289
 
288
- df = client.models.export_to_df(
290
+ df = client.ml.export_to_df(
289
291
  space_id=SPACE_ID,
290
292
  model_name=MODEL_NAME,
291
293
  environment=Environments.TRAINING,
@@ -343,7 +345,7 @@ The response is an object of type `DatasetsList200Response`, and you can access
343
345
 
344
346
  ```python
345
347
  # Get the list of datasets from the response
346
- dataset_list = resp.datasets
348
+ dataset_list = resp.datasets
347
349
  # Get the response as a dictionary
348
350
  resp_dict = resp.to_dict()
349
351
  # Get the response in JSON format
@@ -459,7 +461,7 @@ The response is an object of type `ExperimentsList200Response`, and you can acce
459
461
 
460
462
  ```python
461
463
  # Get the list of datasets from the response
462
- experiment_list = resp.experiments
464
+ experiment_list = resp.experiments
463
465
  # Get the response as a dictionary
464
466
  resp_dict = resp.to_dict()
465
467
  # Get the response in JSON format
@@ -483,7 +485,7 @@ experiment, experiment_df = client.run_experiment(
483
485
  concurrency=..., # The number of concurrent tasks to run. Defaults to 3.
484
486
  set_global_tracer_provider=..., # If True, sets the global tracer provider for the experiment. Defaults to False
485
487
  exit_on_error=..., # If True, the experiment will stop running on first occurrence of an error. Defaults to False
486
- )
488
+ )
487
489
  ```
488
490
 
489
491
  The `Experiment` object also counts with convenience method similar to `List***` objects:
@@ -578,7 +580,7 @@ resp_df = resp.to_df()
578
580
 
579
581
  ### In Code
580
582
 
581
- You can use `configure_logging` to set up the logging behavior of the Arize package to your needs.
583
+ You can use `configure_logging` to set up the logging behavior of the Arize package to your needs.
582
584
 
583
585
  ```python
584
586
  from arize.logging import configure_logging
@@ -586,7 +588,7 @@ from arize.logging import configure_logging
586
588
  configure_logging(
587
589
  level=..., # Defaults to logging.INFO
588
590
  structured=..., # if True, emit JSON logs. Defaults to False
589
- )
591
+ )
590
592
  ```
591
593
 
592
594
  ### Via Environment Variables
@@ -597,11 +599,11 @@ Configure the same options as the section above, via:
597
599
  import os
598
600
 
599
601
  # Whether or not you want to disable logging altogether
600
- os.environ["ARIZE_LOG_ENABLE"] = "true"
602
+ os.environ["ARIZE_LOG_ENABLE"] = "true"
601
603
  # Set up the logging level
602
- os.environ["ARIZE_LOG_LEVEL"] = "debug"
604
+ os.environ["ARIZE_LOG_LEVEL"] = "debug"
603
605
  # Whether or not you want structured JSON logs
604
- os.environ["ARIZE_LOG_STRUCTURED"] = "false"
606
+ os.environ["ARIZE_LOG_STRUCTURED"] = "false"
605
607
  ```
606
608
 
607
609
  The default behavior of Arize's logs is: enabled, `INFO` level, and not structured.
@@ -35,14 +35,23 @@ classifiers = [
35
35
  "Topic :: System :: Monitoring",
36
36
  ]
37
37
  dependencies = [
38
- "numpy>=2.0.0", # For vector embeddings
39
- "lazy-imports",
40
- # "requests_futures==1.0.0",
41
- # "googleapis_common_protos>=1.51.0,<2",
42
- # "protobuf>=4.21.0,<7",
43
- # "pyarrow>=0.15.0",
44
- # "tqdm>=4.60.0,<5",
45
- # "pydantic>=2.0.0,<3",
38
+ "numpy>=2.0.0",
39
+ "openinference-semantic-conventions>=0.1.25, <1",
40
+ "opentelemetry-exporter-otlp-proto-common>=1.38.0",
41
+ "opentelemetry-exporter-otlp-proto-grpc>=1.38.0",
42
+ "opentelemetry-sdk>=1.38.0",
43
+ "opentelemetry-semantic-conventions>=0.43b0, <1",
44
+ "pandas>=2.0.0, <3",
45
+ "protobuf>=4.21.0, <6",
46
+ "pyarrow>=0.15.0",
47
+ "pydantic>=2, <3",
48
+ "python-dateutil>=2.8.2, <3",
49
+ "requests>=2.0.0, <3",
50
+ "requests_futures>=1.0.0, <2",
51
+ "tqdm>4, <5", # For progress bars
52
+ "typing-extensions>=4.7.1, <5",
53
+ "urllib3>=2.1.0, <3",
54
+ "wrapt>=1.0.0, <2.0.0",
46
55
  ]
47
56
  dynamic = ["version"]
48
57
 
@@ -51,44 +60,15 @@ dev = [
51
60
  "pytest==8.4.2",
52
61
  "ruff==0.13.2"
53
62
  ]
54
- spans = [
55
- "openinference-semantic-conventions>=0.1.21, <1",
56
- "opentelemetry-semantic-conventions>=0.43b0, <1",
57
- "pandas>=1.0.0,<3",
58
- "protobuf>=4.21.0,<6",
59
- "pyarrow>=0.15.0",
60
- "requests>=2.0.0, <3", # For posting pyarrow files
61
- "tqdm", # For export progress bars
62
- ]
63
- ml-stream = [
64
- "requests_futures>=1.0.0, <2",
65
- "protobuf>=4.21.0,<6"
66
- ]
67
- ml-batch = [
68
- "pandas>=1.0.0,<3",
69
- "protobuf>=4.21.0,<6",
70
- "pyarrow>=0.15.0",
71
- "requests>=2.0.0, <3", # For posting pyarrow files
72
- "tqdm", # For export progress bars
73
- ]
74
- datasets-experiments = [
75
- "pydantic",
76
- "numpy>=2.0.0",
77
- "wrapt>=1.0.0,<2.0.0",
78
- "openinference-semantic-conventions>=0.1.21, <1",
79
- "opentelemetry-exporter-otlp-proto-common>=1.38.0",
80
- "opentelemetry-exporter-otlp-proto-grpc>=1.38.0",
81
- "opentelemetry-sdk>=1.38.0",
82
- "opentelemetry-api>=1.38.0",
83
- "opentelemetry-proto>=1.38.0",
63
+ otel = [
64
+ "arize-otel>=0.11.0, <1",
84
65
  ]
85
- mimic-explainer = [
66
+ mimic = [
86
67
  "interpret-community[mimic]>=0.22.0,<1"
87
68
  ]
88
- auto-embeddings = [
69
+ embeddings = [
89
70
  "Pillow>=8.4.0, <11",
90
71
  "datasets>=2.8, <3, !=2.14.*",
91
- "pandas>=1.0.0,<3",
92
72
  "tokenizers>=0.13, <1",
93
73
  "torch>=1.13, <3",
94
74
  "transformers>=4.25, <5",
@@ -46,7 +46,6 @@ __all__ = [
46
46
  "ExperimentsList200Response",
47
47
  "ExperimentsRunsList200Response",
48
48
  "PaginationMetadata",
49
- "PrimitiveValue",
50
49
  "Problem",
51
50
  "Project",
52
51
  "ProjectsCreateRequest",
@@ -86,7 +85,6 @@ from arize._generated.api_client.models.experiments_create_request import Experi
86
85
  from arize._generated.api_client.models.experiments_list200_response import ExperimentsList200Response as ExperimentsList200Response
87
86
  from arize._generated.api_client.models.experiments_runs_list200_response import ExperimentsRunsList200Response as ExperimentsRunsList200Response
88
87
  from arize._generated.api_client.models.pagination_metadata import PaginationMetadata as PaginationMetadata
89
- from arize._generated.api_client.models.primitive_value import PrimitiveValue as PrimitiveValue
90
88
  from arize._generated.api_client.models.problem import Problem as Problem
91
89
  from arize._generated.api_client.models.project import Project as Project
92
90
  from arize._generated.api_client.models.projects_create_request import ProjectsCreateRequest as ProjectsCreateRequest
@@ -29,7 +29,6 @@ from arize._generated.api_client.models.experiments_create_request import Experi
29
29
  from arize._generated.api_client.models.experiments_list200_response import ExperimentsList200Response
30
30
  from arize._generated.api_client.models.experiments_runs_list200_response import ExperimentsRunsList200Response
31
31
  from arize._generated.api_client.models.pagination_metadata import PaginationMetadata
32
- from arize._generated.api_client.models.primitive_value import PrimitiveValue
33
32
  from arize._generated.api_client.models.problem import Problem
34
33
  from arize._generated.api_client.models.project import Project
35
34
  from arize._generated.api_client.models.projects_create_request import ProjectsCreateRequest
@@ -19,7 +19,6 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field, StrictStr
21
21
  from typing import Any, ClassVar, Dict, List
22
- from arize._generated.api_client.models.primitive_value import PrimitiveValue
23
22
  from typing import Optional, Set
24
23
  from typing_extensions import Self
25
24
 
@@ -29,7 +28,7 @@ class DatasetsCreateRequest(BaseModel):
29
28
  """ # noqa: E501
30
29
  name: StrictStr = Field(description="Name of the new dataset")
31
30
  space_id: StrictStr = Field(description="ID of the space the dataset will belong to")
32
- examples: List[Dict[str, PrimitiveValue]] = Field(description="Array of examples for the new dataset")
31
+ examples: List[Dict[str, Any]] = Field(description="Array of examples for the new dataset")
33
32
  __properties: ClassVar[List[str]] = ["name", "space_id", "examples"]
34
33
 
35
34
  model_config = ConfigDict(
@@ -71,13 +70,6 @@ class DatasetsCreateRequest(BaseModel):
71
70
  exclude=excluded_fields,
72
71
  exclude_none=True,
73
72
  )
74
- # override the default output from pydantic by calling `to_dict()` of each item in examples (list)
75
- _items = []
76
- if self.examples:
77
- for _item_examples in self.examples:
78
- if _item_examples:
79
- _items.append(_item_examples.to_dict())
80
- _dict['examples'] = _items
81
73
  return _dict
82
74
 
83
75
  @classmethod
@@ -97,7 +89,7 @@ class DatasetsCreateRequest(BaseModel):
97
89
  _obj = cls.model_validate({
98
90
  "name": obj.get("name"),
99
91
  "space_id": obj.get("space_id"),
100
- "examples": [Dict[str, PrimitiveValue].from_dict(_item) for _item in obj["examples"]] if obj.get("examples") is not None else None
92
+ "examples": obj.get("examples")
101
93
  })
102
94
  return _obj
103
95
 
@@ -19,7 +19,6 @@ import json
19
19
 
20
20
  from pydantic import BaseModel, ConfigDict, Field
21
21
  from typing import Any, ClassVar, Dict, List
22
- from arize._generated.api_client.models.primitive_value import PrimitiveValue
23
22
  from typing import Optional, Set
24
23
  from typing_extensions import Self
25
24
 
@@ -27,7 +26,7 @@ class DatasetsExamplesInsertRequest(BaseModel):
27
26
  """
28
27
  DatasetsExamplesInsertRequest
29
28
  """ # noqa: E501
30
- examples: List[Dict[str, PrimitiveValue]] = Field(description="Array of examples to append to the dataset version")
29
+ examples: List[Dict[str, Any]] = Field(description="Array of examples to append to the dataset version")
31
30
  __properties: ClassVar[List[str]] = ["examples"]
32
31
 
33
32
  model_config = ConfigDict(
@@ -69,13 +68,6 @@ class DatasetsExamplesInsertRequest(BaseModel):
69
68
  exclude=excluded_fields,
70
69
  exclude_none=True,
71
70
  )
72
- # override the default output from pydantic by calling `to_dict()` of each item in examples (list)
73
- _items = []
74
- if self.examples:
75
- for _item_examples in self.examples:
76
- if _item_examples:
77
- _items.append(_item_examples.to_dict())
78
- _dict['examples'] = _items
79
71
  return _dict
80
72
 
81
73
  @classmethod
@@ -93,7 +85,7 @@ class DatasetsExamplesInsertRequest(BaseModel):
93
85
  raise ValueError("Error due to additional fields (not defined in DatasetsExamplesInsertRequest) in the input: " + _key)
94
86
 
95
87
  _obj = cls.model_validate({
96
- "examples": [Dict[str, PrimitiveValue].from_dict(_item) for _item in obj["examples"]] if obj.get("examples") is not None else None
88
+ "examples": obj.get("examples")
97
89
  })
98
90
  return _obj
99
91
 
@@ -38,9 +38,7 @@ class TestDatasetsCreateRequest(unittest.TestCase):
38
38
  name = '',
39
39
  space_id = '',
40
40
  examples = [
41
- {
42
- 'key' : null
43
- }
41
+ { }
44
42
  ]
45
43
  )
46
44
  else:
@@ -48,9 +46,7 @@ class TestDatasetsCreateRequest(unittest.TestCase):
48
46
  name = '',
49
47
  space_id = '',
50
48
  examples = [
51
- {
52
- 'key' : null
53
- }
49
+ { }
54
50
  ],
55
51
  )
56
52
  """
@@ -36,17 +36,13 @@ class TestDatasetsExamplesInsertRequest(unittest.TestCase):
36
36
  if include_optional:
37
37
  return DatasetsExamplesInsertRequest(
38
38
  examples = [
39
- {
40
- 'key' : null
41
- }
39
+ { }
42
40
  ]
43
41
  )
44
42
  else:
45
43
  return DatasetsExamplesInsertRequest(
46
44
  examples = [
47
- {
48
- 'key' : null
49
- }
45
+ { }
50
46
  ],
51
47
  )
52
48
  """
@@ -36,9 +36,7 @@ class TestDatasetsExamplesList200Response(unittest.TestCase):
36
36
  if include_optional:
37
37
  return DatasetsExamplesList200Response(
38
38
  examples = [
39
- {
40
- 'key' : null
41
- }
39
+ { }
42
40
  ],
43
41
  pagination = arize._generated.api_client.models.pagination_metadata.PaginationMetadata(
44
42
  next_cursor = '',
@@ -47,9 +45,7 @@ class TestDatasetsExamplesList200Response(unittest.TestCase):
47
45
  else:
48
46
  return DatasetsExamplesList200Response(
49
47
  examples = [
50
- {
51
- 'key' : null
52
- }
48
+ { }
53
49
  ],
54
50
  pagination = arize._generated.api_client.models.pagination_metadata.PaginationMetadata(
55
51
  next_cursor = '',