arize-phoenix 11.4.0__py3-none-any.whl → 11.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.

Files changed (39) hide show
  1. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.5.0.dist-info}/METADATA +2 -2
  2. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.5.0.dist-info}/RECORD +39 -37
  3. phoenix/config.py +51 -2
  4. phoenix/server/api/auth.py +1 -1
  5. phoenix/server/api/queries.py +34 -22
  6. phoenix/server/api/routers/v1/annotation_configs.py +4 -1
  7. phoenix/server/api/routers/v1/datasets.py +3 -1
  8. phoenix/server/api/routers/v1/evaluations.py +3 -1
  9. phoenix/server/api/routers/v1/experiment_runs.py +3 -1
  10. phoenix/server/api/routers/v1/experiments.py +3 -1
  11. phoenix/server/api/routers/v1/projects.py +4 -1
  12. phoenix/server/api/routers/v1/prompts.py +4 -1
  13. phoenix/server/api/routers/v1/spans.py +4 -1
  14. phoenix/server/api/routers/v1/traces.py +4 -1
  15. phoenix/server/api/routers/v1/users.py +2 -2
  16. phoenix/server/app.py +41 -2
  17. phoenix/server/authorization.py +9 -0
  18. phoenix/server/bearer_auth.py +18 -15
  19. phoenix/server/daemons/db_disk_usage_monitor.py +209 -0
  20. phoenix/server/email/sender.py +25 -0
  21. phoenix/server/email/templates/db_disk_usage_notification.html +16 -0
  22. phoenix/server/email/types.py +11 -0
  23. phoenix/server/grpc_server.py +3 -3
  24. phoenix/server/prometheus.py +22 -0
  25. phoenix/server/static/.vite/manifest.json +44 -44
  26. phoenix/server/static/assets/{components-CVcMbu2U.js → components-Bwf6zNbg.js} +175 -176
  27. phoenix/server/static/assets/{index-Dz7I-Hpn.js → index-Bfg9uQ43.js} +2 -2
  28. phoenix/server/static/assets/{pages-QK2o2V7x.js → pages-BCR8hW_l.js} +426 -421
  29. phoenix/server/static/assets/{vendor-pg5m6BWE.js → vendor-DRWIRkSJ.js} +1 -1
  30. phoenix/server/static/assets/{vendor-arizeai-BwMsgSAG.js → vendor-arizeai-DUhQaeau.js} +1 -1
  31. phoenix/server/static/assets/{vendor-codemirror-BwSDEu2g.js → vendor-codemirror-D_6Q6Auv.js} +1 -1
  32. phoenix/server/static/assets/{vendor-recharts-SW3HwAtG.js → vendor-recharts-BNBwj7vz.js} +1 -1
  33. phoenix/server/static/assets/{vendor-shiki-BsdYoDvs.js → vendor-shiki-k1qj_XjP.js} +1 -1
  34. phoenix/server/types.py +7 -0
  35. phoenix/version.py +1 -1
  36. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.5.0.dist-info}/WHEEL +0 -0
  37. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.5.0.dist-info}/entry_points.txt +0 -0
  38. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.5.0.dist-info}/licenses/IP_NOTICE +0 -0
  39. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.5.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
- 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 w,o as P,eD as k}from"./vendor-pg5m6BWE.js";import{G as S,H as L}from"./vendor-arizeai-BwMsgSAG.js";import{L as C,g as R,r as j,h as I,i as E,F as D,j as A,P as T,k as F,M as t,l as _,D as G,n as M,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 H,y as K,z as U,B as J,C as Q,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 yo,a8 as ho,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 Io,ak as Eo,al as Do,am as Ao,an as To,ao as Fo,ap as _o,aq as Go,ar as Mo,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 Ho,aB as Ko,aC as Uo,aD as Jo,aE as Qo}from"./pages-QK2o2V7x.js";import{f8 as Xo,cI as Yo,S as Zo,f9 as oa,fa as aa}from"./components-CVcMbu2U.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-BwSDEu2g.js";import"./vendor-shiki-BsdYoDvs.js";import"./vendor-recharts-SW3HwAtG.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 g of c)if(g.type==="childList")for(const i of g.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function f(c){const g={};return c.integrity&&(g.integrity=c.integrity),c.referrerPolicy&&(g.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?g.credentials="include":c.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function s(c){if(c.ep)return;c.ep=!0;const g=f(c);fetch(c.href,g)}})();const la=e`
1
+ 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 w,o as P,eD as k}from"./vendor-DRWIRkSJ.js";import{G as S,H as L}from"./vendor-arizeai-DUhQaeau.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 G,n as M,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 H,y as J,z as K,B as U,C as Q,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 yo,a8 as ho,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 Go,ar as Mo,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 Ho,aB as Jo,aC as Ko,aD as Uo,aE as Qo}from"./pages-BCR8hW_l.js";import{f9 as Xo,cJ as Yo,S as Zo,fa as oa,fb as aa}from"./components-Bwf6zNbg.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-D_6Q6Auv.js";import"./vendor-shiki-k1qj_XjP.js";import"./vendor-recharts-BNBwj7vz.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 g of c)if(g.type==="childList")for(const i of g.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function f(c){const g={};return c.integrity&&(g.integrity=c.integrity),c.referrerPolicy&&(g.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?g.credentials="include":c.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function s(c){if(c.ep)return;c.ep=!0;const g=f(c);fetch(c.href,g)}})();const la=e`
2
2
  :root {
3
3
  --ac-global-dimension-scale-factor: 1;
4
4
  --ac-global-dimension-size-0: 0px;
@@ -1199,4 +1199,4 @@ 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
- `;function da(){const{theme:l="dark"}=S();return o(v,{styles:e(ca,ra,l==="dark"?ga:ea,ba(l),la,na,ia,sa,ta)})}const ma=y(h(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(I,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(E,{})}),o(a,{path:"/forgot-password",element:o(D,{})}),o(a,{element:o(Ko,{}),loader:A,children:r(a,{element:o(Ho,{}),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(G,{}),loader:_})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(O,{}),loader:M,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(K,{}),loader:H})}),o(a,{path:"config",element:o(J,{})}),o(a,{path:"metrics",element:o(Q,{})})]})]})]}),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",handle:{crumb:()=>"compare"},loader:to,element:o(mo,{})})]})]}),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(yo,{}),loader:vo}),r(a,{path:":promptId",loader:ho,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(Io,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Eo,{}),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(Go,{}),handle:{crumb:()=>"models"}}),o(a,{path:"annotations",loader:Mo,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 pa(){return o(x,{router:ma})}function ua(){return o(Uo,{children:o(Xo,{children:o(fa,{})})})}function fa(){const{theme:l}=Yo();return o(L,{theme:l,mountGlobalStyles:!1,children:r(P.RelayEnvironmentProvider,{environment:Zo,children:[o(da,{}),o(Jo,{children:o(oa,{children:o(Qo,{children:o(w.Suspense,{children:o(aa,{children:o(pa,{})})})})})})]})})}const va=document.getElementById("root"),ya=k.createRoot(va);ya.render(o(ua,{}));
1202
+ `;function da(){const{theme:l="dark"}=S();return o(v,{styles:e(ca,ra,l==="dark"?ga:ea,ba(l),la,na,ia,sa,ta)})}const ma=y(h(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(Jo,{}),loader:A,children:r(a,{element:o(Ho,{}),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(G,{}),loader:_})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(O,{}),loader:M,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(K,{}),children:o(a,{path:":sessionId",element:o(J,{}),loader:H})}),o(a,{path:"config",element:o(U,{})}),o(a,{path:"metrics",element:o(Q,{})})]})]})]}),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",handle:{crumb:()=>"compare"},loader:to,element:o(mo,{})})]})]}),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(yo,{}),loader:vo}),r(a,{path:":promptId",loader:ho,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(Go,{}),handle:{crumb:()=>"models"}}),o(a,{path:"annotations",loader:Mo,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 pa(){return o(x,{router:ma})}function ua(){return o(Ko,{children:o(Xo,{children:o(fa,{})})})}function fa(){const{theme:l}=Yo();return o(L,{theme:l,mountGlobalStyles:!1,children:r(P.RelayEnvironmentProvider,{environment:Zo,children:[o(da,{}),o(Uo,{children:o(oa,{children:o(Qo,{children:o(w.Suspense,{children:o(aa,{children:o(pa,{})})})})})})]})})}const va=document.getElementById("root"),ya=k.createRoot(va);ya.render(o(ua,{}));