arize-phoenix 12.6.0__py3-none-any.whl → 12.7.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 (32) hide show
  1. {arize_phoenix-12.6.0.dist-info → arize_phoenix-12.7.0.dist-info}/METADATA +17 -11
  2. {arize_phoenix-12.6.0.dist-info → arize_phoenix-12.7.0.dist-info}/RECORD +30 -29
  3. phoenix/server/api/context.py +2 -0
  4. phoenix/server/api/dataloaders/__init__.py +2 -0
  5. phoenix/server/api/dataloaders/experiment_dataset_splits.py +43 -0
  6. phoenix/server/api/input_types/ChatCompletionInput.py +1 -0
  7. phoenix/server/api/input_types/DatasetFilter.py +5 -2
  8. phoenix/server/api/mutations/chat_mutations.py +17 -3
  9. phoenix/server/api/queries.py +53 -28
  10. phoenix/server/api/routers/v1/datasets.py +150 -1
  11. phoenix/server/api/routers/v1/experiments.py +19 -0
  12. phoenix/server/api/subscriptions.py +22 -19
  13. phoenix/server/api/types/Dataset.py +1 -1
  14. phoenix/server/api/types/Experiment.py +14 -0
  15. phoenix/server/app.py +2 -0
  16. phoenix/server/cost_tracking/model_cost_manifest.json +142 -0
  17. phoenix/server/static/.vite/manifest.json +43 -43
  18. phoenix/server/static/assets/{components-CboqzKQ9.js → components-X_GtZhnz.js} +777 -696
  19. phoenix/server/static/assets/{index-CYYGI5-x.js → index-BCtFqQdo.js} +2 -2
  20. phoenix/server/static/assets/{pages-DdlUeKi2.js → pages-Dl8TWyNq.js} +588 -595
  21. phoenix/server/static/assets/vendor-3BvTzoBp.js +920 -0
  22. phoenix/server/static/assets/{vendor-arizeai-Cb1ncvYH.js → vendor-arizeai-C6_oC0y8.js} +1 -1
  23. phoenix/server/static/assets/vendor-codemirror-DPnZGAZA.js +25 -0
  24. phoenix/server/static/assets/{vendor-recharts-BC1ysIKu.js → vendor-recharts-CjgSbsB0.js} +7 -7
  25. phoenix/server/static/assets/{vendor-shiki-B45T-YxN.js → vendor-shiki-CJyhDG0E.js} +1 -1
  26. phoenix/version.py +1 -1
  27. phoenix/server/static/assets/vendor-CQ4tN9P7.js +0 -918
  28. phoenix/server/static/assets/vendor-codemirror-CckmKopH.js +0 -25
  29. {arize_phoenix-12.6.0.dist-info → arize_phoenix-12.7.0.dist-info}/WHEEL +0 -0
  30. {arize_phoenix-12.6.0.dist-info → arize_phoenix-12.7.0.dist-info}/entry_points.txt +0 -0
  31. {arize_phoenix-12.6.0.dist-info → arize_phoenix-12.7.0.dist-info}/licenses/IP_NOTICE +0 -0
  32. {arize_phoenix-12.6.0.dist-info → arize_phoenix-12.7.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
- import{U as g,j as o,cJ as y,e4 as x,e5 as z,e6 as w,V as c,cA as P,e7 as a,r as k,o as S,e8 as L}from"./vendor-CQ4tN9P7.js";import{u as C,P as R}from"./vendor-arizeai-Cb1ncvYH.js";import{L as E,h as I,r as j,i as A,j as D,F,k as T,P as M,l as G,M as t,n as _,D as O,o as V,E as N,p as W,q,s as B,t as $,v as d,w as U,x as J,y as K,z as H,B as Q,C as X,G as Y,H as Z,I as oo,J as ao,K as lo,N as m,O as p,Q as ro,U as co,V as go,W as eo,X as bo,Y as no,Z as io,_ as so,$ as to,a0 as mo,a1 as po,a2 as uo,a3 as fo,a4 as vo,a5 as ho,a6 as yo,a7 as u,a8 as xo,a9 as zo,aa as wo,ab as Po,ac as ko,ad as f,ae as v,af as So,ag as Lo,ah as Co,ai as Ro,aj as Eo,ak as Io,al as jo,am as Ao,an as Do,ao as Fo,ap as To,aq as Mo,ar as Go,as as _o,at as Oo,au as Vo,av as n,aw as No,ax as Wo,ay as qo,az as Bo,aA as $o,aB as Uo,aC as Jo,aD as Ko}from"./pages-DdlUeKi2.js";import{g7 as Ho,c$ as Qo,W as Xo,g8 as Yo}from"./components-CboqzKQ9.js";import"./vendor-three-BtCyLs1w.js";import"./vendor-codemirror-CckmKopH.js";import"./vendor-shiki-B45T-YxN.js";import"./vendor-recharts-BC1ysIKu.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 h(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=h(r);fetch(r.href,e)}})();const Zo=g`
1
+ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as k,o as S,ej as L}from"./vendor-3BvTzoBp.js";import{u as C,P as R}from"./vendor-arizeai-C6_oC0y8.js";import{L as E,h as I,r as j,i as A,j as D,F,k as T,P as M,l as G,M as t,n as _,D as O,o as V,E as N,p as W,q,s as B,t as U,v as d,w as $,x as J,y as K,z as H,B as Q,C as X,G as Y,H as Z,I as oo,J as ao,K as lo,N as m,O as p,Q as ro,U as co,V as go,W as eo,X as bo,Y as no,Z as io,_ as so,$ as to,a0 as mo,a1 as po,a2 as uo,a3 as fo,a4 as vo,a5 as ho,a6 as yo,a7 as u,a8 as xo,a9 as zo,aa as wo,ab as Po,ac as ko,ad as f,ae as v,af as So,ag as Lo,ah as Co,ai as Ro,aj as Eo,ak as Io,al as jo,am as Ao,an as Do,ao as Fo,ap as To,aq as Mo,ar as Go,as as _o,at as Oo,au as Vo,av as n,aw as No,ax as Wo,ay as qo,az as Bo,aA as Uo,aB as $o,aC as Jo,aD as Ko}from"./pages-Dl8TWyNq.js";import{g9 as Ho,d1 as Qo,W as Xo,ga as Yo}from"./components-X_GtZhnz.js";import"./vendor-three-BtCyLs1w.js";import"./vendor-codemirror-DPnZGAZA.js";import"./vendor-shiki-CJyhDG0E.js";import"./vendor-recharts-CjgSbsB0.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 h(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=h(r);fetch(r.href,e)}})();const Zo=g`
2
2
  :root,
3
3
  .ac-theme {
4
4
  --ac-global-dimension-scale-factor: 1;
@@ -1262,4 +1262,4 @@ import{U as g,j as o,cJ as y,e4 as x,e5 as z,e6 as w,V as c,cA as P,e7 as a,r as
1262
1262
  font-family: "Geist Mono", monospace;
1263
1263
  font-optical-sizing: auto;
1264
1264
  }
1265
- `;function sa(){const{theme:l="dark"}=C();return o(y,{styles:g(aa,oa,l==="dark"?la:ra,ca(l),Zo,ga,ea,ba,na,ia)})}const ta=x(z(c(a,{path:"/",errorElement:o(n,{}),element:o($o,{}),children:[o(a,{path:"/v1/*",element:o(P,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(E,{})}),o(a,{path:"/logout",element:o(I,{})}),o(a,{path:"/reset-password",element:o(A,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(D,{})}),o(a,{path:"/forgot-password",element:o(F,{})}),o(a,{element:o(Bo,{}),loader:T,children:c(a,{element:o(qo,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(M,{})}),o(a,{index:!0,loader:G}),c(a,{path:"/model",handle:{crumb:()=>"model"},element:o(W,{}),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:_})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(N,{}),loader:V,handle:{crumb:l=>l.embedding.name}})})]}),c(a,{path:"/projects",handle:{crumb:()=>"Projects"},element:o(ao,{}),children:[o(a,{index:!0,element:o(q,{})}),c(a,{path:":projectId",loader:B,handle:{crumb:l=>l.project.name},element:o(oo,{}),children:[o(a,{index:!0,element:o($,{})}),c(a,{element:o(Z,{}),children:[o(a,{path:"traces",element:o(U,{}),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(H,{}),loader:K})}),o(a,{path:"config",element:o(X,{})}),o(a,{path:"metrics",element:o(Y,{})})]})]})]}),c(a,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(a,{index:!0,element:o(lo,{})}),c(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[c(a,{element:o(io,{}),loader:m,children:[o(a,{index:!0,element:o(p,{})}),o(a,{path:"experiments",element:o(p,{})}),o(a,{path:"examples",element:o(go,{}),loader:ro,children:o(a,{path:":exampleId",element:o(co,{})})}),o(a,{path:"versions",element:o(bo,{}),loader:eo}),o(a,{path:"evaluators",element:o(no,{})})]}),o(a,{path:"compare",element:o(so,{}),handle:{crumb:()=>"compare"}})]})]}),c(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(a,{index:!0,element:o(to,{})}),o(a,{path:"spans/:spanId",element:o(po,{}),loader:mo,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(fo,{}),loader:uo}),c(a,{path:":promptId",loader:vo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[c(a,{element:o(ko,{}),children:[o(a,{index:!0,element:o(ho,{})}),o(a,{path:"versions",loader:yo,element:o(zo,{}),children:o(a,{path:":versionId",loader:u,element:o(xo,{})})}),o(a,{path:"config",element:o(Po,{}),loader:wo})]}),o(a,{path:"versions/:versionId",loader:u,handle:{crumb:l=>l==null?void 0:l.promptVersion.id},children:o(a,{path:"playground",element:o(v,{}),loader:f,handle:{crumb:()=>"playground"}})}),o(a,{path:"playground",element:o(v,{}),loader:f,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(So,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Lo,{}),handle:{crumb:()=>"Support"}}),c(a,{path:"/settings",element:o(Oo,{}),handle:{crumb:()=>"Settings"},children:[o(a,{path:"general",loader:Co,element:o(Ro,{}),handle:{crumb:()=>"General"}}),o(a,{path:"providers",loader:Eo,element:o(Io,{}),handle:{crumb:()=>"AI Providers"}}),o(a,{path:"models",loader:jo,element:o(Ao,{}),handle:{crumb:()=>"Models"}}),o(a,{path:"datasets",element:o(Do,{}),handle:{crumb:()=>"Datasets"}}),o(a,{path:"annotations",loader:Fo,element:o(To,{}),handle:{crumb:()=>"Annotations"}}),o(a,{path:"data",element:o(Go,{}),handle:{crumb:()=>"Data Retention"},loader:Mo}),o(a,{path:"prompts",element:o(_o,{}),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(w,{router:ta})}function ma(){return o(Uo,{children:o(Ho,{children:o(pa,{})})})}function pa(){const{theme:l}=Qo();return o(R,{theme:l,mountGlobalStyles:!1,children:c(S.RelayEnvironmentProvider,{environment:Xo,children:[o(sa,{}),o(Jo,{children:o(Yo,{children:o(Ko,{children:o(k.Suspense,{children:o(da,{})})})})})]})})}const ua=document.getElementById("root"),fa=L.createRoot(ua);fa.render(o(ma,{}));
1265
+ `;function sa(){const{theme:l="dark"}=C();return o(y,{styles:g(aa,oa,l==="dark"?la:ra,ca(l),Zo,ga,ea,ba,na,ia)})}const ta=x(z(c(a,{path:"/",errorElement:o(n,{}),element:o(Uo,{}),children:[o(a,{path:"/v1/*",element:o(P,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(E,{})}),o(a,{path:"/logout",element:o(I,{})}),o(a,{path:"/reset-password",element:o(A,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(D,{})}),o(a,{path:"/forgot-password",element:o(F,{})}),o(a,{element:o(Bo,{}),loader:T,children:c(a,{element:o(qo,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(M,{})}),o(a,{index:!0,loader:G}),c(a,{path:"/model",handle:{crumb:()=>"model"},element:o(W,{}),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:_})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(N,{}),loader:V,handle:{crumb:l=>l.embedding.name}})})]}),c(a,{path:"/projects",handle:{crumb:()=>"Projects"},element:o(ao,{}),children:[o(a,{index:!0,element:o(q,{})}),c(a,{path:":projectId",loader:B,handle:{crumb:l=>l.project.name},element:o(oo,{}),children:[o(a,{index:!0,element:o(U,{})}),c(a,{element:o(Z,{}),children:[o(a,{path:"traces",element:o($,{}),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(H,{}),loader:K})}),o(a,{path:"config",element:o(X,{})}),o(a,{path:"metrics",element:o(Y,{})})]})]})]}),c(a,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(a,{index:!0,element:o(lo,{})}),c(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[c(a,{element:o(io,{}),loader:m,children:[o(a,{index:!0,element:o(p,{})}),o(a,{path:"experiments",element:o(p,{})}),o(a,{path:"examples",element:o(go,{}),loader:ro,children:o(a,{path:":exampleId",element:o(co,{})})}),o(a,{path:"versions",element:o(bo,{}),loader:eo}),o(a,{path:"evaluators",element:o(no,{})})]}),o(a,{path:"compare",element:o(so,{}),handle:{crumb:()=>"compare"}})]})]}),c(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(a,{index:!0,element:o(to,{})}),o(a,{path:"spans/:spanId",element:o(po,{}),loader:mo,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(fo,{}),loader:uo}),c(a,{path:":promptId",loader:vo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[c(a,{element:o(ko,{}),children:[o(a,{index:!0,element:o(ho,{})}),o(a,{path:"versions",loader:yo,element:o(zo,{}),children:o(a,{path:":versionId",loader:u,element:o(xo,{})})}),o(a,{path:"config",element:o(Po,{}),loader:wo})]}),o(a,{path:"versions/:versionId",loader:u,handle:{crumb:l=>l==null?void 0:l.promptVersion.id},children:o(a,{path:"playground",element:o(v,{}),loader:f,handle:{crumb:()=>"playground"}})}),o(a,{path:"playground",element:o(v,{}),loader:f,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(So,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Lo,{}),handle:{crumb:()=>"Support"}}),c(a,{path:"/settings",element:o(Oo,{}),handle:{crumb:()=>"Settings"},children:[o(a,{path:"general",loader:Co,element:o(Ro,{}),handle:{crumb:()=>"General"}}),o(a,{path:"providers",loader:Eo,element:o(Io,{}),handle:{crumb:()=>"AI Providers"}}),o(a,{path:"models",loader:jo,element:o(Ao,{}),handle:{crumb:()=>"Models"}}),o(a,{path:"datasets",element:o(Do,{}),handle:{crumb:()=>"Datasets"}}),o(a,{path:"annotations",loader:Fo,element:o(To,{}),handle:{crumb:()=>"Annotations"}}),o(a,{path:"data",element:o(Go,{}),handle:{crumb:()=>"Data Retention"},loader:Mo}),o(a,{path:"prompts",element:o(_o,{}),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(w,{router:ta})}function ma(){return o($o,{children:o(Ho,{children:o(pa,{})})})}function pa(){const{theme:l}=Qo();return o(R,{theme:l,mountGlobalStyles:!1,children:c(S.RelayEnvironmentProvider,{environment:Xo,children:[o(sa,{}),o(Jo,{children:o(Yo,{children:o(Ko,{children:o(k.Suspense,{children:o(da,{})})})})})]})})}const ua=document.getElementById("root"),fa=L.createRoot(ua);fa.render(o(ma,{}));