arize 8.0.0a23__py3-none-any.whl → 8.0.0b1__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.
Files changed (52) hide show
  1. arize/__init__.py +11 -10
  2. arize/_exporter/client.py +1 -1
  3. arize/_generated/api_client/__init__.py +0 -2
  4. arize/_generated/api_client/models/__init__.py +0 -1
  5. arize/_generated/api_client/models/datasets_create_request.py +2 -10
  6. arize/_generated/api_client/models/datasets_examples_insert_request.py +2 -10
  7. arize/_generated/api_client/test/test_datasets_create_request.py +2 -6
  8. arize/_generated/api_client/test/test_datasets_examples_insert_request.py +2 -6
  9. arize/_generated/api_client/test/test_datasets_examples_list200_response.py +2 -6
  10. arize/_generated/api_client/test/test_datasets_examples_update_request.py +2 -6
  11. arize/_generated/api_client/test/test_experiments_create_request.py +2 -6
  12. arize/_generated/api_client/test/test_experiments_runs_list200_response.py +2 -6
  13. arize/_generated/api_client_README.md +0 -1
  14. arize/client.py +47 -163
  15. arize/config.py +59 -100
  16. arize/datasets/client.py +11 -6
  17. arize/embeddings/nlp_generators.py +12 -6
  18. arize/embeddings/tabular_generators.py +14 -11
  19. arize/experiments/__init__.py +12 -0
  20. arize/experiments/client.py +13 -9
  21. arize/experiments/functions.py +6 -6
  22. arize/experiments/types.py +3 -3
  23. arize/{models → ml}/batch_validation/errors.py +2 -2
  24. arize/{models → ml}/batch_validation/validator.py +5 -3
  25. arize/{models → ml}/casting.py +42 -78
  26. arize/{models → ml}/client.py +19 -17
  27. arize/{models → ml}/proto.py +2 -2
  28. arize/{models → ml}/stream_validation.py +1 -1
  29. arize/{models → ml}/surrogate_explainer/mimic.py +6 -2
  30. arize/{types.py → ml/types.py} +99 -234
  31. arize/pre_releases.py +2 -1
  32. arize/projects/client.py +11 -6
  33. arize/spans/client.py +91 -86
  34. arize/spans/conversion.py +11 -4
  35. arize/spans/validation/common/value_validation.py +1 -1
  36. arize/spans/validation/spans/dataframe_form_validation.py +1 -1
  37. arize/spans/validation/spans/value_validation.py +2 -1
  38. arize/utils/dataframe.py +1 -1
  39. arize/utils/online_tasks/dataframe_preprocessor.py +5 -6
  40. arize/utils/types.py +105 -0
  41. arize/version.py +1 -1
  42. {arize-8.0.0a23.dist-info → arize-8.0.0b1.dist-info}/METADATA +56 -59
  43. {arize-8.0.0a23.dist-info → arize-8.0.0b1.dist-info}/RECORD +50 -51
  44. arize/_generated/api_client/models/primitive_value.py +0 -172
  45. arize/_generated/api_client/test/test_primitive_value.py +0 -50
  46. /arize/{models → ml}/__init__.py +0 -0
  47. /arize/{models → ml}/batch_validation/__init__.py +0 -0
  48. /arize/{models → ml}/bounded_executor.py +0 -0
  49. /arize/{models → ml}/surrogate_explainer/__init__.py +0 -0
  50. {arize-8.0.0a23.dist-info → arize-8.0.0b1.dist-info}/WHEEL +0 -0
  51. {arize-8.0.0a23.dist-info → arize-8.0.0b1.dist-info}/licenses/LICENSE +0 -0
  52. {arize-8.0.0a23.dist-info → arize-8.0.0b1.dist-info}/licenses/NOTICE +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arize
3
- Version: 8.0.0a23
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,41 +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: pydantic; extra == 'datasets-experiments'
41
- 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
42
46
  Provides-Extra: dev
43
47
  Requires-Dist: pytest==8.4.2; extra == 'dev'
44
48
  Requires-Dist: ruff==0.13.2; extra == 'dev'
45
- Provides-Extra: mimic-explainer
46
- Requires-Dist: interpret-community[mimic]<1,>=0.22.0; extra == 'mimic-explainer'
47
- Provides-Extra: ml-batch
48
- Requires-Dist: pandas<3,>=1.0.0; extra == 'ml-batch'
49
- Requires-Dist: protobuf<6,>=4.21.0; extra == 'ml-batch'
50
- Requires-Dist: pyarrow>=0.15.0; extra == 'ml-batch'
51
- Requires-Dist: requests<3,>=2.0.0; extra == 'ml-batch'
52
- Requires-Dist: tqdm; extra == 'ml-batch'
53
- Provides-Extra: ml-stream
54
- Requires-Dist: protobuf<6,>=4.21.0; extra == 'ml-stream'
55
- Requires-Dist: requests-futures<2,>=1.0.0; extra == 'ml-stream'
56
- Provides-Extra: spans
57
- Requires-Dist: openinference-semantic-conventions<1,>=0.1.21; extra == 'spans'
58
- Requires-Dist: opentelemetry-semantic-conventions<1,>=0.43b0; extra == 'spans'
59
- Requires-Dist: pandas<3,>=1.0.0; extra == 'spans'
60
- Requires-Dist: protobuf<6,>=4.21.0; extra == 'spans'
61
- Requires-Dist: pyarrow>=0.15.0; extra == 'spans'
62
- Requires-Dist: requests<3,>=2.0.0; extra == 'spans'
63
- 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'
64
59
  Description-Content-Type: text/markdown
65
60
 
66
61
  <p align="center">
@@ -124,16 +119,18 @@ Description-Content-Type: text/markdown
124
119
 
125
120
  A helper package to interact with Arize AI APIs.
126
121
 
127
- 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:
128
125
 
129
- Arize has both Enterprise and OSS products to support this goal:
130
126
  - [Arize AX](https://arize.com/) — an enterprise AI engineering platform from development to production, with an embedded AI Copilot
131
127
  - [Phoenix](https://github.com/Arize-ai/phoenix) — a lightweight, open-source project for tracing, prompt engineering, and evaluation
132
128
  - [OpenInference](https://github.com/Arize-ai/openinference) — an open-source instrumentation package to trace LLM applications across models and frameworks
133
129
 
134
- 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.
135
131
 
136
132
  # Key Features
133
+
137
134
  - [**_Tracing_**](https://docs.arize.com/arize/observe/tracing) - Trace your LLM application's runtime using OpenTelemetry-based instrumentation.
138
135
  - [**_Evaluation_**](https://docs.arize.com/arize/evaluate/online-evals) - Leverage LLMs to benchmark your application's performance using response and retrieval evals.
139
136
  - [**_Datasets_**](https://docs.arize.com/arize/develop/datasets) - Create versioned datasets of examples for experimentation, evaluation, and fine-tuning.
@@ -143,19 +140,21 @@ We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 m
143
140
 
144
141
  # Installation
145
142
 
146
- 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`:
147
144
 
148
145
  ```bash
149
- pip install arize==8.0.0ax
146
+ pip install --pre arize
150
147
  ```
151
- 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:
152
151
 
153
152
  ```bash
154
153
  pip install arize-otel
155
154
  ```
156
155
 
157
156
  # Usage
158
-
157
+
159
158
  ## Instrumentation
160
159
 
161
160
  See [arize-otel in PyPI](https://pypi.org/project/arize-otel/):
@@ -177,9 +176,8 @@ OpenAIInstrumentor().instrument(tracer_provider=tracer_provider)
177
176
 
178
177
  ## Operations on Spans
179
178
 
180
- Use `arize.spans` to interact with spans: log spans into Arize, update the span's evaluations, annotations and metadata in bulk.
181
-
182
- > **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.
183
181
 
184
182
  ### Logging spans
185
183
 
@@ -253,15 +251,14 @@ df = client.spans.export_to_df(
253
251
 
254
252
  ## Operations on ML Models
255
253
 
256
- Use `arize.models` to interact with ML models: log ML data (traininv, validation, production) into Arize, either streaming or in batches.
257
-
258
- > **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.
259
256
 
260
257
  ### Stream log ML Data for a Classification use-case
261
258
 
262
259
  ```python
263
260
  from arize import ArizeClient
264
- from arize.types import ModelTypes, Environments
261
+ from arize.ml.types import ModelTypes, Environments
265
262
 
266
263
  client = ArizeClient(api_key=API_KEY)
267
264
  SPACE_ID = "<your-space-id>"
@@ -270,7 +267,7 @@ MODEL_NAME = "<your-model-name>"
270
267
  features=...
271
268
  embedding_features=...
272
269
 
273
- response = client.models.log_stream(
270
+ response = client.ml.log_stream(
274
271
  space_id=SPACE_ID,
275
272
  model_name=MODEL_NAME,
276
273
  model_type=ModelTypes.SCORE_CATEGORICAL,
@@ -286,14 +283,14 @@ response = client.models.log_stream(
286
283
 
287
284
  ```python
288
285
  from arize import ArizeClient
289
- from arize.types import ModelTypes, Environments
286
+ from arize.ml.types import ModelTypes, Environments
290
287
 
291
288
  client = ArizeClient(api_key=API_KEY)
292
289
  SPACE_ID = "<your-space-id>"
293
290
  MODEL_NAME = "<your-model-name>"
294
291
  MODEL_VERSION = "1.0"
295
292
 
296
- from arize.types import Schema, EmbeddingColumnNames, ObjectDetectionColumnNames, ModelTypes, Environments
293
+ from arize.ml.types import Schema, EmbeddingColumnNames, ObjectDetectionColumnNames, ModelTypes, Environments
297
294
 
298
295
  tags = ["drift_type"]
299
296
  embedding_feature_column_names = {
@@ -322,7 +319,7 @@ schema = Schema(
322
319
  )
323
320
 
324
321
  # Logging Production DataFrame
325
- response = client.models.log_batch(
322
+ response = client.ml.log_batch(
326
323
  space_id=SPACE_ID,
327
324
  model_name=MODEL_NAME,
328
325
  model_type=ModelTypes.OBJECT_DETECTION,
@@ -350,7 +347,7 @@ SPACE_ID = "<your-space-id>"
350
347
  MODEL_NAME = "<your-model-name>"
351
348
  MODEL_VERSION = "1.0"
352
349
 
353
- df = client.models.export_to_df(
350
+ df = client.ml.export_to_df(
354
351
  space_id=SPACE_ID,
355
352
  model_name=MODEL_NAME,
356
353
  environment=Environments.TRAINING,
@@ -408,7 +405,7 @@ The response is an object of type `DatasetsList200Response`, and you can access
408
405
 
409
406
  ```python
410
407
  # Get the list of datasets from the response
411
- dataset_list = resp.datasets
408
+ dataset_list = resp.datasets
412
409
  # Get the response as a dictionary
413
410
  resp_dict = resp.to_dict()
414
411
  # Get the response in JSON format
@@ -524,7 +521,7 @@ The response is an object of type `ExperimentsList200Response`, and you can acce
524
521
 
525
522
  ```python
526
523
  # Get the list of datasets from the response
527
- experiment_list = resp.experiments
524
+ experiment_list = resp.experiments
528
525
  # Get the response as a dictionary
529
526
  resp_dict = resp.to_dict()
530
527
  # Get the response in JSON format
@@ -548,7 +545,7 @@ experiment, experiment_df = client.run_experiment(
548
545
  concurrency=..., # The number of concurrent tasks to run. Defaults to 3.
549
546
  set_global_tracer_provider=..., # If True, sets the global tracer provider for the experiment. Defaults to False
550
547
  exit_on_error=..., # If True, the experiment will stop running on first occurrence of an error. Defaults to False
551
- )
548
+ )
552
549
  ```
553
550
 
554
551
  The `Experiment` object also counts with convenience method similar to `List***` objects:
@@ -643,7 +640,7 @@ resp_df = resp.to_df()
643
640
 
644
641
  ### In Code
645
642
 
646
- 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.
647
644
 
648
645
  ```python
649
646
  from arize.logging import configure_logging
@@ -651,7 +648,7 @@ from arize.logging import configure_logging
651
648
  configure_logging(
652
649
  level=..., # Defaults to logging.INFO
653
650
  structured=..., # if True, emit JSON logs. Defaults to False
654
- )
651
+ )
655
652
  ```
656
653
 
657
654
  ### Via Environment Variables
@@ -662,11 +659,11 @@ Configure the same options as the section above, via:
662
659
  import os
663
660
 
664
661
  # Whether or not you want to disable logging altogether
665
- os.environ["ARIZE_LOG_ENABLE"] = "true"
662
+ os.environ["ARIZE_LOG_ENABLE"] = "true"
666
663
  # Set up the logging level
667
- os.environ["ARIZE_LOG_LEVEL"] = "debug"
664
+ os.environ["ARIZE_LOG_LEVEL"] = "debug"
668
665
  # Whether or not you want structured JSON logs
669
- os.environ["ARIZE_LOG_STRUCTURED"] = "false"
666
+ os.environ["ARIZE_LOG_STRUCTURED"] = "false"
670
667
  ```
671
668
 
672
669
  The default behavior of Arize's logs is: enabled, `INFO` level, and not structured.
@@ -1,14 +1,13 @@
1
- arize/__init__.py,sha256=uoxsS4MydJGhVDFwCXm5g6NDthLqE_UWU1T9grSFrAU,3361
1
+ arize/__init__.py,sha256=C2NOiNcFL9TMu5NTkJwF88kL6PKAHHjBMG8HTAIQ5TU,3551
2
2
  arize/_lazy.py,sha256=aLdgSGxdfdV9QiLllxlLlkN5k44pFf_7jdKRV9Z9sgo,2864
3
- arize/client.py,sha256=rvTGFYlxucyd9up-E6sYU3tzeRK9y06FmEipIoVS7ig,16831
4
- arize/config.py,sha256=Q8NPHdmyTVC716i-m19POHDk_MMiWDAtnmDGwENqcaA,16631
3
+ arize/client.py,sha256=XGOaze-rfvDscL9vpWohen9vUbTNwLsx27pF77p9zxA,13150
4
+ arize/config.py,sha256=80iQgiaAhSqgE1Q-nKlivjQ2z3F7PifiPAsZlhQjozo,16471
5
5
  arize/logging.py,sha256=CZkgdpDKXoNNJ9fQMNwbCQEe-ipUg7fQf_CE1hRN1Qc,8574
6
- arize/pre_releases.py,sha256=AMBKBbs77K7LJQTDfTTmY5zeFUwx3GhXHQDMDgHBUxU,1150
6
+ arize/pre_releases.py,sha256=QWZb5Kko-fHDKDKNk8HUwehMQuLrZPYnyD2c6_mnEqI,1216
7
7
  arize/regions.py,sha256=oEKJdZbW5r8X3fL3PaDVMdk-f2MoZ8OBvUvYZLMGBpw,1039
8
- arize/types.py,sha256=WIII5GNTQJkjA8Rl8LDGB4ivv5XicDU8NXh_ebuvsuc,75808
9
- arize/version.py,sha256=O_ndXStrVFGj9VC7QYFp4aClH6v30C5cJZdPuDX-vvQ,71
8
+ arize/version.py,sha256=wAs5eLjhoEbU63izq_pHXyel5O0ilqn4QY6kj6xnago,70
10
9
  arize/_exporter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- arize/_exporter/client.py,sha256=82NLurSKkf3RBJmFxcLriwlUv3nJwzn9i0qvaU3s6K8,16422
10
+ arize/_exporter/client.py,sha256=DRxdREi4k0RiRI-kPvYCwX2zo6DGkdt1XMezF4ZhR08,16425
12
11
  arize/_exporter/validation.py,sha256=9gX4oHrZcChMfkwoBpe3Qp4aK-txy_zZ4azrKf-bEQw,1022
13
12
  arize/_exporter/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
13
  arize/_exporter/parsers/tracing_data_parser.py,sha256=mgpIyKhUeUeW-HMR11Kmo2HSLrUXZJLuqk27aDnytwo,5716
@@ -16,8 +15,8 @@ arize/_flight/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
15
  arize/_flight/client.py,sha256=HpUu22Q2r-jnh_j0RaQtJLZnaXKGBNNjZlZ0dvX98xs,20391
17
16
  arize/_flight/types.py,sha256=GB_4dQu2ElIrcDGAcqhG7oI4g-b0ZdSlbrQkf0TFzVE,194
18
17
  arize/_generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
- arize/_generated/api_client_README.md,sha256=SfBbE1r1thnfwk3AVr6CZUP6kJ7HNy28gx1V7DjQhp8,7451
20
- arize/_generated/api_client/__init__.py,sha256=I_KGjOG-2Z5dokY6Ln9E5fFHUIe53WUvCaUvg4DtQss,4672
18
+ arize/_generated/api_client_README.md,sha256=9UxtVJdMFIdV-_9NqUwg2ox3Many_5LIyXz7ZqYOdU0,7379
19
+ arize/_generated/api_client/__init__.py,sha256=QjXl6DlavvyG5VRCT_-U2_eS_JeFIUVoMIWr19vroK8,4554
21
20
  arize/_generated/api_client/api_client.py,sha256=Cr9leKLpAJYQmL_U1hAPsMNFdaSO6Ti1X52jvGp2WsQ,27899
22
21
  arize/_generated/api_client/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
23
22
  arize/_generated/api_client/configuration.py,sha256=EJ6DkTKzHWqjN0BwMEHQ1D9pEDdClOsM72EcffquZ9I,19406
@@ -27,13 +26,13 @@ arize/_generated/api_client/api/__init__.py,sha256=ycVTd-FBlPyFX82wbCQiuCTbj78pZ
27
26
  arize/_generated/api_client/api/datasets_api.py,sha256=pwS_NU7puzAdoqp49D24XjgcReptPue6K2ZI_C8DwYY,102867
28
27
  arize/_generated/api_client/api/experiments_api.py,sha256=xMMH-QA80mmXXPbGKKPIONMnxNowSGlf8wVdLKqzPss,65311
29
28
  arize/_generated/api_client/api/projects_api.py,sha256=SRMimrrXNZLlKD9zbTFs-iy2SeOHiVDdlMB0Hbp0ApE,48820
30
- arize/_generated/api_client/models/__init__.py,sha256=qajnlyF3Q2lCuIIeCqldVFcdgogFPd2iLr5YMYv8Alw,2261
29
+ arize/_generated/api_client/models/__init__.py,sha256=_kbyaJU4uC0Gdnc87FsdBDfb-QcH8LKID7YNsk11JSk,2183
31
30
  arize/_generated/api_client/models/dataset.py,sha256=eStUwLDPU7j3kMTdSO7RqMCScsGU9rOZtU41xnSXUUs,4332
32
31
  arize/_generated/api_client/models/dataset_example.py,sha256=avmtSuitMruY7Yphw5gDpPbfkx_GKDhePBSoG6S_sc0,3825
33
32
  arize/_generated/api_client/models/dataset_example_update.py,sha256=DMV1_IkN74tQJrnWFPsJ-7Yj9d-tBaF2rVZZlktprpo,3290
34
33
  arize/_generated/api_client/models/dataset_version.py,sha256=OlkhTlcQuNvxJdNxxU5CpHZ9a2OCro5FRPAUMCYLBdE,3709
35
- arize/_generated/api_client/models/datasets_create_request.py,sha256=av3O6kxoeLL1JACsDL_SrHnNKTNVMHlUyrcBhrsiOac,3673
36
- arize/_generated/api_client/models/datasets_examples_insert_request.py,sha256=u_9QqAgcEUVUyZoZJCWnd9Wuz00-vyRrDKL-82hXO4U,3456
34
+ arize/_generated/api_client/models/datasets_create_request.py,sha256=jUARKZVlr8hrkuf2Y59ct466f2PdHtAD2O02d5lqE_w,3149
35
+ arize/_generated/api_client/models/datasets_examples_insert_request.py,sha256=MVuOJ85lDpzVZssJ76d-cgK3lQkphTMwFAumwHTG6BQ,2932
37
36
  arize/_generated/api_client/models/datasets_examples_list200_response.py,sha256=fIY3yg5cbIcRBdawxBRnWqDt5dxOLN1Pxju_g6BDU30,3869
38
37
  arize/_generated/api_client/models/datasets_examples_update_request.py,sha256=awa70zUxyMPLiEddQmcigVCR4tPhqTjVL6ClV-CeqK4,3797
39
38
  arize/_generated/api_client/models/datasets_list200_response.py,sha256=KsDfQU44q7gg7TwR5MDmJfkp69-SNTo_c87d9uz_8fk,3777
@@ -44,7 +43,6 @@ arize/_generated/api_client/models/experiments_create_request.py,sha256=L0DllTYt
44
43
  arize/_generated/api_client/models/experiments_list200_response.py,sha256=AKot7N4isrGFHNr6-mXsSr8ikeo5veneFFsuGYRKSRc,3843
45
44
  arize/_generated/api_client/models/experiments_runs_list200_response.py,sha256=vkaYsUKdAnChSBKCEzxc1DrE5vs_0tG1Ya-yXhjuPBo,3979
46
45
  arize/_generated/api_client/models/pagination_metadata.py,sha256=2NgzlV140yhFqS8IURPfMrVtW2p-0Xr3DaA9GxFfInw,3262
47
- arize/_generated/api_client/models/primitive_value.py,sha256=iDHyARo1ILnJymsS9EaVFE5V37X0BvUB6uTX_aVhKbg,6400
48
46
  arize/_generated/api_client/models/problem.py,sha256=mbAAHZAC8mKYC0r902SGE4QcLCUMfSzFJOLvjyjO8Pw,3584
49
47
  arize/_generated/api_client/models/project.py,sha256=w4OT222655N-dd8IHauiDobgUyMnol4xzZ80Rniv3ts,3636
50
48
  arize/_generated/api_client/models/projects_create_request.py,sha256=hnnerivgBpJ4BNcdE1hfZ8EoIawtmxsx1iv8NVoHkw4,3024
@@ -55,20 +53,19 @@ arize/_generated/api_client/test/test_dataset_example.py,sha256=musVzDrorF1yf5oz
55
53
  arize/_generated/api_client/test/test_dataset_example_update.py,sha256=Z59KydV8_su5QlPdFx7Vs4WAOh-NEYvNVMsIe_5bz0k,1521
56
54
  arize/_generated/api_client/test/test_dataset_version.py,sha256=rPczEI--Htxd5tRYzCgNMYEisu7ub87EOxRE-ZIEbp0,1996
57
55
  arize/_generated/api_client/test/test_datasets_api.py,sha256=2WYqfqygypzUEB61iMzqWZRAZIyYhrZQ3LaNZDAOIhc,1707
58
- arize/_generated/api_client/test/test_datasets_create_request.py,sha256=wjDWgl-NUlaQZTM0eDpVN15fvJ0tH9c3RegBwOKAYCk,1873
59
- arize/_generated/api_client/test/test_datasets_examples_insert_request.py,sha256=N3mAB0BjNAXGdEyN6l3BmRiUeXG4WUoRxgjtvjmWX7w,1854
60
- arize/_generated/api_client/test/test_datasets_examples_list200_response.py,sha256=gfm4cmvhpOr0bXLgoRN1G2I9wc155F4IPDjvVySLWcw,2244
61
- arize/_generated/api_client/test/test_datasets_examples_update_request.py,sha256=a1m-IaI0RGUd3dd6ktQG0nADEORX_r0KLbY-9IqbwBw,1888
56
+ arize/_generated/api_client/test/test_datasets_create_request.py,sha256=GrWJg_lguEbsJWCUw5QJJjSK-fpSBtUsVFJpntw_t20,1751
57
+ arize/_generated/api_client/test/test_datasets_examples_insert_request.py,sha256=1vegfmE4E8kGoELac7jML3iQ1Vi2IlkUXgAKJOab-sw,1732
58
+ arize/_generated/api_client/test/test_datasets_examples_list200_response.py,sha256=C1nYlj8ggOHmczjyPDfBRU4dTvd-f7_xwbe_0fPuR58,2122
59
+ arize/_generated/api_client/test/test_datasets_examples_update_request.py,sha256=_BZqsFRz2lXIkgwOpWfllnZWdrhqDozYiADANQlPVKA,1766
62
60
  arize/_generated/api_client/test/test_datasets_list200_response.py,sha256=jRWD_HBWE3doypQuaexSp39F_fFdp-aJVXsosxM36M8,3905
63
61
  arize/_generated/api_client/test/test_experiment.py,sha256=sOwd8Rep47jAf7vhq1hm3rK0P7I0VpGS9cZJLOb1RSE,2080
64
62
  arize/_generated/api_client/test/test_experiment_run.py,sha256=FPmaQpEPqs6_jR-o7S-Ejaj2OKeJjO7pLOr-r51fetk,1560
65
63
  arize/_generated/api_client/test/test_experiment_run_create.py,sha256=oZorTWEiI6fTmSFw35vZe-1Npw92Ne01nTIbRmfPnAc,1583
66
64
  arize/_generated/api_client/test/test_experiments_api.py,sha256=Ez6hw0XNW9y2IDLR6_7YlgjbTXgfZr9JxBoaVxEU8N8,1414
67
- arize/_generated/api_client/test/test_experiments_create_request.py,sha256=7bNXzkDE3kL5VZCi1ogey9pWmWWqGi_rDG60_93bQoA,1927
65
+ arize/_generated/api_client/test/test_experiments_create_request.py,sha256=-TFrUHrVIR6ewNtMMaVDKQA5XdC3bThr5Z4_WX4aovs,1805
68
66
  arize/_generated/api_client/test/test_experiments_list200_response.py,sha256=NlLuUOjLRXlUqFsgqSI04B2wCl_4OEZUMtGJrVGUwWA,3085
69
- arize/_generated/api_client/test/test_experiments_runs_list200_response.py,sha256=BtOi_RMEYJciMCazYfmCkR3BbXi8VDdYm1qs_8razkE,2246
67
+ arize/_generated/api_client/test/test_experiments_runs_list200_response.py,sha256=M6BVVxY6wI_57yR9tkS3qZEgYEWlaPar10-rP6_zU7Q,2124
70
68
  arize/_generated/api_client/test/test_pagination_metadata.py,sha256=6I0fz9C-PeS0xGlqfnpCb95jieoCp6wzC_77pFefiI4,1546
71
- arize/_generated/api_client/test/test_primitive_value.py,sha256=e3Hj8RATS82D1QpAtxysqRrgccFaYXHJHsX0hkLNC90,1399
72
69
  arize/_generated/api_client/test/test_problem.py,sha256=cP3YV_YYLjkZuh7RCKUoqJy1FuxukuRj1swYKzFmz9g,1514
73
70
  arize/_generated/api_client/test/test_project.py,sha256=89LB5u8gUqrNBGWt9UfC47A9pBFpLZlJ1DqwjUGKsfU,1693
74
71
  arize/_generated/api_client/test/test_projects_api.py,sha256=oFZh9KZlPpc-Jaf5IQ1NhLOHJf0sJBHAJIrvPACYmXI,1207
@@ -87,7 +84,7 @@ arize/constants/openinference.py,sha256=mnjtbelFbJYJDZ65HQ3lZ6Xr0YyYudBIyTw5cLKA
87
84
  arize/constants/pyarrow.py,sha256=4OXNqSYxWxkbmjJTwGxHst8Ch0cmCXsBjUuy1T7rSf4,78
88
85
  arize/constants/spans.py,sha256=fQpzvQBDGYDHg_48wymVwGSvAnMnUUopHBLwNAskP3Q,2597
89
86
  arize/datasets/__init__.py,sha256=t-nswFsscEAy7ixz_g2gEdLN3TCNVdeD9JiOcPdBvwI,69
90
- arize/datasets/client.py,sha256=r7c-RHsMkhcWQ-DrfCzW1g1PlctwqUfN89sTH8EPbvQ,17983
87
+ arize/datasets/client.py,sha256=Lt0UU2QSMzTk7dREoaOsCv8MMztx20Ynw_w6Kq4WRzQ,18175
91
88
  arize/datasets/errors.py,sha256=Vx54dsl1TEXNch8dht49NXr1dZFDp6AGX-Yhw-Qxh9w,3078
92
89
  arize/datasets/validation.py,sha256=vnfSs3PrhtVD4nAeNL-Q2yk_6lHXGVfGekGPo9wHcVI,1684
93
90
  arize/embeddings/__init__.py,sha256=Dsh7Ncap6Q47M5_5n0vWzwKkPJtVhZBGke3ygXx02KE,226
@@ -96,8 +93,8 @@ arize/embeddings/base_generators.py,sha256=MdQOMcSHhNUs-VygIPpOAcmsruaQzFfBe_dzz
96
93
  arize/embeddings/constants.py,sha256=oS7rM8Rqn03B76EKpg6uNtfP5dsx0ptCA34SI0X2RAA,1177
97
94
  arize/embeddings/cv_generators.py,sha256=U_MA7YVh4s1bDqCOHjIJkYE-y3SDRJ68Nw_HusRDKX8,1639
98
95
  arize/embeddings/errors.py,sha256=CcXjRUsQUq_1nQUVv9Qj8fLgQdAo9bzFq3ZEiEWFf9s,2366
99
- arize/embeddings/nlp_generators.py,sha256=6XLKEioredfOuhFQnUDDLvcTcOxUtxYJ086V2co3Pv0,4520
100
- arize/embeddings/tabular_generators.py,sha256=K1K-QI4ucj3EZYvMZTjo79OxR8G9oifw2OP7LYabuYQ,6482
96
+ arize/embeddings/nlp_generators.py,sha256=_DE4qaTGPnHMPqlGn0HuBxCw-x5dzMFvBLKMJfZYCKU,4573
97
+ arize/embeddings/tabular_generators.py,sha256=QPfVKfbvDghYEey7cfaC0D9MBkFgD2-7ODDlmflCXFc,6539
101
98
  arize/embeddings/usecases.py,sha256=BAcEHTVF1abfe_Izf4eqCj5l-jPgLGs2phTfYVZ1nB0,850
102
99
  arize/exceptions/__init__.py,sha256=-16kxctvh4CU_PAekPti-UI7ZTVcCkUrttwoXBa-Eq4,59
103
100
  arize/exceptions/auth.py,sha256=ZCkJ15dW_3h7Fm4AawQaGJejrOEWn1wAXVoxBGA3XhA,749
@@ -107,11 +104,11 @@ arize/exceptions/parameters.py,sha256=xbF38TNZI14PruYMor6DYVMB7uVhyusJfRPUn_YPHz
107
104
  arize/exceptions/spaces.py,sha256=RZdXCnxkc-t5_jY2je7gVUDxaXhBQvKpXcUGXptO8mA,631
108
105
  arize/exceptions/types.py,sha256=ks-4B2YpiVxHVopWUh4Gv_iM2h-LhdJ_zZDXtN3Ctc0,9468
109
106
  arize/exceptions/values.py,sha256=rzT8sZbY2m2Vxc5vt5V-ZjsQyiGbxM0pxPi-bp9d-pU,27920
110
- arize/experiments/__init__.py,sha256=Nd2m7unYRPN1QGFuj5GSaFxN25yAx_8epIE3Frjbgg0,74
111
- arize/experiments/client.py,sha256=ViJBXeK-Nm37wCQTh4Vzj9SLqWqMBMNNBdMf64BwZys,26045
112
- arize/experiments/functions.py,sha256=b51Dv1qk4oiDiJv6VZgpBhfdKlo4ff8FLTtH5ruEPOA,34675
107
+ arize/experiments/__init__.py,sha256=zQAEQggDaJqZaubqjCJfmqbhemMeY_WakWI4ul-wkk8,346
108
+ arize/experiments/client.py,sha256=wRIVy2VtQ0LsvTRtfBz78cNnUkP1quzMCReUg2L1rHU,26220
109
+ arize/experiments/functions.py,sha256=4rQEB7eB3fvmdjgbCPRRltWlGwXMj1qLSrnCWedP2qY,34663
113
110
  arize/experiments/tracing.py,sha256=P3Q2DTUGNsRhvxRNAx_NXY30Id8y7cw9MV9piduSbB0,10207
114
- arize/experiments/types.py,sha256=qwv-LV9DqfdlKwXc4SdL9p2QsI8pHoEy2_HCldzsdZs,14093
111
+ arize/experiments/types.py,sha256=N9FuJx4atV3VxpdVXch6gTI3ZH6guVrJQzfbeJnDxwQ,14087
115
112
  arize/experiments/evaluators/__init__.py,sha256=FUTfWRir8jaY8PC3pRHUy5m4RqrKRBPD1EJ4GYkIMLY,76
116
113
  arize/experiments/evaluators/base.py,sha256=m9Gk2efWyssSYnZIdSJouB6CNx1KkqHjHUrRWft1L54,10981
117
114
  arize/experiments/evaluators/exceptions.py,sha256=iqg5-OcGfRWY354OCcdmVC39cb3jEb-RO1LnVn7BD7M,376
@@ -119,23 +116,24 @@ arize/experiments/evaluators/executors.py,sha256=G6StVzZDd5MbXWENiCgFd1eDgNgMs6I
119
116
  arize/experiments/evaluators/rate_limiters.py,sha256=9PextZkLHljvY9t1yR4Lx_ryFW5Eht00irB87dxnWeA,13567
120
117
  arize/experiments/evaluators/types.py,sha256=q_p5gaGiKvV14OgfDAI_Kn44Ribou3UfxizAJ9Bl5sM,4509
121
118
  arize/experiments/evaluators/utils.py,sha256=nzl7DtucZoIQTwDpcLJUSlTbCsnyLNLFmwvovWB6GOg,7884
122
- arize/models/__init__.py,sha256=jWGnNLghA0TkmR033NewriFUleH46zCTC4MCoGADE5c,68
123
- arize/models/bounded_executor.py,sha256=BZF19icwV8UaRm8Otw8leiAgjDYultDDmvuSPXw2sx8,1669
124
- arize/models/casting.py,sha256=VQNoYHbpRX-P_62e_AnOKO_3zwFsdnu7gLFoOIRxm80,14367
125
- arize/models/client.py,sha256=thILrDn0nqPxx-vK-NWNafpDeAvFMUcGylwIA1eaQwk,58334
126
- arize/models/proto.py,sha256=y9wjSVltjy87F6ytghWOkNo2cHd3Xd8PMOcc02f7pCM,19049
127
- arize/models/stream_validation.py,sha256=hlDqm1DI2LTwfywENw5x-CLuts_7DPVk6pfRDSML-kE,8284
128
- arize/models/batch_validation/__init__.py,sha256=mvn_TLQvgL6lwLvaTedzH0GGABrJViDkh77M38aFXQ4,49
129
- arize/models/batch_validation/errors.py,sha256=5RdoJwXcN0r_U9H-vBTo_w_saeUyV8YeQD4eAAAT26M,61675
130
- arize/models/batch_validation/validator.py,sha256=C5viO1eYo77zT9Jk7SmFptNmTS4xzvEr3bgv3y_xaXI,147724
131
- arize/models/surrogate_explainer/__init__.py,sha256=jxFXugcjhip4Lg5M1ikrnq5xODwS1Z5Tt30NeVkCpH0,70
132
- arize/models/surrogate_explainer/mimic.py,sha256=zC5v3x2DRf1HJ5XDXzAmjLmkJlWIj6fX7T9EBN19X0g,6191
119
+ arize/ml/__init__.py,sha256=jWGnNLghA0TkmR033NewriFUleH46zCTC4MCoGADE5c,68
120
+ arize/ml/bounded_executor.py,sha256=BZF19icwV8UaRm8Otw8leiAgjDYultDDmvuSPXw2sx8,1669
121
+ arize/ml/casting.py,sha256=lNEDTremFv5R5IR2F8mSAD4ufDgawQOjFIWo5AyAGi0,14016
122
+ arize/ml/client.py,sha256=SVLVjB4C3bk__LNlFQyfb4nb5v_7jiZudWR-kweI8lo,58403
123
+ arize/ml/proto.py,sha256=_zzE2ESKU2NmRHjCU0lTUR55m9LKSi3s0DKTGhJFYcI,19077
124
+ arize/ml/stream_validation.py,sha256=5P-OFUiXCvdEoHTTbr1VsI_PRmeMaWtrLpG_Fagf-CE,8287
125
+ arize/ml/types.py,sha256=oSGmfIKxRZxX5FXsN0-sWRPHVjZUjkh58GV_zGwdeE8,71033
126
+ arize/ml/batch_validation/__init__.py,sha256=mvn_TLQvgL6lwLvaTedzH0GGABrJViDkh77M38aFXQ4,49
127
+ arize/ml/batch_validation/errors.py,sha256=FXiQKRrWh-a_9siEOO6dc9xEn_onS7jtDvNT-eFWnp4,61681
128
+ arize/ml/batch_validation/validator.py,sha256=Hz9ctp_iUHoS9kViPq5qBz5uTHIaHm4w4WILQngen1g,147757
129
+ arize/ml/surrogate_explainer/__init__.py,sha256=jxFXugcjhip4Lg5M1ikrnq5xODwS1Z5Tt30NeVkCpH0,70
130
+ arize/ml/surrogate_explainer/mimic.py,sha256=Zx5idIHUyln0AxsU4K0NJoQ1HFOtKk0GoA6bZ4ctTLg,6214
133
131
  arize/projects/__init__.py,sha256=hx29_muM9ZJxH5j518QJ88-_VVRAFymF5WLRvQVpDH8,64
134
- arize/projects/client.py,sha256=yMs4dCoMtXGAdPmcCLDZyLUaCxbhbSbJ1a0kHLnecQ4,4149
132
+ arize/projects/client.py,sha256=hjyqg8yfINEIyorPIEwndurnaIfQimjxHQG6AQ_lt-U,4341
135
133
  arize/spans/__init__.py,sha256=rXRx4DshOoP9WmbVRUyYdM_QHtUmUTbfO2pZPkztKL0,57
136
- arize/spans/client.py,sha256=_jikJwO_Ll8teJ5q_s1uKwxgRraQrs8UAs-mGmeRIKg,49127
134
+ arize/spans/client.py,sha256=N3qa6jAd6JXMZr5pb8XbbVl58-6BgrSRmGSFGn3RdKk,48792
137
135
  arize/spans/columns.py,sha256=Sap8UrOeeFebxsI1LbelustuirAPmKrtjW8z3vHJVFk,13378
138
- arize/spans/conversion.py,sha256=yI-0t-u2QDp-cvT7ESi3ap7wdwWd46lqXu-y9Qsy5S8,4626
136
+ arize/spans/conversion.py,sha256=9GrNd9puZtJJZma2C6UMmNEcTfkb4maG1BxkRiE7zZU,4937
139
137
  arize/spans/validation/__init__.py,sha256=QSb0EFPBCI2riIrgtSaFXPDGDPQ_aYK4N1Dej499cu8,55
140
138
  arize/spans/validation/annotations/__init__.py,sha256=AW7uOEA-uBbM39cdy5SEyi6dC_oYUP_zzW72qkYoFlI,51
141
139
  arize/spans/validation/annotations/annotations_validation.py,sha256=WDChwwqiwlI-lPT7jGA7THllL3a93foZWnyjIkrUjUg,2763
@@ -145,7 +143,7 @@ arize/spans/validation/common/__init__.py,sha256=oJ2KdLO6gpl0AUuA8zCuyU5kB_TFW0d
145
143
  arize/spans/validation/common/argument_validation.py,sha256=Xa0hzsC0YIkE7dF62_Bij4Km8QR41zFJ6fUTUlOPnag,2316
146
144
  arize/spans/validation/common/dataframe_form_validation.py,sha256=GmN0Tx_4Btsf1ChenTI0fEHT8-IhnzOEEQ4ek3T4Bmk,2023
147
145
  arize/spans/validation/common/errors.py,sha256=pWkQlNuQiUcSNy1scQhbVpL7OiXo_bjYH7Su_R-9AP0,22388
148
- arize/spans/validation/common/value_validation.py,sha256=Keqsbtas4siPATDpUFRTYiS2dXYjOcMAKpvTMgJV2ek,9308
146
+ arize/spans/validation/common/value_validation.py,sha256=593mcfW73y9vvMZvFyhfqhs4TXHoKDxj_Aksu3IQzGg,9314
149
147
  arize/spans/validation/evals/__init__.py,sha256=RMMOzvDKk1c-X1OmFeMoezDom4LnhVELDfU5EmojqIY,56
150
148
  arize/spans/validation/evals/dataframe_form_validation.py,sha256=LBqIRUBDAGeDU313bb89Ng8J75U7eBQ3muVtInO2TqY,3957
151
149
  arize/spans/validation/evals/evals_validation.py,sha256=-FA2uyrpe9gKeZX9_AQayOMq9Am5ib8mZjDXwgf4MFI,3285
@@ -155,20 +153,21 @@ arize/spans/validation/metadata/argument_validation.py,sha256=HY5j8S0SHCz4AzVy8b
155
153
  arize/spans/validation/metadata/dataframe_form_validation.py,sha256=CVoO0-8_0cGoFhsfYD2IpTuucAdpy13CbaTZcti0Ngs,4011
156
154
  arize/spans/validation/metadata/value_validation.py,sha256=bUWpDPPiw42iMQuBfLw81ToauMOHduk8H7U_LK4nioc,10251
157
155
  arize/spans/validation/spans/__init__.py,sha256=hAgCnolxy6tyb6q1NBzGziezviJswtcnTsChwbkLIvA,44
158
- arize/spans/validation/spans/dataframe_form_validation.py,sha256=v_FsnTueRtIaPyLzSMQarp6DNBe09Svu5UyJni7EgRw,6371
156
+ arize/spans/validation/spans/dataframe_form_validation.py,sha256=HdM5JUPef4uxyxZeTzjb5FDG7ntSAOashdiXfFxomFM,6377
159
157
  arize/spans/validation/spans/spans_validation.py,sha256=sULXzYMJ_INTiRlddJ7Z-iqTAszhIuMEmvaSPk-zrus,3485
160
- arize/spans/validation/spans/value_validation.py,sha256=WI_sZhutTzTkHTYN7H5C0Ga0yaZiOxoIf2nFhSzvKtc,21398
158
+ arize/spans/validation/spans/value_validation.py,sha256=nM2tHyt6nIf5yCjAUfDrzbDnXUBWPlAJ0Yht6MObQ2A,21430
161
159
  arize/utils/__init__.py,sha256=ScWPiN7pTi2-i6gqRryH9Nlp78zz6X_tbgu_RxLJTEM,62
162
160
  arize/utils/arrow.py,sha256=mX6aLjHYNPZrMKJD0Nc-rki_n10Mpq7w6CsSHnVIcLI,5955
163
161
  arize/utils/cache.py,sha256=a8jNEZx7R8t3UvmyyyPh2sbjiMaMQlmDRK2-1eLkUeU,3018
164
- arize/utils/dataframe.py,sha256=-tsRs622ev-vxANx7ZdqY7bd0iYKorznC76SezQPv-A,1755
162
+ arize/utils/dataframe.py,sha256=qSjT2b9K1gIBBOY7o5FpRMi-qTL1NrGIPp43buw3ito,1758
165
163
  arize/utils/openinference_conversion.py,sha256=cUUaWSu9FR99IF0hoIvijcBPrKcHVUuPu4tFoW0obrY,2912
166
164
  arize/utils/proto.py,sha256=cXxZr4UwZpEOlxZdZA8B-YY5herdFbZCnxLngGhtrZc,643
167
165
  arize/utils/size.py,sha256=qIjUYYg-NttqK25ObX17_32MzkAepLJDDv8N7YxJwAo,805
166
+ arize/utils/types.py,sha256=BxAQwrqRMeA5BaDZcmEczcKkd-T33mi25FL9kBroNXA,2892
168
167
  arize/utils/online_tasks/__init__.py,sha256=T7778_bgutP0U7h8e9NRPYfwBQSmHOi859M1K2fjpjw,213
169
- arize/utils/online_tasks/dataframe_preprocessor.py,sha256=0aFlsi1SD4pQpvHOIGOkkRLQvRrHIedujZvkooEKgpE,9441
170
- arize-8.0.0a23.dist-info/METADATA,sha256=VXXY1CY2_RBdPBR-JTdr4qh3IuRZsc8fOm57BmcshA4,28693
171
- arize-8.0.0a23.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
172
- arize-8.0.0a23.dist-info/licenses/LICENSE,sha256=Yseh419WQGiW16p8pS0MwNJyrAIrXSeW59aQXbijY2o,9723
173
- arize-8.0.0a23.dist-info/licenses/NOTICE,sha256=V9Mdpy_w2tgo5GxgjpsZFTu2WcltLQIh6wBVFwBnJuY,550
174
- arize-8.0.0a23.dist-info/RECORD,,
168
+ arize/utils/online_tasks/dataframe_preprocessor.py,sha256=-VcQSetJjZJamWyZryvkA1LhPOT7BdqDGOL4hP-wtik,9399
169
+ arize-8.0.0b1.dist-info/METADATA,sha256=rkXsmAOix3klcDApv4J3sJbXyEO0cF8zsTWXzE_o_N8,27749
170
+ arize-8.0.0b1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
171
+ arize-8.0.0b1.dist-info/licenses/LICENSE,sha256=Yseh419WQGiW16p8pS0MwNJyrAIrXSeW59aQXbijY2o,9723
172
+ arize-8.0.0b1.dist-info/licenses/NOTICE,sha256=V9Mdpy_w2tgo5GxgjpsZFTu2WcltLQIh6wBVFwBnJuY,550
173
+ arize-8.0.0b1.dist-info/RECORD,,
@@ -1,172 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Arize REST API
5
-
6
- API specification for the backend data server. The API is hosted globally at https://api.arize.com/v2 or in your own environment.
7
-
8
- The version of the OpenAPI document: 2.0.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
-
11
- Do not edit the class manually.
12
- """ # noqa: E501
13
-
14
-
15
- from __future__ import annotations
16
- from inspect import getfullargspec
17
- import json
18
- import pprint
19
- import re # noqa: F401
20
- from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictFloat, StrictInt, StrictStr, ValidationError, field_validator
21
- from typing import Optional, Union
22
- from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
23
- from typing_extensions import Literal, Self
24
- from pydantic import Field
25
-
26
- PRIMITIVEVALUE_ANY_OF_SCHEMAS = ["bool", "float", "int", "str"]
27
-
28
- class PrimitiveValue(BaseModel):
29
- """
30
- A JSON primitive value (string, number, integer, or boolean)
31
- """
32
-
33
- # data type: int
34
- anyof_schema_1_validator: Optional[StrictInt] = None
35
- # data type: float
36
- anyof_schema_2_validator: Optional[Union[StrictFloat, StrictInt]] = None
37
- # data type: str
38
- anyof_schema_3_validator: Optional[StrictStr] = None
39
- # data type: bool
40
- anyof_schema_4_validator: Optional[StrictBool] = None
41
- if TYPE_CHECKING:
42
- actual_instance: Optional[Union[bool, float, int, str]] = None
43
- else:
44
- actual_instance: Any = None
45
- any_of_schemas: Set[str] = { "bool", "float", "int", "str" }
46
-
47
- model_config = {
48
- "validate_assignment": True,
49
- "protected_namespaces": (),
50
- }
51
-
52
- def __init__(self, *args, **kwargs) -> None:
53
- if args:
54
- if len(args) > 1:
55
- raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
56
- if kwargs:
57
- raise ValueError("If a position argument is used, keyword arguments cannot be used.")
58
- super().__init__(actual_instance=args[0])
59
- else:
60
- super().__init__(**kwargs)
61
-
62
- @field_validator('actual_instance')
63
- def actual_instance_must_validate_anyof(cls, v):
64
- instance = PrimitiveValue.model_construct()
65
- error_messages = []
66
- # validate data type: int
67
- try:
68
- instance.anyof_schema_1_validator = v
69
- return v
70
- except (ValidationError, ValueError) as e:
71
- error_messages.append(str(e))
72
- # validate data type: float
73
- try:
74
- instance.anyof_schema_2_validator = v
75
- return v
76
- except (ValidationError, ValueError) as e:
77
- error_messages.append(str(e))
78
- # validate data type: str
79
- try:
80
- instance.anyof_schema_3_validator = v
81
- return v
82
- except (ValidationError, ValueError) as e:
83
- error_messages.append(str(e))
84
- # validate data type: bool
85
- try:
86
- instance.anyof_schema_4_validator = v
87
- return v
88
- except (ValidationError, ValueError) as e:
89
- error_messages.append(str(e))
90
- if error_messages:
91
- # no match
92
- raise ValueError("No match found when setting the actual_instance in PrimitiveValue with anyOf schemas: bool, float, int, str. Details: " + ", ".join(error_messages))
93
- else:
94
- return v
95
-
96
- @classmethod
97
- def from_dict(cls, obj: Dict[str, Any]) -> Self:
98
- return cls.from_json(json.dumps(obj))
99
-
100
- @classmethod
101
- def from_json(cls, json_str: str) -> Self:
102
- """Returns the object represented by the json string"""
103
- instance = cls.model_construct()
104
- error_messages = []
105
- # deserialize data into int
106
- try:
107
- # validation
108
- instance.anyof_schema_1_validator = json.loads(json_str)
109
- # assign value to actual_instance
110
- instance.actual_instance = instance.anyof_schema_1_validator
111
- return instance
112
- except (ValidationError, ValueError) as e:
113
- error_messages.append(str(e))
114
- # deserialize data into float
115
- try:
116
- # validation
117
- instance.anyof_schema_2_validator = json.loads(json_str)
118
- # assign value to actual_instance
119
- instance.actual_instance = instance.anyof_schema_2_validator
120
- return instance
121
- except (ValidationError, ValueError) as e:
122
- error_messages.append(str(e))
123
- # deserialize data into str
124
- try:
125
- # validation
126
- instance.anyof_schema_3_validator = json.loads(json_str)
127
- # assign value to actual_instance
128
- instance.actual_instance = instance.anyof_schema_3_validator
129
- return instance
130
- except (ValidationError, ValueError) as e:
131
- error_messages.append(str(e))
132
- # deserialize data into bool
133
- try:
134
- # validation
135
- instance.anyof_schema_4_validator = json.loads(json_str)
136
- # assign value to actual_instance
137
- instance.actual_instance = instance.anyof_schema_4_validator
138
- return instance
139
- except (ValidationError, ValueError) as e:
140
- error_messages.append(str(e))
141
-
142
- if error_messages:
143
- # no match
144
- raise ValueError("No match found when deserializing the JSON string into PrimitiveValue with anyOf schemas: bool, float, int, str. Details: " + ", ".join(error_messages))
145
- else:
146
- return instance
147
-
148
- def to_json(self) -> str:
149
- """Returns the JSON representation of the actual instance"""
150
- if self.actual_instance is None:
151
- return "null"
152
-
153
- if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
154
- return self.actual_instance.to_json()
155
- else:
156
- return json.dumps(self.actual_instance)
157
-
158
- def to_dict(self) -> Optional[Union[Dict[str, Any], bool, float, int, str]]:
159
- """Returns the dict representation of the actual instance"""
160
- if self.actual_instance is None:
161
- return None
162
-
163
- if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
164
- return self.actual_instance.to_dict()
165
- else:
166
- return self.actual_instance
167
-
168
- def to_str(self) -> str:
169
- """Returns the string representation of the actual instance"""
170
- return pprint.pformat(self.model_dump())
171
-
172
-