arize-phoenix 11.32.1__py3-none-any.whl → 11.34.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.
- {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.34.0.dist-info}/METADATA +1 -1
- {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.34.0.dist-info}/RECORD +57 -50
- phoenix/config.py +44 -0
- phoenix/db/bulk_inserter.py +111 -116
- phoenix/inferences/inferences.py +1 -2
- phoenix/server/api/context.py +20 -0
- phoenix/server/api/dataloaders/__init__.py +20 -0
- phoenix/server/api/dataloaders/average_experiment_repeated_run_group_latency.py +50 -0
- phoenix/server/api/dataloaders/dataset_example_revisions.py +0 -1
- phoenix/server/api/dataloaders/dataset_examples_and_versions_by_experiment_run.py +47 -0
- phoenix/server/api/dataloaders/experiment_repeated_run_group_annotation_summaries.py +77 -0
- phoenix/server/api/dataloaders/experiment_repeated_run_groups.py +59 -0
- phoenix/server/api/dataloaders/experiment_repetition_counts.py +39 -0
- phoenix/server/api/dataloaders/span_cost_summary_by_experiment_repeated_run_group.py +64 -0
- phoenix/server/api/helpers/playground_clients.py +4 -0
- phoenix/server/api/mutations/prompt_label_mutations.py +67 -58
- phoenix/server/api/queries.py +52 -37
- phoenix/server/api/routers/v1/documents.py +1 -1
- phoenix/server/api/routers/v1/evaluations.py +4 -4
- phoenix/server/api/routers/v1/experiment_runs.py +1 -1
- phoenix/server/api/routers/v1/experiments.py +1 -1
- phoenix/server/api/routers/v1/spans.py +2 -2
- phoenix/server/api/routers/v1/traces.py +18 -3
- phoenix/server/api/types/DatasetExample.py +49 -1
- phoenix/server/api/types/Experiment.py +12 -2
- phoenix/server/api/types/ExperimentComparison.py +3 -9
- phoenix/server/api/types/ExperimentRepeatedRunGroup.py +146 -0
- phoenix/server/api/types/ExperimentRepeatedRunGroupAnnotationSummary.py +9 -0
- phoenix/server/api/types/ExperimentRun.py +12 -19
- phoenix/server/api/types/Prompt.py +11 -0
- phoenix/server/api/types/PromptLabel.py +2 -19
- phoenix/server/api/types/node.py +10 -0
- phoenix/server/app.py +78 -20
- phoenix/server/cost_tracking/model_cost_manifest.json +1 -1
- phoenix/server/daemons/span_cost_calculator.py +10 -8
- phoenix/server/grpc_server.py +9 -9
- phoenix/server/prometheus.py +30 -6
- phoenix/server/static/.vite/manifest.json +43 -43
- phoenix/server/static/assets/components-CdQiQTvs.js +5778 -0
- phoenix/server/static/assets/{index-D1FDMBMV.js → index-B1VuXYRI.js} +12 -21
- phoenix/server/static/assets/pages-CnfZ3RhB.js +9163 -0
- phoenix/server/static/assets/vendor-BGzfc4EU.css +1 -0
- phoenix/server/static/assets/vendor-Cfrr9FCF.js +903 -0
- phoenix/server/static/assets/{vendor-arizeai-DsYDNOqt.js → vendor-arizeai-Dz0kN-lQ.js} +4 -4
- phoenix/server/static/assets/vendor-codemirror-ClqtONZQ.js +25 -0
- phoenix/server/static/assets/{vendor-recharts-BTHn5Y2R.js → vendor-recharts-D6kvOpmb.js} +2 -2
- phoenix/server/static/assets/{vendor-shiki-BAcocHFl.js → vendor-shiki-xSOiKxt0.js} +1 -1
- phoenix/session/client.py +55 -1
- phoenix/session/data_extractor.py +5 -0
- phoenix/session/evaluation.py +8 -4
- phoenix/session/session.py +13 -0
- phoenix/trace/projects.py +1 -2
- phoenix/version.py +1 -1
- phoenix/server/static/assets/components-Cs9c4Nxp.js +0 -5698
- phoenix/server/static/assets/pages-Cbj9SjBx.js +0 -8928
- phoenix/server/static/assets/vendor-CqDb5u4o.css +0 -1
- phoenix/server/static/assets/vendor-RdRDaQiR.js +0 -905
- phoenix/server/static/assets/vendor-codemirror-BzJDUbEx.js +0 -25
- phoenix/utilities/deprecation.py +0 -31
- {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.34.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.34.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.34.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.34.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{U as g,j as o,
|
|
1
|
+
import{U as g,j as o,d0 as f,eG as v,eH as h,eI as y,l as c,cp as x,eJ as a,r as z,o as w,eK as P}from"./vendor-Cfrr9FCF.js";import{r as k,s as S}from"./vendor-arizeai-Dz0kN-lQ.js";import{L,g as C,r as R,h as E,i as I,F as j,j as A,P as D,k as F,M as t,l as T,D as G,n as M,E as O,o as _,p as V,q as N,s as W,t as d,v as q,w as U,x as B,y as K,z as $,B as H,C as J,G as Q,H as X,I as Y,J as Z,K as m,N as p,O as oo,Q as ao,U as lo,V as ro,W as co,X as go,Y as eo,Z as bo,_ as no,$ as io,a0 as so,a1 as to,a2 as mo,a3 as po,a4 as uo,a5 as fo,a6 as vo,a7 as ho,a8 as yo,a9 as xo,aa as zo,ab as wo,ac as Po,ad as ko,ae as So,af as Lo,ag as Co,ah as Ro,ai as Eo,aj as Io,ak as jo,al as Ao,am as Do,an as Fo,ao as To,ap as Go,aq as Mo,ar as Oo,as as _o,at as Vo,au as n,av as No,aw as Wo,ax as qo,ay as Uo,az as Bo,aA as Ko,aB as $o}from"./pages-CnfZ3RhB.js";import{fU as Ho,cO as Jo,U as Qo,fV as Xo,fW as Yo}from"./components-CdQiQTvs.js";import"./vendor-three-BLWp5bic.js";import"./vendor-codemirror-ClqtONZQ.js";import"./vendor-shiki-xSOiKxt0.js";import"./vendor-recharts-D6kvOpmb.js";(function(){const b=document.createElement("link").relList;if(b&&b.supports&&b.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const e of r)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function u(r){const e={};return r.integrity&&(e.integrity=r.integrity),r.referrerPolicy&&(e.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?e.credentials="include":r.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function s(r){if(r.ep)return;r.ep=!0;const e=u(r);fetch(r.href,e)}})();const Zo=g`
|
|
2
2
|
:root,
|
|
3
3
|
.ac-theme {
|
|
4
4
|
--ac-global-dimension-scale-factor: 1;
|
|
@@ -54,7 +54,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
54
54
|
--ac-global-dimension-size-5000: 400px;
|
|
55
55
|
--ac-global-dimension-size-6000: 480px;
|
|
56
56
|
}
|
|
57
|
-
`,
|
|
57
|
+
`,oa=g`
|
|
58
58
|
:root,
|
|
59
59
|
.ac-theme {
|
|
60
60
|
// static colors
|
|
@@ -71,7 +71,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
71
71
|
--ac-global-button-height-s: var(--ac-global-input-height-s);
|
|
72
72
|
--ac-global-button-height-m: var(--ac-global-input-height-m);
|
|
73
73
|
}
|
|
74
|
-
`,
|
|
74
|
+
`,aa=g`
|
|
75
75
|
:root,
|
|
76
76
|
.ac-theme {
|
|
77
77
|
--ac-global-dimension-static-size-0: 0px;
|
|
@@ -152,7 +152,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
152
152
|
--ac-global-dimension-font-size-1200: 50px;
|
|
153
153
|
--ac-global-dimension-font-size-1300: 60px;
|
|
154
154
|
}
|
|
155
|
-
`,
|
|
155
|
+
`,la=g`
|
|
156
156
|
:root,
|
|
157
157
|
.ac-theme--dark {
|
|
158
158
|
/* Colors */
|
|
@@ -666,7 +666,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
666
666
|
--ac-floating-toolbar-background-color: var(--ac-global-color-grey-200);
|
|
667
667
|
--ac-floating-toolbar-border-color: var(--ac-global-color-grey-300);
|
|
668
668
|
}
|
|
669
|
-
`,
|
|
669
|
+
`,ra=g`
|
|
670
670
|
:root,
|
|
671
671
|
.ac-theme--light {
|
|
672
672
|
/* Colors */
|
|
@@ -915,7 +915,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
915
915
|
--ac-floating-toolbar-background-color: var(--ac-global-color-grey-75);
|
|
916
916
|
--ac-floating-toolbar-border-color: var(--ac-global-color-grey-200);
|
|
917
917
|
}
|
|
918
|
-
`,
|
|
918
|
+
`,ca=l=>g`
|
|
919
919
|
:root,
|
|
920
920
|
.ac-theme--${l} {
|
|
921
921
|
// The primary color tint for the apps
|
|
@@ -1072,12 +1072,12 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
1072
1072
|
--ac-alias-single-line-height: var(--ac-global-dimension-size-400);
|
|
1073
1073
|
--ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
|
|
1074
1074
|
}
|
|
1075
|
-
`,
|
|
1075
|
+
`,ga=g`
|
|
1076
1076
|
:root,
|
|
1077
1077
|
.ac-theme {
|
|
1078
1078
|
--ac-opacity-disabled: 0.6;
|
|
1079
1079
|
}
|
|
1080
|
-
`,
|
|
1080
|
+
`,ea=g`
|
|
1081
1081
|
body,
|
|
1082
1082
|
input,
|
|
1083
1083
|
button,
|
|
@@ -1211,7 +1211,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
1211
1211
|
--px-corpus-color: #92969c;
|
|
1212
1212
|
--px-corpus-color--transparent: #92969c63;
|
|
1213
1213
|
}
|
|
1214
|
-
`,
|
|
1214
|
+
`,ba=g`
|
|
1215
1215
|
.ac-theme--light {
|
|
1216
1216
|
.cm-editor {
|
|
1217
1217
|
background-color: rgba(255, 255, 255, 0.5) !important;
|
|
@@ -1228,16 +1228,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
1228
1228
|
background-color: rgba(0, 0, 0, 0.2) !important;
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
|
-
`,
|
|
1232
|
-
.react-grid-item.react-grid-placeholder {
|
|
1233
|
-
// the placeholder doesn't look good
|
|
1234
|
-
background: var(--ac-global-color-blue-500);
|
|
1235
|
-
opacity: 0.1;
|
|
1236
|
-
}
|
|
1237
|
-
.ac-theme--dark .react-resizable-handle {
|
|
1238
|
-
filter: invert(1);
|
|
1239
|
-
}
|
|
1240
|
-
`,ma=g`
|
|
1231
|
+
`,na=g`
|
|
1241
1232
|
.ac-theme {
|
|
1242
1233
|
--chart-cartesian-grid-stroke-color: var(--ac-global-color-grey-300);
|
|
1243
1234
|
--chart-axis-stroke-color: var(--ac-global-color-grey-300);
|
|
@@ -1251,7 +1242,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
1251
1242
|
.ac-theme--light {
|
|
1252
1243
|
--chart-tooltip-cursor-fill-color: rgba(0, 0, 0, 0.05);
|
|
1253
1244
|
}
|
|
1254
|
-
`,
|
|
1245
|
+
`,ia=g`
|
|
1255
1246
|
.font-default {
|
|
1256
1247
|
font-family: "Geist", sans-serif;
|
|
1257
1248
|
font-optical-sizing: auto;
|
|
@@ -1261,4 +1252,4 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
|
|
|
1261
1252
|
font-family: "Geist Mono", monospace;
|
|
1262
1253
|
font-optical-sizing: auto;
|
|
1263
1254
|
}
|
|
1264
|
-
`;function
|
|
1255
|
+
`;function sa(){const{theme:l="dark"}=k();return o(f,{styles:g(aa,oa,l==="dark"?la:ra,ca(l),Zo,ga,ea,ba,na,ia)})}const ta=v(h(c(a,{path:"/",errorElement:o(n,{}),children:[o(a,{path:"/v1/*",element:o(x,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(L,{})}),o(a,{path:"/logout",element:o(C,{})}),o(a,{path:"/reset-password",element:o(E,{}),loader:R}),o(a,{path:"/reset-password-with-token",element:o(I,{})}),o(a,{path:"/forgot-password",element:o(j,{})}),o(a,{element:o(Uo,{}),loader:A,children:c(a,{element:o(qo,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(D,{})}),o(a,{index:!0,loader:F}),c(a,{path:"/model",handle:{crumb:()=>"model"},element:o(_,{}),children:[o(a,{index:!0,element:o(t,{})}),o(a,{element:o(t,{}),children:o(a,{path:"dimensions",children:o(a,{path:":dimensionId",element:o(G,{}),loader:T})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(O,{}),loader:M,handle:{crumb:l=>l.embedding.name}})})]}),c(a,{path:"/projects",handle:{crumb:()=>"Projects"},element:o(Y,{}),children:[o(a,{index:!0,element:o(V,{})}),c(a,{path:":projectId",loader:N,handle:{crumb:l=>l.project.name},element:o(X,{}),children:[o(a,{index:!0,element:o(W,{})}),c(a,{element:o(Q,{}),children:[o(a,{path:"traces",element:o(q,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o(U,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o($,{}),children:o(a,{path:":sessionId",element:o(K,{}),loader:B})}),o(a,{path:"config",element:o(H,{})}),o(a,{path:"metrics",element:o(J,{})})]})]})]}),c(a,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(a,{index:!0,element:o(Z,{})}),c(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[c(a,{element:o(eo,{}),loader:m,children:[o(a,{index:!0,element:o(p,{})}),o(a,{path:"experiments",element:o(p,{})}),o(a,{path:"examples",element:o(lo,{}),loader:oo,children:o(a,{path:":exampleId",element:o(ao,{})})}),o(a,{path:"versions",element:o(co,{}),loader:ro}),o(a,{path:"evaluators",element:o(go,{})})]}),o(a,{path:"compare",element:o(no,{}),loader:bo,handle:{crumb:()=>"compare"}})]})]}),c(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(a,{index:!0,element:o(io,{})}),o(a,{path:"spans/:spanId",element:o(to,{}),loader:so,handle:{crumb:l=>l.span.__typename==="Span"?`span ${l.span.spanId}`:"span unknown"}})]}),c(a,{path:"/prompts",handle:{crumb:()=>"Prompts"},children:[o(a,{index:!0,element:o(po,{}),loader:mo}),c(a,{path:":promptId",loader:uo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[c(a,{element:o(Po,{}),children:[o(a,{index:!0,element:o(fo,{})}),o(a,{path:"versions",loader:vo,element:o(xo,{}),children:o(a,{path:":versionId",loader:ho,element:o(yo,{})})}),o(a,{path:"config",element:o(wo,{}),loader:zo})]}),o(a,{path:"playground",element:o(So,{}),loader:ko,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(Lo,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Co,{}),handle:{crumb:()=>"Support"}}),c(a,{path:"/settings",element:o(_o,{}),handle:{crumb:()=>"Settings"},children:[o(a,{path:"general",loader:Ro,element:o(Eo,{}),handle:{crumb:()=>"General"}}),o(a,{path:"providers",loader:Io,element:o(jo,{}),handle:{crumb:()=>"AI Providers"}}),o(a,{path:"models",loader:Ao,element:o(Do,{}),handle:{crumb:()=>"Models"}}),o(a,{path:"annotations",loader:Fo,element:o(To,{}),handle:{crumb:()=>"Annotations"}}),o(a,{path:"data",element:o(Mo,{}),handle:{crumb:()=>"Data Retention"},loader:Go}),o(a,{path:"prompts",element:o(Oo,{}),handle:{crumb:()=>"Prompts"}})]}),o(a,{path:"/redirects/spans/:span_otel_id",loader:Vo,errorElement:o(n,{})}),o(a,{path:"/redirects/traces/:trace_otel_id",loader:No,errorElement:o(n,{})}),o(a,{path:"/redirects/sessions/:session_id",loader:Wo,errorElement:o(n,{})})]})})]})),{basename:window.Config.basename});function da(){return o(y,{router:ta})}function ma(){return o(Bo,{children:o(Ho,{children:o(pa,{})})})}function pa(){const{theme:l}=Jo();return o(S,{theme:l,mountGlobalStyles:!1,children:c(w.RelayEnvironmentProvider,{environment:Qo,children:[o(sa,{}),o(Ko,{children:o(Xo,{children:o($o,{children:o(z.Suspense,{children:o(Yo,{children:o(da,{})})})})})})]})})}const ua=document.getElementById("root"),fa=P.createRoot(ua);fa.render(o(ma,{}));
|