arize 8.0.0a4__tar.gz → 8.0.0a5__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.
- {arize-8.0.0a4 → arize-8.0.0a5}/PKG-INFO +32 -15
- {arize-8.0.0a4 → arize-8.0.0a5}/README.md +31 -14
- arize-8.0.0a5/src/arize/version.py +1 -0
- arize-8.0.0a4/src/arize/version.py +0 -1
- {arize-8.0.0a4 → arize-8.0.0a5}/.gitignore +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/LICENSE.md +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/pyproject.toml +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_exporter/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_exporter/client.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_exporter/parsers/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_exporter/parsers/tracing_data_parser.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_exporter/validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_flight/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_flight/client.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_flight/types.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/api/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/api/datasets_api.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/api/experiments_api.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/api_client.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/api_response.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/configuration.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/exceptions.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/dataset.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/dataset_version.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/datasets_create201_response.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/datasets_create_request.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/datasets_list200_response.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/datasets_list_examples200_response.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/error.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/experiment.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/experiments_list200_response.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/rest.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_dataset.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_dataset_version.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_datasets_api.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_datasets_create201_response.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_datasets_create_request.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_datasets_list200_response.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_datasets_list_examples200_response.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_error.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_experiment.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_experiments_api.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_experiments_list200_response.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client_README.md +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/protocol/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/protocol/flight/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/protocol/flight/export_pb2.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/protocol/flight/ingest_pb2.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/protocol/rec/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/protocol/rec/public_pb2.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_lazy.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/client.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/config.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/constants/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/constants/config.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/constants/ml.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/constants/model_mapping.json +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/constants/spans.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/datasets/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/datasets/client.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/exceptions/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/exceptions/auth.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/exceptions/base.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/exceptions/models.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/exceptions/parameters.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/exceptions/spaces.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/exceptions/types.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/exceptions/values.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/experiments/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/experiments/client.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/logging.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/models/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/models/batch_validation/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/models/batch_validation/errors.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/models/batch_validation/validator.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/models/bounded_executor.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/models/client.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/models/stream_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/client.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/columns.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/conversion.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/annotations/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/annotations/annotations_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/annotations/dataframe_form_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/annotations/value_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/common/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/common/argument_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/common/dataframe_form_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/common/errors.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/common/value_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/evals/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/evals/dataframe_form_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/evals/evals_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/evals/value_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/metadata/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/metadata/argument_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/metadata/dataframe_form_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/metadata/value_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/spans/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/spans/dataframe_form_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/spans/spans_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/spans/value_validation.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/types.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/utils/__init__.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/utils/arrow.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/utils/casting.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/utils/dataframe.py +0 -0
- {arize-8.0.0a4 → arize-8.0.0a5}/src/arize/utils/proto.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: arize
|
|
3
|
-
Version: 8.0.
|
|
3
|
+
Version: 8.0.0a5
|
|
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
|
|
@@ -65,7 +65,24 @@ Description-Content-Type: text/markdown
|
|
|
65
65
|
|
|
66
66
|
---
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
# Table of Contents <!-- omit in toc -->
|
|
69
|
+
|
|
70
|
+
- [Overview](#overview)
|
|
71
|
+
- [Key Features](#key-features)
|
|
72
|
+
- [Installation](#installation)
|
|
73
|
+
- [Usage](#usage)
|
|
74
|
+
- [Instrumentation](#instrumentation)
|
|
75
|
+
- [Operations on Spans](#operations-on-spans)
|
|
76
|
+
- [Logging spans](#logging-spans)
|
|
77
|
+
- [Update spans Evaluations, Annotations, and Metadata](#update-spans-evaluations-annotations-and-metadata)
|
|
78
|
+
- [Exporting spans](#exporting-spans)
|
|
79
|
+
- [Operations on ML Models](#operations-on-ml-models)
|
|
80
|
+
- [Stream log ML Data for a Classification use-case](#stream-log-ml-data-for-a-classification-use-case)
|
|
81
|
+
- [Log a batch of ML Data for a Classification use-case](#log-a-batch-of-ml-data-for-a-classification-use-case)
|
|
82
|
+
- [Exporting ML Data](#exporting-ml-data)
|
|
83
|
+
- [Community](#community)
|
|
84
|
+
|
|
85
|
+
# Overview
|
|
69
86
|
|
|
70
87
|
A helper package to interact with Arize AI APIs.
|
|
71
88
|
|
|
@@ -78,7 +95,7 @@ Arize has both Enterprise and OSS products to support this goal:
|
|
|
78
95
|
|
|
79
96
|
We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 million OSS downloads every month.
|
|
80
97
|
|
|
81
|
-
|
|
98
|
+
# Key Features
|
|
82
99
|
- [**_Tracing_**](https://docs.arize.com/arize/observe/tracing) - Trace your LLM application's runtime using OpenTelemetry-based instrumentation.
|
|
83
100
|
- [**_Evaluation_**](https://docs.arize.com/arize/evaluate/online-evals) - Leverage LLMs to benchmark your application's performance using response and retrieval evals.
|
|
84
101
|
- [**_Datasets_**](https://docs.arize.com/arize/develop/datasets) - Create versioned datasets of examples for experimentation, evaluation, and fine-tuning.
|
|
@@ -86,7 +103,7 @@ We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 m
|
|
|
86
103
|
- [**_Playground_**](https://docs.arize.com/arize/develop/prompt-playground)- Optimize prompts, compare models, adjust parameters, and replay traced LLM calls.
|
|
87
104
|
- [**_Prompt Management_**](https://docs.arize.com/arize/develop/prompt-hub)- Manage and test prompt changes systematically using version control, tagging, and experimentation.
|
|
88
105
|
|
|
89
|
-
|
|
106
|
+
# Installation
|
|
90
107
|
|
|
91
108
|
Install Arize (version 8 is currently under alpha release) via `pip` or `conda`:
|
|
92
109
|
|
|
@@ -99,9 +116,9 @@ where `x` denotes the specific alpha release. Install the `arize-otel` package f
|
|
|
99
116
|
pip install arize-otel
|
|
100
117
|
```
|
|
101
118
|
|
|
102
|
-
|
|
119
|
+
# Usage
|
|
103
120
|
|
|
104
|
-
|
|
121
|
+
## Instrumentation
|
|
105
122
|
|
|
106
123
|
See [arize-otel in PyPI](https://pypi.org/project/arize-otel/):
|
|
107
124
|
|
|
@@ -120,13 +137,13 @@ tracer_provider = register(
|
|
|
120
137
|
OpenAIInstrumentor().instrument(tracer_provider=tracer_provider)
|
|
121
138
|
```
|
|
122
139
|
|
|
123
|
-
|
|
140
|
+
## Operations on Spans
|
|
124
141
|
|
|
125
142
|
Use `arize.spans` to interact with spans: log spans into Arize, update the span's evaluations, annotations and metadata in bulk.
|
|
126
143
|
|
|
127
144
|
> **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.
|
|
128
145
|
|
|
129
|
-
|
|
146
|
+
### Logging spans
|
|
130
147
|
|
|
131
148
|
```python
|
|
132
149
|
from arize import ArizeClient
|
|
@@ -143,7 +160,7 @@ client.spans.log(
|
|
|
143
160
|
)
|
|
144
161
|
```
|
|
145
162
|
|
|
146
|
-
|
|
163
|
+
### Update spans Evaluations, Annotations, and Metadata
|
|
147
164
|
|
|
148
165
|
```python
|
|
149
166
|
from arize import ArizeClient
|
|
@@ -172,7 +189,7 @@ client.spans.update_metadata(
|
|
|
172
189
|
)
|
|
173
190
|
```
|
|
174
191
|
|
|
175
|
-
|
|
192
|
+
### Exporting spans
|
|
176
193
|
|
|
177
194
|
Use the `export_to_df` or `export_to_parquet` to export large amounts of spans from Arize.
|
|
178
195
|
|
|
@@ -196,13 +213,13 @@ df = client.spans.export_to_df(
|
|
|
196
213
|
)
|
|
197
214
|
```
|
|
198
215
|
|
|
199
|
-
|
|
216
|
+
## Operations on ML Models
|
|
200
217
|
|
|
201
218
|
Use `arize.models` to interact with ML models: log ML data (traininv, validation, production) into Arize, either streaming or in batches.
|
|
202
219
|
|
|
203
220
|
> **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.
|
|
204
221
|
|
|
205
|
-
|
|
222
|
+
### Stream log ML Data for a Classification use-case
|
|
206
223
|
|
|
207
224
|
```python
|
|
208
225
|
from arize import ArizeClient
|
|
@@ -227,7 +244,7 @@ response = client.models.log_stream(
|
|
|
227
244
|
)
|
|
228
245
|
```
|
|
229
246
|
|
|
230
|
-
|
|
247
|
+
### Log a batch of ML Data for a Classification use-case
|
|
231
248
|
|
|
232
249
|
```python
|
|
233
250
|
from arize import ArizeClient
|
|
@@ -278,7 +295,7 @@ response = client.models.log_batch(
|
|
|
278
295
|
)
|
|
279
296
|
```
|
|
280
297
|
|
|
281
|
-
|
|
298
|
+
### Exporting ML Data
|
|
282
299
|
|
|
283
300
|
Use the `export_to_df` or `export_to_parquet` to export large amounts of spans from Arize.
|
|
284
301
|
|
|
@@ -305,7 +322,7 @@ df = client.models.export_to_df(
|
|
|
305
322
|
)
|
|
306
323
|
```
|
|
307
324
|
|
|
308
|
-
|
|
325
|
+
# Community
|
|
309
326
|
|
|
310
327
|
Join our community to connect with thousands of AI builders.
|
|
311
328
|
|
|
@@ -16,7 +16,24 @@
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
# Table of Contents <!-- omit in toc -->
|
|
20
|
+
|
|
21
|
+
- [Overview](#overview)
|
|
22
|
+
- [Key Features](#key-features)
|
|
23
|
+
- [Installation](#installation)
|
|
24
|
+
- [Usage](#usage)
|
|
25
|
+
- [Instrumentation](#instrumentation)
|
|
26
|
+
- [Operations on Spans](#operations-on-spans)
|
|
27
|
+
- [Logging spans](#logging-spans)
|
|
28
|
+
- [Update spans Evaluations, Annotations, and Metadata](#update-spans-evaluations-annotations-and-metadata)
|
|
29
|
+
- [Exporting spans](#exporting-spans)
|
|
30
|
+
- [Operations on ML Models](#operations-on-ml-models)
|
|
31
|
+
- [Stream log ML Data for a Classification use-case](#stream-log-ml-data-for-a-classification-use-case)
|
|
32
|
+
- [Log a batch of ML Data for a Classification use-case](#log-a-batch-of-ml-data-for-a-classification-use-case)
|
|
33
|
+
- [Exporting ML Data](#exporting-ml-data)
|
|
34
|
+
- [Community](#community)
|
|
35
|
+
|
|
36
|
+
# Overview
|
|
20
37
|
|
|
21
38
|
A helper package to interact with Arize AI APIs.
|
|
22
39
|
|
|
@@ -29,7 +46,7 @@ Arize has both Enterprise and OSS products to support this goal:
|
|
|
29
46
|
|
|
30
47
|
We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 million OSS downloads every month.
|
|
31
48
|
|
|
32
|
-
|
|
49
|
+
# Key Features
|
|
33
50
|
- [**_Tracing_**](https://docs.arize.com/arize/observe/tracing) - Trace your LLM application's runtime using OpenTelemetry-based instrumentation.
|
|
34
51
|
- [**_Evaluation_**](https://docs.arize.com/arize/evaluate/online-evals) - Leverage LLMs to benchmark your application's performance using response and retrieval evals.
|
|
35
52
|
- [**_Datasets_**](https://docs.arize.com/arize/develop/datasets) - Create versioned datasets of examples for experimentation, evaluation, and fine-tuning.
|
|
@@ -37,7 +54,7 @@ We log over 1 trillion inferences and spans, 10 million evaluation runs, and 2 m
|
|
|
37
54
|
- [**_Playground_**](https://docs.arize.com/arize/develop/prompt-playground)- Optimize prompts, compare models, adjust parameters, and replay traced LLM calls.
|
|
38
55
|
- [**_Prompt Management_**](https://docs.arize.com/arize/develop/prompt-hub)- Manage and test prompt changes systematically using version control, tagging, and experimentation.
|
|
39
56
|
|
|
40
|
-
|
|
57
|
+
# Installation
|
|
41
58
|
|
|
42
59
|
Install Arize (version 8 is currently under alpha release) via `pip` or `conda`:
|
|
43
60
|
|
|
@@ -50,9 +67,9 @@ where `x` denotes the specific alpha release. Install the `arize-otel` package f
|
|
|
50
67
|
pip install arize-otel
|
|
51
68
|
```
|
|
52
69
|
|
|
53
|
-
|
|
70
|
+
# Usage
|
|
54
71
|
|
|
55
|
-
|
|
72
|
+
## Instrumentation
|
|
56
73
|
|
|
57
74
|
See [arize-otel in PyPI](https://pypi.org/project/arize-otel/):
|
|
58
75
|
|
|
@@ -71,13 +88,13 @@ tracer_provider = register(
|
|
|
71
88
|
OpenAIInstrumentor().instrument(tracer_provider=tracer_provider)
|
|
72
89
|
```
|
|
73
90
|
|
|
74
|
-
|
|
91
|
+
## Operations on Spans
|
|
75
92
|
|
|
76
93
|
Use `arize.spans` to interact with spans: log spans into Arize, update the span's evaluations, annotations and metadata in bulk.
|
|
77
94
|
|
|
78
95
|
> **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.
|
|
79
96
|
|
|
80
|
-
|
|
97
|
+
### Logging spans
|
|
81
98
|
|
|
82
99
|
```python
|
|
83
100
|
from arize import ArizeClient
|
|
@@ -94,7 +111,7 @@ client.spans.log(
|
|
|
94
111
|
)
|
|
95
112
|
```
|
|
96
113
|
|
|
97
|
-
|
|
114
|
+
### Update spans Evaluations, Annotations, and Metadata
|
|
98
115
|
|
|
99
116
|
```python
|
|
100
117
|
from arize import ArizeClient
|
|
@@ -123,7 +140,7 @@ client.spans.update_metadata(
|
|
|
123
140
|
)
|
|
124
141
|
```
|
|
125
142
|
|
|
126
|
-
|
|
143
|
+
### Exporting spans
|
|
127
144
|
|
|
128
145
|
Use the `export_to_df` or `export_to_parquet` to export large amounts of spans from Arize.
|
|
129
146
|
|
|
@@ -147,13 +164,13 @@ df = client.spans.export_to_df(
|
|
|
147
164
|
)
|
|
148
165
|
```
|
|
149
166
|
|
|
150
|
-
|
|
167
|
+
## Operations on ML Models
|
|
151
168
|
|
|
152
169
|
Use `arize.models` to interact with ML models: log ML data (traininv, validation, production) into Arize, either streaming or in batches.
|
|
153
170
|
|
|
154
171
|
> **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.
|
|
155
172
|
|
|
156
|
-
|
|
173
|
+
### Stream log ML Data for a Classification use-case
|
|
157
174
|
|
|
158
175
|
```python
|
|
159
176
|
from arize import ArizeClient
|
|
@@ -178,7 +195,7 @@ response = client.models.log_stream(
|
|
|
178
195
|
)
|
|
179
196
|
```
|
|
180
197
|
|
|
181
|
-
|
|
198
|
+
### Log a batch of ML Data for a Classification use-case
|
|
182
199
|
|
|
183
200
|
```python
|
|
184
201
|
from arize import ArizeClient
|
|
@@ -229,7 +246,7 @@ response = client.models.log_batch(
|
|
|
229
246
|
)
|
|
230
247
|
```
|
|
231
248
|
|
|
232
|
-
|
|
249
|
+
### Exporting ML Data
|
|
233
250
|
|
|
234
251
|
Use the `export_to_df` or `export_to_parquet` to export large amounts of spans from Arize.
|
|
235
252
|
|
|
@@ -256,7 +273,7 @@ df = client.models.export_to_df(
|
|
|
256
273
|
)
|
|
257
274
|
```
|
|
258
275
|
|
|
259
|
-
|
|
276
|
+
# Community
|
|
260
277
|
|
|
261
278
|
Join our community to connect with thousands of AI builders.
|
|
262
279
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "8.0.0a5"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "8.0.0a4"
|
|
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
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/datasets_create_request.py
RENAMED
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/models/datasets_list200_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_dataset_version.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_datasets_create_request.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/_generated/api_client/test/test_experiments_api.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/annotations/annotations_validation.py
RENAMED
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/annotations/dataframe_form_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/common/dataframe_form_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/evals/dataframe_form_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/metadata/dataframe_form_validation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arize-8.0.0a4 → arize-8.0.0a5}/src/arize/spans/validation/spans/dataframe_form_validation.py
RENAMED
|
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
|