arize-phoenix 4.35.1__py3-none-any.whl → 4.35.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of arize-phoenix might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arize-phoenix
3
- Version: 4.35.1
3
+ Version: 4.35.2
4
4
  Summary: AI Observability and Evaluation
5
5
  Project-URL: Documentation, https://docs.arize.com/phoenix/
6
6
  Project-URL: Issues, https://github.com/Arize-ai/phoenix/issues
@@ -6,7 +6,7 @@ phoenix/exceptions.py,sha256=n2L2KKuecrdflB9MsCdAYCiSEvGJptIsfRkXMoJle7A,169
6
6
  phoenix/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
7
7
  phoenix/services.py,sha256=OyML4t2XGnlqF0JXA9_uccL8HslTABxep9Ci7MViKEU,5216
8
8
  phoenix/settings.py,sha256=cO-qgis_S27nHirTobYI9hHPfZH18R--WMmxNdsVUwc,273
9
- phoenix/version.py,sha256=Nd3HgzjxrZkecy_38FNVE_5IA0Cn4opVcDzL8BxOLYQ,23
9
+ phoenix/version.py,sha256=JgwtOJu3qkxZ92UyHg_h6MoGQFyFrvbtvfsPCW5FXyg,23
10
10
  phoenix/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  phoenix/core/embedding_dimension.py,sha256=zKGbcvwOXgLf-yrJBpQyKtd-LEOPRKHnUToyAU8Owis,87
12
12
  phoenix/core/model.py,sha256=km_a--PBHOuA337ClRw9xqhOHhrUT6Rl9pz_zV0JYkQ,4843
@@ -271,7 +271,7 @@ phoenix/trace/schemas.py,sha256=HpWSyzec0yDHEQXEDuwyLbhpvKrqkGps8BJqGiIFj8Y,5978
271
271
  phoenix/trace/span_evaluations.py,sha256=GaADtJLi2njra4aYaie0BIwkSgdxPB_SNseglI4ykZA,13104
272
272
  phoenix/trace/span_json_decoder.py,sha256=jkpYSmOUsSptvahOvetrPjVkPIuI4h6b87eizL8wHp8,3230
273
273
  phoenix/trace/span_json_encoder.py,sha256=tzSCIQJbeFBm33K68G8A5M12n_86tCDyuU0WAobxEz4,2010
274
- phoenix/trace/trace_dataset.py,sha256=Wq89jJ4hYQ1Qt-Uj11ZNzKQYQeKmGY6NqWStQiiTlMw,14351
274
+ phoenix/trace/trace_dataset.py,sha256=jKXvta-rZuYMwDTytoJtJpSuV-3Hci6vWq31_rffHds,14476
275
275
  phoenix/trace/utils.py,sha256=lWinMM7Tsq_DCsBD5Ck97lxouBHrY4muGNsh8JD3qg4,1694
276
276
  phoenix/trace/dsl/README.md,sha256=ihmP9zGUC5V-TDbzKla76LuyDqPDQIBUH2BORwxNI68,2902
277
277
  phoenix/trace/dsl/__init__.py,sha256=WIQIjJg362XD3s50OsPJJ0xbDsGp41bSv7vDllLrPuA,144
@@ -296,8 +296,8 @@ phoenix/utilities/logging.py,sha256=lDXd6EGaamBNcQxL4vP1au9-i_SXe0OraUDiJOcszSw,
296
296
  phoenix/utilities/project.py,sha256=8IJuMM4yUMoooPi37sictGj8Etu9rGmq6RFtc9848cQ,436
297
297
  phoenix/utilities/re.py,sha256=PDve_OLjRTM8yQQJHC8-n3HdIONi7aNils3ZKRZ5uBM,2045
298
298
  phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
299
- arize_phoenix-4.35.1.dist-info/METADATA,sha256=B-eOWbki8M6A9hSU_cxMVVmHlzIGVjP3xeQDSRfFfO8,12003
300
- arize_phoenix-4.35.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
301
- arize_phoenix-4.35.1.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
302
- arize_phoenix-4.35.1.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
303
- arize_phoenix-4.35.1.dist-info/RECORD,,
299
+ arize_phoenix-4.35.2.dist-info/METADATA,sha256=tImL5zbN71ZgtUOnLmcBY3bK5dXV8dZ5EycHO9o1Y20,12003
300
+ arize_phoenix-4.35.2.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
301
+ arize_phoenix-4.35.2.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
302
+ arize_phoenix-4.35.2.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
303
+ arize_phoenix-4.35.2.dist-info/RECORD,,
@@ -17,7 +17,7 @@ from pyarrow import Schema, Table, parquet
17
17
 
18
18
  from phoenix.config import GENERATED_INFERENCES_NAME_PREFIX, INFERENCES_DIR, TRACE_DATASETS_DIR
19
19
  from phoenix.datetime_utils import normalize_timestamps
20
- from phoenix.trace.attributes import unflatten
20
+ from phoenix.trace.attributes import flatten, unflatten
21
21
  from phoenix.trace.errors import InvalidParquetMetadataError
22
22
  from phoenix.trace.schemas import ATTRIBUTE_PREFIX, CONTEXT_PREFIX, Span
23
23
  from phoenix.trace.span_evaluations import Evaluations, SpanEvaluations
@@ -173,12 +173,15 @@ class TraceDataset:
173
173
  is_attribute = row.index.str.startswith(ATTRIBUTE_PREFIX)
174
174
  attribute_keys = row.index[is_attribute]
175
175
  attributes = unflatten(
176
- row.loc[is_attribute]
177
- .rename(
178
- {key: key[len(ATTRIBUTE_PREFIX) :] for key in attribute_keys},
176
+ flatten(
177
+ row.loc[is_attribute]
178
+ .rename(
179
+ {key: key[len(ATTRIBUTE_PREFIX) :] for key in attribute_keys},
180
+ )
181
+ .dropna()
182
+ .to_dict(),
183
+ recurse_on_sequence=True,
179
184
  )
180
- .dropna()
181
- .items()
182
185
  )
183
186
  is_context = row.index.str.startswith(CONTEXT_PREFIX)
184
187
  context_keys = row.index[is_context]
phoenix/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "4.35.1"
1
+ __version__ = "4.35.2"