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

Files changed (42) hide show
  1. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.6.0.dist-info}/METADATA +2 -2
  2. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.6.0.dist-info}/RECORD +42 -40
  3. phoenix/config.py +51 -2
  4. phoenix/server/api/auth.py +1 -1
  5. phoenix/server/api/queries.py +52 -44
  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 +6 -3
  14. phoenix/server/api/routers/v1/traces.py +4 -1
  15. phoenix/server/api/routers/v1/users.py +2 -2
  16. phoenix/server/api/types/Span.py +0 -99
  17. phoenix/server/app.py +47 -12
  18. phoenix/server/authorization.py +9 -0
  19. phoenix/server/bearer_auth.py +18 -15
  20. phoenix/server/cost_tracking/cost_model_lookup.py +1 -1
  21. phoenix/server/cost_tracking/model_cost_manifest.json +107 -107
  22. phoenix/server/daemons/db_disk_usage_monitor.py +215 -0
  23. phoenix/server/email/sender.py +25 -0
  24. phoenix/server/email/templates/db_disk_usage_notification.html +16 -0
  25. phoenix/server/email/types.py +11 -0
  26. phoenix/server/grpc_server.py +3 -3
  27. phoenix/server/prometheus.py +22 -0
  28. phoenix/server/static/.vite/manifest.json +44 -44
  29. phoenix/server/static/assets/{components-CVcMbu2U.js → components-mOUBHJ12.js} +297 -298
  30. phoenix/server/static/assets/{index-Dz7I-Hpn.js → index-CQ_A6K_M.js} +2 -2
  31. phoenix/server/static/assets/{pages-QK2o2V7x.js → pages-CCsLkNZY.js} +517 -498
  32. phoenix/server/static/assets/{vendor-pg5m6BWE.js → vendor-DRWIRkSJ.js} +1 -1
  33. phoenix/server/static/assets/{vendor-arizeai-BwMsgSAG.js → vendor-arizeai-DUhQaeau.js} +1 -1
  34. phoenix/server/static/assets/{vendor-codemirror-BwSDEu2g.js → vendor-codemirror-D_6Q6Auv.js} +1 -1
  35. phoenix/server/static/assets/{vendor-recharts-SW3HwAtG.js → vendor-recharts-BNBwj7vz.js} +1 -1
  36. phoenix/server/static/assets/{vendor-shiki-BsdYoDvs.js → vendor-shiki-k1qj_XjP.js} +1 -1
  37. phoenix/server/types.py +11 -2
  38. phoenix/version.py +1 -1
  39. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.6.0.dist-info}/WHEEL +0 -0
  40. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.6.0.dist-info}/entry_points.txt +0 -0
  41. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.6.0.dist-info}/licenses/IP_NOTICE +0 -0
  42. {arize_phoenix-11.4.0.dist-info → arize_phoenix-11.6.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 h,ez as x,eA as z,eB as w,l as r,b$ as P,eC as a,r as k,o as S,eD as L}from"./vendor-DRWIRkSJ.js";import{G as C,H as R}from"./vendor-arizeai-DUhQaeau.js";import{L as j,g as E,r as I,h as D,i as A,F as T,j as F,P as _,k as G,M as t,l as M,D as O,n as N,E as q,o as B,p as V,q as W,s as $,t as d,v as H,w as J,x as K,y as U,z as Q,B as X,C as Y,G as Z,H as oo,I as ao,J as lo,K as ro,N as co,O as go,Q as eo,U as bo,V as no,W as m,X as p,Y as u,Z as io,_ as so,$ as to,a0 as mo,a1 as f,a2 as v,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-CCsLkNZY.js";import{f9 as Xo,cJ as Yo,S as Zo,fa as oa,fb as aa}from"./components-mOUBHJ12.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 y(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=y(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"}=C();return o(h,{styles:e(ca,ra,l==="dark"?ga:ea,ba(l),la,na,ia,sa,ta)})}const ma=x(z(r(a,{path:"/",errorElement:o(n,{}),children:[o(a,{path:"/v1/*",element:o(P,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(j,{})}),o(a,{path:"/logout",element:o(E,{})}),o(a,{path:"/reset-password",element:o(D,{}),loader:I}),o(a,{path:"/reset-password-with-token",element:o(A,{})}),o(a,{path:"/forgot-password",element:o(T,{})}),o(a,{element:o(Jo,{}),loader:F,children:r(a,{element:o(Ho,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(_,{})}),o(a,{index:!0,loader:G}),r(a,{path:"/model",handle:{crumb:()=>"model"},element:o(B,{}),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(O,{}),loader:M})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(q,{}),loader:N,handle:{crumb:l=>l.embedding.name}})})]}),r(a,{path:"/projects",handle:{crumb:()=>"projects"},element:o(ao,{}),children:[o(a,{index:!0,element:o(V,{})}),r(a,{path:":projectId",loader:W,handle:{crumb:l=>l.project.name},element:o(oo,{}),children:[o(a,{index:!0,element:o($,{})}),r(a,{element:o(Z,{}),children:[o(a,{path:"traces",element:o(H,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o(J,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o(Q,{}),children:o(a,{path:":sessionId",element:o(U,{}),loader:K})}),o(a,{path:"config",element:o(X,{})}),o(a,{path:"metrics",element:o(Y,{})})]})]})]}),r(a,{path:"/dashboards",handle:{crumb:()=>"dashboards"},element:o(bo,{}),children:[o(a,{index:!0,element:o(ro,{}),loader:lo}),o(a,{path:"projects/:projectId",element:o(go,{}),loader:co,handle:{crumb:l=>l.project.name}}),o(a,{path:":dashboardId",handle:{crumb:()=>"dashboard"},element:o(eo,{})})]}),r(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(a,{index:!0,element:o(no,{})}),r(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[r(a,{element:o(mo,{}),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(to,{}),loader:io,children:o(a,{path:":exampleId",element:o(so,{})})})]}),r(a,{path:"compare",handle:{crumb:()=>"compare"},children:[o(a,{index:!0,loader:f,element:o(v,{})}),o(a,{path:":baselineExperimentId",handle:{crumb:l=>{var b;return((b=l==null?void 0:l.baselineExperiment)==null?void 0:b.name)??""}},loader:f,element:o(v,{})})]})]})]}),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(w,{router:ma})}function ua(){return o(Ko,{children:o(Xo,{children:o(fa,{})})})}function fa(){const{theme:l}=Yo();return o(R,{theme:l,mountGlobalStyles:!1,children:r(S.RelayEnvironmentProvider,{environment:Zo,children:[o(da,{}),o(Uo,{children:o(oa,{children:o(Qo,{children:o(k.Suspense,{children:o(aa,{children:o(pa,{})})})})})})]})})}const va=document.getElementById("root"),ya=L.createRoot(va);ya.render(o(ua,{}));