arize-phoenix 11.6.2__py3-none-any.whl → 11.8.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.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/METADATA +22 -10
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/RECORD +34 -33
- phoenix/config.py +33 -0
- phoenix/datetime_utils.py +112 -1
- phoenix/db/helpers.py +156 -1
- phoenix/experiments/functions.py +66 -20
- phoenix/experiments/tracing.py +2 -2
- phoenix/server/api/auth.py +28 -6
- phoenix/server/api/dataloaders/span_cost_summary_by_experiment.py +6 -7
- phoenix/server/api/exceptions.py +6 -0
- phoenix/server/api/input_types/TimeBinConfig.py +23 -0
- phoenix/server/api/routers/oauth2.py +19 -2
- phoenix/server/api/types/CostBreakdown.py +4 -7
- phoenix/server/api/types/Project.py +341 -73
- phoenix/server/app.py +7 -3
- phoenix/server/authorization.py +27 -2
- phoenix/server/cost_tracking/cost_details_calculator.py +22 -16
- phoenix/server/daemons/span_cost_calculator.py +2 -8
- phoenix/server/email/sender.py +2 -1
- phoenix/server/email/templates/db_disk_usage_notification.html +3 -0
- phoenix/server/static/.vite/manifest.json +36 -36
- phoenix/server/static/assets/{components-BZHttBll.js → components-5M9nebi4.js} +363 -283
- phoenix/server/static/assets/{index-AbJf1oNh.js → index-OU2WTnGN.js} +27 -20
- phoenix/server/static/assets/{pages-5yQ-jl70.js → pages-DF8rqxJ4.js} +416 -396
- phoenix/server/static/assets/{vendor-DRWIRkSJ.js → vendor-Bl7CyFDw.js} +147 -147
- phoenix/server/static/assets/{vendor-arizeai-DUhQaeau.js → vendor-arizeai-B_viEUUA.js} +18 -480
- phoenix/server/static/assets/{vendor-codemirror-D_6Q6Auv.js → vendor-codemirror-vlcH1_iR.js} +1 -1
- phoenix/server/static/assets/{vendor-recharts-BNBwj7vz.js → vendor-recharts-C9cQu72o.js} +25 -25
- phoenix/server/static/assets/{vendor-shiki-k1qj_XjP.js → vendor-shiki-BsknB7bv.js} +1 -1
- phoenix/version.py +1 -1
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-11.6.2.dist-info → arize_phoenix-11.8.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{G as
|
|
1
|
+
import{G as g,j as o,cE as v,eB as h,eC as y,eD as x,l as r,c1 as z,eE as a,r as w,o as P,eF as k}from"./vendor-Bl7CyFDw.js";import{v as S,w as L}from"./vendor-arizeai-B_viEUUA.js";import{L as C,g as R,r as j,h as E,i as I,F as D,j as A,P as T,k as F,M as t,l as _,D as M,n as G,E as O,o as N,p as q,q as B,s as V,t as d,v as W,w as $,x as K,y as Q,z as U,B as H,C as J,G as X,H as Y,I as Z,J as oo,K as ao,N as lo,O as ro,Q as co,U as go,V as eo,W as m,X as p,Y as u,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 jo,aj as Eo,ak as Io,al as Do,am as Ao,an as To,ao as Fo,ap as _o,aq as Mo,ar as Go,as as Oo,at as No,au as qo,av as Bo,aw as Vo,ax as n,ay as Wo,az as $o,aA as Ko,aB as Qo,aC as Uo,aD as Ho,aE as Jo}from"./pages-DF8rqxJ4.js";import{fg as Xo,cQ as Yo,S as Zo,fh as oa,fi as aa}from"./components-5M9nebi4.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-vlcH1_iR.js";import"./vendor-shiki-BsknB7bv.js";import"./vendor-recharts-C9cQu72o.js";(function(){const b=document.createElement("link").relList;if(b&&b.supports&&b.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))s(c);new MutationObserver(c=>{for(const e of c)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 f(c){const e={};return c.integrity&&(e.integrity=c.integrity),c.referrerPolicy&&(e.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?e.credentials="include":c.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function s(c){if(c.ep)return;c.ep=!0;const e=f(c);fetch(c.href,e)}})();const la=g`
|
|
2
2
|
:root {
|
|
3
3
|
--ac-global-dimension-scale-factor: 1;
|
|
4
4
|
--ac-global-dimension-size-0: 0px;
|
|
@@ -53,7 +53,7 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
53
53
|
--ac-global-dimension-size-5000: 400px;
|
|
54
54
|
--ac-global-dimension-size-6000: 480px;
|
|
55
55
|
}
|
|
56
|
-
`,ra=
|
|
56
|
+
`,ra=g`
|
|
57
57
|
:root {
|
|
58
58
|
// static colors
|
|
59
59
|
--ac-global-static-color-white-900: rgba(255, 255, 255, 0.9);
|
|
@@ -63,7 +63,7 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
63
63
|
--ac-global-static-color-black-700: rgba(0, 0, 0, 0.7);
|
|
64
64
|
--ac-global-static-color-black-300: rgba(0, 0, 0, 0.3);
|
|
65
65
|
}
|
|
66
|
-
`,ca=
|
|
66
|
+
`,ca=g`
|
|
67
67
|
:root {
|
|
68
68
|
--ac-global-dimension-static-size-0: 0px;
|
|
69
69
|
--ac-global-dimension-static-size-10: 1px;
|
|
@@ -143,7 +143,7 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
143
143
|
--ac-global-dimension-font-size-1200: 50px;
|
|
144
144
|
--ac-global-dimension-font-size-1300: 60px;
|
|
145
145
|
}
|
|
146
|
-
`,ga=
|
|
146
|
+
`,ga=g`
|
|
147
147
|
:root,
|
|
148
148
|
.ac-theme--dark {
|
|
149
149
|
/* Colors */
|
|
@@ -524,31 +524,31 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
524
524
|
--ac-global-color-fuchsia-200: rgb(var(--ac-global-color-fuchsia-200-rgb));
|
|
525
525
|
--ac-global-color-fuchsia-300-rgb: 120, 0, 120;
|
|
526
526
|
--ac-global-color-fuchsia-300: rgb(var(--ac-global-color-fuchsia-300-rgb));
|
|
527
|
-
--ac-global-color-fuchsia-400-rgb:
|
|
527
|
+
--ac-global-color-fuchsia-400-rgb: 146, 0, 147;
|
|
528
528
|
--ac-global-color-fuchsia-400: rgb(var(--ac-global-color-fuchsia-400-rgb));
|
|
529
529
|
--ac-global-color-fuchsia-500-rgb: 169, 19, 170;
|
|
530
530
|
--ac-global-color-fuchsia-500: rgb(var(--ac-global-color-fuchsia-500-rgb));
|
|
531
|
-
--ac-global-color-fuchsia-600-rgb:
|
|
531
|
+
--ac-global-color-fuchsia-600-rgb: 191, 43, 191;
|
|
532
532
|
--ac-global-color-fuchsia-600: rgb(var(--ac-global-color-fuchsia-600-rgb));
|
|
533
|
-
--ac-global-color-fuchsia-700-rgb:
|
|
533
|
+
--ac-global-color-fuchsia-700-rgb: 211, 65, 213;
|
|
534
534
|
--ac-global-color-fuchsia-700: rgb(var(--ac-global-color-fuchsia-700-rgb));
|
|
535
|
-
--ac-global-color-fuchsia-800-rgb:
|
|
535
|
+
--ac-global-color-fuchsia-800-rgb: 228, 91, 229;
|
|
536
536
|
--ac-global-color-fuchsia-800: rgb(var(--ac-global-color-fuchsia-800-rgb));
|
|
537
|
-
--ac-global-color-fuchsia-900-rgb:
|
|
537
|
+
--ac-global-color-fuchsia-900-rgb: 239, 120, 238;
|
|
538
538
|
--ac-global-color-fuchsia-900: rgb(var(--ac-global-color-fuchsia-900-rgb));
|
|
539
|
-
--ac-global-color-fuchsia-1000-rgb:
|
|
539
|
+
--ac-global-color-fuchsia-1000-rgb: 246, 149, 243;
|
|
540
540
|
--ac-global-color-fuchsia-1000: rgb(
|
|
541
541
|
var(--ac-global-color-fuchsia-1000-rgb)
|
|
542
542
|
);
|
|
543
|
-
--ac-global-color-fuchsia-1100-rgb:
|
|
543
|
+
--ac-global-color-fuchsia-1100-rgb: 251, 175, 246;
|
|
544
544
|
--ac-global-color-fuchsia-1100: rgb(
|
|
545
545
|
var(--ac-global-color-fuchsia-1100-rgb)
|
|
546
546
|
);
|
|
547
|
-
--ac-global-color-fuchsia-1200-rgb: 254,
|
|
547
|
+
--ac-global-color-fuchsia-1200-rgb: 254, 199, 248;
|
|
548
548
|
--ac-global-color-fuchsia-1200: rgb(
|
|
549
549
|
var(--ac-global-color-fuchsia-1200-rgb)
|
|
550
550
|
);
|
|
551
|
-
--ac-global-color-fuchsia-1300-rgb: 255,
|
|
551
|
+
--ac-global-color-fuchsia-1300-rgb: 255, 220, 250;
|
|
552
552
|
--ac-global-color-fuchsia-1300: rgb(
|
|
553
553
|
var(--ac-global-color-fuchsia-1300-rgb)
|
|
554
554
|
);
|
|
@@ -653,7 +653,7 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
653
653
|
--ac-global-link-color: rgb(114, 217, 255);
|
|
654
654
|
--ac-global-link-color-visited: var(--ac-global-color-purple-900);
|
|
655
655
|
}
|
|
656
|
-
`,ea=
|
|
656
|
+
`,ea=g`
|
|
657
657
|
:root,
|
|
658
658
|
.ac-theme--light {
|
|
659
659
|
/* Colors */
|
|
@@ -898,7 +898,7 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
898
898
|
--ac-global-link-color: rgb(9, 105, 218);
|
|
899
899
|
--ac-global-link-color-visited: var(--ac-global-color-purple-900);
|
|
900
900
|
}
|
|
901
|
-
`,ba=l=>
|
|
901
|
+
`,ba=l=>g`
|
|
902
902
|
:root,
|
|
903
903
|
.ac-theme--${l} {
|
|
904
904
|
// The primary color tint for the apps
|
|
@@ -1049,11 +1049,11 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
1049
1049
|
--ac-alias-single-line-height: var(--ac-global-dimension-size-400);
|
|
1050
1050
|
--ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
|
|
1051
1051
|
}
|
|
1052
|
-
`,na=
|
|
1052
|
+
`,na=g`
|
|
1053
1053
|
:root {
|
|
1054
1054
|
--ac-opacity-disabled: 0.6;
|
|
1055
1055
|
}
|
|
1056
|
-
`,ia=
|
|
1056
|
+
`,ia=g`
|
|
1057
1057
|
body {
|
|
1058
1058
|
background-color: var(--ac-global-color-grey-75);
|
|
1059
1059
|
color: var(--ac-global-text-color-900);
|
|
@@ -1173,7 +1173,7 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
1173
1173
|
--px-corpus-color: #92969c;
|
|
1174
1174
|
--px-corpus-color--transparent: #92969c63;
|
|
1175
1175
|
}
|
|
1176
|
-
`,sa=
|
|
1176
|
+
`,sa=g`
|
|
1177
1177
|
.ac-theme--light {
|
|
1178
1178
|
.cm-editor {
|
|
1179
1179
|
background-color: rgba(255, 255, 255, 0.5) !important;
|
|
@@ -1190,7 +1190,7 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
1190
1190
|
background-color: rgba(0, 0, 0, 0.2) !important;
|
|
1191
1191
|
}
|
|
1192
1192
|
}
|
|
1193
|
-
`,ta=
|
|
1193
|
+
`,ta=g`
|
|
1194
1194
|
.react-grid-item.react-grid-placeholder {
|
|
1195
1195
|
// the placeholder doesn't look good
|
|
1196
1196
|
background: var(--ac-global-color-blue-500);
|
|
@@ -1199,4 +1199,11 @@ import{G as e,j as o,cD as v,ez as y,eA as h,eB as x,l as r,b$ as z,eC as a,r as
|
|
|
1199
1199
|
.ac-theme--dark .react-resizable-handle {
|
|
1200
1200
|
filter: invert(1);
|
|
1201
1201
|
}
|
|
1202
|
-
|
|
1202
|
+
`,da=g`
|
|
1203
|
+
.ac-theme--dark {
|
|
1204
|
+
--chart-tooltip-cursor-fill-color: rgba(255, 255, 255, 0.2);
|
|
1205
|
+
}
|
|
1206
|
+
.ac-theme--light {
|
|
1207
|
+
--chart-tooltip-cursor-fill-color: rgba(0, 0, 0, 0.2);
|
|
1208
|
+
}
|
|
1209
|
+
`;function ma(){const{theme:l="dark"}=S();return o(v,{styles:g(ca,ra,l==="dark"?ga:ea,ba(l),la,na,ia,sa,ta,da)})}const pa=h(y(r(a,{path:"/",errorElement:o(n,{}),children:[o(a,{path:"/v1/*",element:o(z,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(C,{})}),o(a,{path:"/logout",element:o(R,{})}),o(a,{path:"/reset-password",element:o(E,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(I,{})}),o(a,{path:"/forgot-password",element:o(D,{})}),o(a,{element:o(Qo,{}),loader:A,children:r(a,{element:o(Ko,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(T,{})}),o(a,{index:!0,loader:F}),r(a,{path:"/model",handle:{crumb:()=>"model"},element:o(N,{}),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(M,{}),loader:_})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(O,{}),loader:G,handle:{crumb:l=>l.embedding.name}})})]}),r(a,{path:"/projects",handle:{crumb:()=>"projects"},element:o(Z,{}),children:[o(a,{index:!0,element:o(q,{})}),r(a,{path:":projectId",loader:B,handle:{crumb:l=>l.project.name},element:o(Y,{}),children:[o(a,{index:!0,element:o(V,{})}),r(a,{element:o(X,{}),children:[o(a,{path:"traces",element:o(W,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o($,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o(U,{}),children:o(a,{path:":sessionId",element:o(Q,{}),loader:K})}),o(a,{path:"config",element:o(H,{})}),o(a,{path:"metrics",element:o(J,{})})]})]})]}),r(a,{path:"/dashboards",handle:{crumb:()=>"dashboards"},element:o(go,{}),children:[o(a,{index:!0,element:o(ao,{}),loader:oo}),o(a,{path:"projects/:projectId",element:o(ro,{}),loader:lo,handle:{crumb:l=>l.project.name}}),o(a,{path:":dashboardId",handle:{crumb:()=>"dashboard"},element:o(co,{})})]}),r(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(a,{index:!0,element:o(eo,{})}),r(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[r(a,{element:o(so,{}),loader:m,children:[o(a,{index:!0,element:o(u,{}),loader:p}),o(a,{path:"experiments",element:o(u,{}),loader:p}),o(a,{path:"examples",element:o(io,{}),loader:bo,children:o(a,{path:":exampleId",element:o(no,{})})})]}),o(a,{path:"compare",element:o(mo,{}),loader:to,handle:{crumb:()=>"compare"}})]})]}),r(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(a,{index:!0,element:o(po,{})}),o(a,{path:"spans/:spanId",element:o(fo,{}),loader:uo,handle:{crumb:l=>l.span.__typename==="Span"?`span ${l.span.spanId}`:"span unknown"}})]}),r(a,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(a,{index:!0,element:o(ho,{}),loader:vo}),r(a,{path:":promptId",loader:yo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[r(a,{element:o(Co,{}),children:[o(a,{index:!0,element:o(xo,{})}),o(a,{path:"versions",loader:zo,element:o(ko,{}),children:o(a,{path:":versionId",loader:wo,element:o(Po,{})})}),o(a,{path:"config",element:o(Lo,{}),loader:So})]}),o(a,{path:"playground",element:o(jo,{}),loader:Ro,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(Eo,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Io,{}),handle:{crumb:()=>"support"}}),r(a,{path:"/settings",element:o(Bo,{}),handle:{crumb:()=>"settings"},children:[o(a,{path:"general",loader:Do,element:o(Ao,{}),handle:{crumb:()=>"general"}}),o(a,{path:"providers",loader:To,element:o(Fo,{}),handle:{crumb:()=>"providers"}}),o(a,{path:"models",loader:_o,element:o(Mo,{}),handle:{crumb:()=>"models"}}),o(a,{path:"annotations",loader:Go,element:o(Oo,{}),handle:{crumb:()=>"annotations"}}),o(a,{path:"data",element:o(qo,{}),handle:{crumb:()=>"data retention"},loader:No})]}),o(a,{path:"/redirects/spans/:span_otel_id",loader:Vo,errorElement:o(n,{})}),o(a,{path:"/redirects/traces/:trace_otel_id",loader:Wo,errorElement:o(n,{})}),o(a,{path:"/redirects/sessions/:session_otel_id",loader:$o,errorElement:o(n,{})})]})})]})),{basename:window.Config.basename});function ua(){return o(x,{router:pa})}function fa(){return o(Uo,{children:o(Xo,{children:o(va,{})})})}function va(){const{theme:l}=Yo();return o(L,{theme:l,mountGlobalStyles:!1,children:r(P.RelayEnvironmentProvider,{environment:Zo,children:[o(ma,{}),o(Ho,{children:o(oa,{children:o(Jo,{children:o(w.Suspense,{children:o(aa,{children:o(ua,{})})})})})})]})})}const ha=document.getElementById("root"),ya=k.createRoot(ha);ya.render(o(fa,{}));
|