arize-phoenix 7.4.0__py3-none-any.whl → 7.5.0__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.4
2
2
  Name: arize-phoenix
3
- Version: 7.4.0
3
+ Version: 7.5.0
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=kpW1WL0kiB8XJsO6XycvZVJ-lBkNoenhQ7atCvBoSe8,5365
8
8
  phoenix/settings.py,sha256=ht-0oN-sMV6SPXrk7Tu1EZlngpAYkGNLYPhO8DyrdQI,661
9
- phoenix/version.py,sha256=Dbq9JbNzDz-GmfE0eozgGmdee4W8D3uVIIQv1bzHZPk,22
9
+ phoenix/version.py,sha256=RW55kHQozoWkaSZN2isiW82hGbM2sEaInLcWMhCPrc8,22
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=qBFraOtmwCCnWJltKNP18DDG0mULXigytlFsa6YOz6k,4837
@@ -252,7 +252,7 @@ phoenix/server/api/types/Retrieval.py,sha256=OhMK2ncjoyp5h1yjKhjlKpoTbQrMHuxmgSF
252
252
  phoenix/server/api/types/ScalarDriftMetricEnum.py,sha256=IUAcRPpgL41WdoIgK6cNk2Te38SspXGyEs-S1fY23_A,232
253
253
  phoenix/server/api/types/Segments.py,sha256=vT2v0efoa5cuBKxLtxTnsUP5YJJCZfTloM71Spu0tMI,2915
254
254
  phoenix/server/api/types/SortDir.py,sha256=OUpXhlCzCxPoXSDkJJygEs9Rw9pMymfaZUG5zPTrw4Y,152
255
- phoenix/server/api/types/Span.py,sha256=3vMWnCH0w7-lytq9fVpD0oWIfC-4huS5U6lOaoTSPrA,15113
255
+ phoenix/server/api/types/Span.py,sha256=uTFIIlWuGgiXuw2cmJkUTJXM0fimogPJ7s7QAjctalE,15344
256
256
  phoenix/server/api/types/SpanAnnotation.py,sha256=6b5G-b_OoRvDL2ayWk7MkbqarLK-F-pQMx21CpUuNGY,1168
257
257
  phoenix/server/api/types/SpanIOValue.py,sha256=u_g9QrX-E3fwneoucire73KY5gf3fE4V9IBN3qx2cvU,445
258
258
  phoenix/server/api/types/SystemApiKey.py,sha256=2ym8EgsTBIvxx1l9xZ-2YMovz58ZwYb_MaHBTJ9NH2E,166
@@ -286,16 +286,16 @@ phoenix/server/static/apple-touch-icon-76x76.png,sha256=CT_xT12I0u2i0WU8JzBZBuOQ
286
286
  phoenix/server/static/apple-touch-icon.png,sha256=fOfpjqGpWYbJ0eAurKsyoZP1EAs6ZVooBJ_SGk2ZkDs,3801
287
287
  phoenix/server/static/favicon.ico,sha256=bY0vvCKRftemZfPShwZtE93DiiQdaYaozkPGwNFr6H8,34494
288
288
  phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_wcU9c,2564
289
- phoenix/server/static/.vite/manifest.json,sha256=Q1SgLPGmcUImlHInxWieazzHx1AAyRiGoQaEYXAI5tA,2163
290
- phoenix/server/static/assets/components-BNfFAbcy.js,sha256=Y7VzywnUb9m95TG1VBBUwzBh3Pm7kki1Jyccl51pImU,386310
291
- phoenix/server/static/assets/index-BDwnu-Es.js,sha256=i3t2knC8MIWr9ItTj5gLfpY6oTRiymRFMDdLRgMq4GY,8711
292
- phoenix/server/static/assets/pages-DVqjOWjF.js,sha256=JVUj52am1t9RXTWZX8EnJhO2zsDicDJWUzIb3_egvWc,670748
293
- phoenix/server/static/assets/vendor-CWRhhGDN.js,sha256=5WW4s3I9c7prg4fSyP9bWzU_Iei_00-aQoJANo8QR0M,2156281
289
+ phoenix/server/static/.vite/manifest.json,sha256=8JbblTxve59umlPxvGh30CiKoW6sj8siYCgOTOjy9qA,2163
290
+ phoenix/server/static/assets/components-CZ-NZ1o9.js,sha256=saUrZEBKTXxcSzGkb32BEGWoY5kAr8idEMOVqtd8m0E,389350
291
+ phoenix/server/static/assets/index-BO-WhoEn.js,sha256=ICC9cN73qNidIPWr4ANGJLeDC6SU146zC5OqKeqcLek,8711
292
+ phoenix/server/static/assets/pages-BYLjwaR_.js,sha256=5uuJkYU46XxkMT813ookr4V9IRr-O-SX8p_eL3lUods,671745
293
+ phoenix/server/static/assets/vendor-DvC8cT4X.js,sha256=-EzJrg6BeYa58JPfaZC6KS5gvkJ8gC1n-Sb7lP-pOkw,2159677
294
294
  phoenix/server/static/assets/vendor-DxkFTwjz.css,sha256=nZrkr0u6NNElFGvpWHk9GTHeGoibCXCli1bE7mXZGZg,1816
295
- phoenix/server/static/assets/vendor-arizeai-vJqkHl1R.js,sha256=Z3mee2_IoxdDB8SgyFm-gSY7D9d4pVNRqxeob1RMzq4,308396
296
- phoenix/server/static/assets/vendor-codemirror-CTVsZGio.js,sha256=T1cAhHVp6RDE5iQyb7ktsSOHbPmU28-E9w9zh9G9iyw,392742
297
- phoenix/server/static/assets/vendor-recharts-HTtOx4y1.js,sha256=qlEIWe82UrjsFdweyF3R3gC2k6zy8AfMl5REwETIJDU,282859
298
- phoenix/server/static/assets/vendor-shiki-I2dgBsrk.js,sha256=X7BFbLVb16v8QH-BQx0iUCWkUuDV8CZ0Avge2M0hNxE,8980328
295
+ phoenix/server/static/assets/vendor-arizeai-Do1793cv.js,sha256=IFADVVEZ8VY9o4iqYighRedZTXSyi1uZMTFFsBeIYis,305184
296
+ phoenix/server/static/assets/vendor-codemirror-BzwZPyJM.js,sha256=AkmHgabAQNGFBLrlV4psTlWbeiwt255oGcEZcV5_-q8,392748
297
+ phoenix/server/static/assets/vendor-recharts-_Jb7JjhG.js,sha256=FTWYg-gVjcvVsf5uyPZ3nqFR5RwuUBkX5i21wKZE6lg,282859
298
+ phoenix/server/static/assets/vendor-shiki-Cl9QBraO.js,sha256=NXhU_e-nRn745IJyzEfbQ5q2njU4Q4AzLDfZxFE_A4M,8980328
299
299
  phoenix/server/static/assets/vendor-three-DwGkEfCM.js,sha256=0D12ZgKzfKCTSdSTKJBFR2RZO_xxeMXrqDp0AszZqHY,620972
300
300
  phoenix/server/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
301
301
  phoenix/server/templates/index.html,sha256=e8_jdi7Eo19SK7DI_gglkTW094D17E0VAegoMmmmvIc,4330
@@ -336,9 +336,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
336
336
  phoenix/utilities/re.py,sha256=x8Xbk-Wa6qDMAtUd_7JtZvKtrYEuMY-bchB0n163_5c,2006
337
337
  phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
338
338
  phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
339
- arize_phoenix-7.4.0.dist-info/METADATA,sha256=WnbF-3PAbzPrDhl5j7_VE3ml8y0PGXKDnvDGUc9SAFI,23052
340
- arize_phoenix-7.4.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
341
- arize_phoenix-7.4.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
342
- arize_phoenix-7.4.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
343
- arize_phoenix-7.4.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
344
- arize_phoenix-7.4.0.dist-info/RECORD,,
339
+ arize_phoenix-7.5.0.dist-info/METADATA,sha256=lB2qmqnRj59yolXhNh2ps5alf37caGFBnfS0GQzV7qo,23052
340
+ arize_phoenix-7.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
341
+ arize_phoenix-7.5.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
342
+ arize_phoenix-7.5.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
343
+ arize_phoenix-7.5.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
344
+ arize_phoenix-7.5.0.dist-info/RECORD,,
@@ -290,8 +290,14 @@ class Span(Node):
290
290
 
291
291
  def to_gql_span(span: models.Span) -> Span:
292
292
  events: list[SpanEvent] = list(map(SpanEvent.from_dict, span.events))
293
- input_value = cast(Optional[str], get_attribute_value(span.attributes, INPUT_VALUE))
294
- output_value = cast(Optional[str], get_attribute_value(span.attributes, OUTPUT_VALUE))
293
+ input_value = get_attribute_value(span.attributes, INPUT_VALUE)
294
+ if input_value is not None:
295
+ input_value = str(input_value)
296
+ assert input_value is None or isinstance(input_value, str)
297
+ output_value = get_attribute_value(span.attributes, OUTPUT_VALUE)
298
+ if output_value is not None:
299
+ output_value = str(output_value)
300
+ assert output_value is None or isinstance(output_value, str)
295
301
  retrieval_documents = get_attribute_value(span.attributes, RETRIEVAL_DOCUMENTS)
296
302
  num_documents = len(retrieval_documents) if isinstance(retrieval_documents, Sized) else None
297
303
  return Span(
@@ -1,32 +1,32 @@
1
1
  {
2
- "_components-BNfFAbcy.js": {
3
- "file": "assets/components-BNfFAbcy.js",
2
+ "_components-CZ-NZ1o9.js": {
3
+ "file": "assets/components-CZ-NZ1o9.js",
4
4
  "name": "components",
5
5
  "imports": [
6
- "_vendor-CWRhhGDN.js",
7
- "_pages-DVqjOWjF.js",
8
- "_vendor-arizeai-vJqkHl1R.js",
9
- "_vendor-codemirror-CTVsZGio.js",
6
+ "_vendor-DvC8cT4X.js",
7
+ "_pages-BYLjwaR_.js",
8
+ "_vendor-arizeai-Do1793cv.js",
9
+ "_vendor-codemirror-BzwZPyJM.js",
10
10
  "_vendor-three-DwGkEfCM.js"
11
11
  ]
12
12
  },
13
- "_pages-DVqjOWjF.js": {
14
- "file": "assets/pages-DVqjOWjF.js",
13
+ "_pages-BYLjwaR_.js": {
14
+ "file": "assets/pages-BYLjwaR_.js",
15
15
  "name": "pages",
16
16
  "imports": [
17
- "_vendor-CWRhhGDN.js",
18
- "_components-BNfFAbcy.js",
19
- "_vendor-arizeai-vJqkHl1R.js",
20
- "_vendor-codemirror-CTVsZGio.js",
21
- "_vendor-recharts-HTtOx4y1.js"
17
+ "_vendor-DvC8cT4X.js",
18
+ "_vendor-arizeai-Do1793cv.js",
19
+ "_components-CZ-NZ1o9.js",
20
+ "_vendor-codemirror-BzwZPyJM.js",
21
+ "_vendor-recharts-_Jb7JjhG.js"
22
22
  ]
23
23
  },
24
24
  "_vendor-!~{003}~.js": {
25
25
  "file": "assets/vendor-DxkFTwjz.css",
26
26
  "src": "_vendor-!~{003}~.js"
27
27
  },
28
- "_vendor-CWRhhGDN.js": {
29
- "file": "assets/vendor-CWRhhGDN.js",
28
+ "_vendor-DvC8cT4X.js": {
29
+ "file": "assets/vendor-DvC8cT4X.js",
30
30
  "name": "vendor",
31
31
  "imports": [
32
32
  "_vendor-three-DwGkEfCM.js"
@@ -35,33 +35,33 @@
35
35
  "assets/vendor-DxkFTwjz.css"
36
36
  ]
37
37
  },
38
- "_vendor-arizeai-vJqkHl1R.js": {
39
- "file": "assets/vendor-arizeai-vJqkHl1R.js",
38
+ "_vendor-arizeai-Do1793cv.js": {
39
+ "file": "assets/vendor-arizeai-Do1793cv.js",
40
40
  "name": "vendor-arizeai",
41
41
  "imports": [
42
- "_vendor-CWRhhGDN.js"
42
+ "_vendor-DvC8cT4X.js"
43
43
  ]
44
44
  },
45
- "_vendor-codemirror-CTVsZGio.js": {
46
- "file": "assets/vendor-codemirror-CTVsZGio.js",
45
+ "_vendor-codemirror-BzwZPyJM.js": {
46
+ "file": "assets/vendor-codemirror-BzwZPyJM.js",
47
47
  "name": "vendor-codemirror",
48
48
  "imports": [
49
- "_vendor-CWRhhGDN.js",
50
- "_vendor-shiki-I2dgBsrk.js"
49
+ "_vendor-DvC8cT4X.js",
50
+ "_vendor-shiki-Cl9QBraO.js"
51
51
  ]
52
52
  },
53
- "_vendor-recharts-HTtOx4y1.js": {
54
- "file": "assets/vendor-recharts-HTtOx4y1.js",
53
+ "_vendor-recharts-_Jb7JjhG.js": {
54
+ "file": "assets/vendor-recharts-_Jb7JjhG.js",
55
55
  "name": "vendor-recharts",
56
56
  "imports": [
57
- "_vendor-CWRhhGDN.js"
57
+ "_vendor-DvC8cT4X.js"
58
58
  ]
59
59
  },
60
- "_vendor-shiki-I2dgBsrk.js": {
61
- "file": "assets/vendor-shiki-I2dgBsrk.js",
60
+ "_vendor-shiki-Cl9QBraO.js": {
61
+ "file": "assets/vendor-shiki-Cl9QBraO.js",
62
62
  "name": "vendor-shiki",
63
63
  "imports": [
64
- "_vendor-CWRhhGDN.js"
64
+ "_vendor-DvC8cT4X.js"
65
65
  ]
66
66
  },
67
67
  "_vendor-three-DwGkEfCM.js": {
@@ -69,19 +69,19 @@
69
69
  "name": "vendor-three"
70
70
  },
71
71
  "index.tsx": {
72
- "file": "assets/index-BDwnu-Es.js",
72
+ "file": "assets/index-BO-WhoEn.js",
73
73
  "name": "index",
74
74
  "src": "index.tsx",
75
75
  "isEntry": true,
76
76
  "imports": [
77
- "_vendor-CWRhhGDN.js",
78
- "_vendor-arizeai-vJqkHl1R.js",
79
- "_pages-DVqjOWjF.js",
80
- "_components-BNfFAbcy.js",
77
+ "_vendor-DvC8cT4X.js",
78
+ "_vendor-arizeai-Do1793cv.js",
79
+ "_pages-BYLjwaR_.js",
80
+ "_components-CZ-NZ1o9.js",
81
81
  "_vendor-three-DwGkEfCM.js",
82
- "_vendor-codemirror-CTVsZGio.js",
83
- "_vendor-shiki-I2dgBsrk.js",
84
- "_vendor-recharts-HTtOx4y1.js"
82
+ "_vendor-codemirror-BzwZPyJM.js",
83
+ "_vendor-shiki-Cl9QBraO.js",
84
+ "_vendor-recharts-_Jb7JjhG.js"
85
85
  ]
86
86
  }
87
87
  }