arize-phoenix 7.5.1__py3-none-any.whl → 7.6.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.5.1
3
+ Version: 7.6.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=7vQ6Qcfa2cKVApeGf8DgZrqPj1SIk9k4gQziWrjB-ug,22
9
+ phoenix/version.py,sha256=RS7ZvpeTsPTr9tY3yeVA3qW0ISlF5jRmARJfzG9UJLs,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
@@ -198,7 +198,7 @@ phoenix/server/api/routers/v1/experiment_runs.py,sha256=xKXhol1-G4zAFECAQK9lAjKt
198
198
  phoenix/server/api/routers/v1/experiments.py,sha256=sBxOIE4k4eIt-sQ6lPo2HUv9Tf1aURXtTJTq8J-Rfto,11808
199
199
  phoenix/server/api/routers/v1/pydantic_compat.py,sha256=FeK8oe2brqu-djsoqRxiKL4tw5cHmi89OHVfCFxYsAo,2890
200
200
  phoenix/server/api/routers/v1/spans.py,sha256=NnvcUIx_7nb4tnieP-tfgy2Ua7WzHGSTEOvoLJ-3C9Y,9634
201
- phoenix/server/api/routers/v1/traces.py,sha256=wK9WU60YBsZCGFi8h6QzXMyIQ1_e5WdkCGz4Ky2Gb-g,7787
201
+ phoenix/server/api/routers/v1/traces.py,sha256=r7J_LJRxrT6G72mE1s080Xakl8u7jZtA_AjKONFbptY,7917
202
202
  phoenix/server/api/routers/v1/utils.py,sha256=mSs1luneS00f4o60pJeR8JcjP1NdF3Igh7fjAbOYF_U,3074
203
203
  phoenix/server/api/types/Annotation.py,sha256=7Ym7iuVcbwHlw2yIRylz4nATAF_Cm-Z17qcjiooj1cc,751
204
204
  phoenix/server/api/types/AnnotationSummary.py,sha256=Adg_tFla5lL2csDQeQwn58b8kTB_57hotAN6WLQCLzE,1512
@@ -286,10 +286,10 @@ 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=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
289
+ phoenix/server/static/.vite/manifest.json,sha256=UDR2o8QNARketLVV8nkQ4P-DhzxuvI1ieNz77AXIleE,2163
290
+ phoenix/server/static/assets/components-BT4CFAMG.js,sha256=hv0LaVSmSP8EbnIoXm7aHx-ieK8jOheE_5tb3xp0n1E,389500
291
+ phoenix/server/static/assets/index-BE2xiPyd.js,sha256=IAFRRBcbpZth6iKGFnYi4X1Vc0C2QbVDCBv0C6yRU-U,8711
292
+ phoenix/server/static/assets/pages-Bkv2QK8h.js,sha256=Mxc4nGUz0PkM6Xy0Wc4KDR2AmBuD3OW1ikE8C35HLQc,671916
293
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
295
  phoenix/server/static/assets/vendor-arizeai-Do1793cv.js,sha256=IFADVVEZ8VY9o4iqYighRedZTXSyi1uZMTFFsBeIYis,305184
@@ -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.5.1.dist-info/METADATA,sha256=AOo3TW_Jl_LKCGynIN-7NCP0R0afQMup2OGAGC8mFYM,23052
340
- arize_phoenix-7.5.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
341
- arize_phoenix-7.5.1.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
342
- arize_phoenix-7.5.1.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
343
- arize_phoenix-7.5.1.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
344
- arize_phoenix-7.5.1.dist-info/RECORD,,
339
+ arize_phoenix-7.6.0.dist-info/METADATA,sha256=gCfjoDL57VJr5IN19U6RCH_y51ph5UHoHtY00HPcwuA,23052
340
+ arize_phoenix-7.6.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
341
+ arize_phoenix-7.6.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
342
+ arize_phoenix-7.6.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
343
+ arize_phoenix-7.6.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
344
+ arize_phoenix-7.6.0.dist-info/RECORD,,
@@ -3,17 +3,19 @@ import zlib
3
3
  from typing import Any, Literal, Optional
4
4
 
5
5
  from fastapi import APIRouter, BackgroundTasks, Header, HTTPException, Query
6
+ from google.protobuf.json_format import MessageToJson
6
7
  from google.protobuf.message import DecodeError
7
8
  from opentelemetry.proto.collector.trace.v1.trace_service_pb2 import (
8
9
  ExportTraceServiceRequest,
10
+ ExportTraceServiceResponse,
9
11
  )
10
12
  from pydantic import Field
11
13
  from sqlalchemy import select
12
14
  from starlette.concurrency import run_in_threadpool
13
15
  from starlette.datastructures import State
14
16
  from starlette.requests import Request
17
+ from starlette.responses import JSONResponse
15
18
  from starlette.status import (
16
- HTTP_204_NO_CONTENT,
17
19
  HTTP_404_NOT_FOUND,
18
20
  HTTP_415_UNSUPPORTED_MEDIA_TYPE,
19
21
  HTTP_422_UNPROCESSABLE_ENTITY,
@@ -38,7 +40,6 @@ router = APIRouter(tags=["traces"])
38
40
  "/traces",
39
41
  operation_id="addTraces",
40
42
  summary="Send traces",
41
- status_code=HTTP_204_NO_CONTENT,
42
43
  responses=add_errors_to_responses(
43
44
  [
44
45
  {
@@ -65,7 +66,7 @@ async def post_traces(
65
66
  background_tasks: BackgroundTasks,
66
67
  content_type: Optional[str] = Header(default=None),
67
68
  content_encoding: Optional[str] = Header(default=None),
68
- ) -> None:
69
+ ) -> JSONResponse:
69
70
  if content_type != "application/x-protobuf":
70
71
  raise HTTPException(
71
72
  detail=f"Unsupported content type: {content_type}",
@@ -90,7 +91,7 @@ async def post_traces(
90
91
  status_code=HTTP_422_UNPROCESSABLE_ENTITY,
91
92
  )
92
93
  background_tasks.add_task(_add_spans, req, request.state)
93
- return None
94
+ return JSONResponse(MessageToJson(ExportTraceServiceResponse()))
94
95
 
95
96
 
96
97
  class TraceAnnotationResult(V1RoutesBaseModel):
@@ -1,22 +1,22 @@
1
1
  {
2
- "_components-CZ-NZ1o9.js": {
3
- "file": "assets/components-CZ-NZ1o9.js",
2
+ "_components-BT4CFAMG.js": {
3
+ "file": "assets/components-BT4CFAMG.js",
4
4
  "name": "components",
5
5
  "imports": [
6
6
  "_vendor-DvC8cT4X.js",
7
- "_pages-BYLjwaR_.js",
7
+ "_pages-Bkv2QK8h.js",
8
8
  "_vendor-arizeai-Do1793cv.js",
9
9
  "_vendor-codemirror-BzwZPyJM.js",
10
10
  "_vendor-three-DwGkEfCM.js"
11
11
  ]
12
12
  },
13
- "_pages-BYLjwaR_.js": {
14
- "file": "assets/pages-BYLjwaR_.js",
13
+ "_pages-Bkv2QK8h.js": {
14
+ "file": "assets/pages-Bkv2QK8h.js",
15
15
  "name": "pages",
16
16
  "imports": [
17
17
  "_vendor-DvC8cT4X.js",
18
18
  "_vendor-arizeai-Do1793cv.js",
19
- "_components-CZ-NZ1o9.js",
19
+ "_components-BT4CFAMG.js",
20
20
  "_vendor-codemirror-BzwZPyJM.js",
21
21
  "_vendor-recharts-_Jb7JjhG.js"
22
22
  ]
@@ -69,15 +69,15 @@
69
69
  "name": "vendor-three"
70
70
  },
71
71
  "index.tsx": {
72
- "file": "assets/index-BO-WhoEn.js",
72
+ "file": "assets/index-BE2xiPyd.js",
73
73
  "name": "index",
74
74
  "src": "index.tsx",
75
75
  "isEntry": true,
76
76
  "imports": [
77
77
  "_vendor-DvC8cT4X.js",
78
78
  "_vendor-arizeai-Do1793cv.js",
79
- "_pages-BYLjwaR_.js",
80
- "_components-CZ-NZ1o9.js",
79
+ "_pages-Bkv2QK8h.js",
80
+ "_components-BT4CFAMG.js",
81
81
  "_vendor-three-DwGkEfCM.js",
82
82
  "_vendor-codemirror-BzwZPyJM.js",
83
83
  "_vendor-shiki-Cl9QBraO.js",