arize-phoenix 10.0.4__py3-none-any.whl → 10.2.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 (25) hide show
  1. {arize_phoenix-10.0.4.dist-info → arize_phoenix-10.2.0.dist-info}/METADATA +3 -3
  2. {arize_phoenix-10.0.4.dist-info → arize_phoenix-10.2.0.dist-info}/RECORD +25 -25
  3. phoenix/db/insertion/dataset.py +2 -1
  4. phoenix/db/types/model_provider.py +1 -0
  5. phoenix/server/api/helpers/playground_clients.py +33 -0
  6. phoenix/server/api/helpers/prompts/models.py +20 -0
  7. phoenix/server/api/routers/v1/datasets.py +8 -2
  8. phoenix/server/api/routers/v1/spans.py +521 -4
  9. phoenix/server/api/types/GenerativeProvider.py +5 -0
  10. phoenix/server/static/.vite/manifest.json +44 -44
  11. phoenix/server/static/assets/{components-DULKeDfL.js → components-ClD3sHta.js} +384 -336
  12. phoenix/server/static/assets/{index-E0M82BdE.js → index-CXawXHw0.js} +6 -2
  13. phoenix/server/static/assets/{pages-Cl0A-0U2.js → pages-BFtNRfTL.js} +534 -544
  14. phoenix/server/static/assets/{vendor-oB4u9zuV.js → vendor-DOUbLVp5.js} +1 -1
  15. phoenix/server/static/assets/{vendor-arizeai-Dy-0mSNw.js → vendor-arizeai-DHqMQzfV.js} +6 -6
  16. phoenix/server/static/assets/{vendor-codemirror-DBtifKNr.js → vendor-codemirror-DWdZV1Is.js} +1 -1
  17. phoenix/server/static/assets/{vendor-recharts-D-T4KPz2.js → vendor-recharts-BfHdRd1Y.js} +1 -1
  18. phoenix/server/static/assets/{vendor-shiki-BMn4O_9F.js → vendor-shiki-CHu75YVL.js} +1 -1
  19. phoenix/session/evaluation.py +6 -1
  20. phoenix/trace/dsl/helpers.py +90 -1
  21. phoenix/version.py +1 -1
  22. {arize_phoenix-10.0.4.dist-info → arize_phoenix-10.2.0.dist-info}/WHEEL +0 -0
  23. {arize_phoenix-10.0.4.dist-info → arize_phoenix-10.2.0.dist-info}/entry_points.txt +0 -0
  24. {arize_phoenix-10.0.4.dist-info → arize_phoenix-10.2.0.dist-info}/licenses/IP_NOTICE +0 -0
  25. {arize_phoenix-10.0.4.dist-info → arize_phoenix-10.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
- import{F as e,j as o,cO as f,ez as y,eA as v,eB as h,l as r,bW as x,eC as a,r as z,o as w,eD as P}from"./vendor-oB4u9zuV.js";import{K as k,M as S}from"./vendor-arizeai-Dy-0mSNw.js";import{L,g as j,r as C,h as R,i as I,F as E,j as D,P as A,k as T,M as s,l as F,D as O,n as G,E as M,o as q,p as N,q as V,s as W,t,v as _,w as B,x as K,y as $,z as H,B as J,C as Q,G as U,H as X,I as Y,J as Z,K as oo,N as ao,O as lo,Q as ro,U as co,V as d,W as m,X as p,Y as go,Z as eo,_ as bo,$ as no,a0 as io,a1 as so,a2 as to,a3 as mo,a4 as po,a5 as uo,a6 as fo,a7 as yo,a8 as vo,a9 as ho,aa as xo,ab as zo,ac as wo,ad as Po,ae as ko,af as So,ag as Lo,ah as jo,ai as Co,aj as Ro,ak as Io,al as Eo,am as Do,an as Ao,ao as To,ap as Fo,aq as Oo,ar as Go,as as Mo,at as qo,au as No,av as Vo,aw as Wo,ax as _o,ay as Bo}from"./pages-Cl0A-0U2.js";import{eo as Ko,c0 as $o,R as Ho,ep as Jo,eq as Qo}from"./components-DULKeDfL.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-DBtifKNr.js";import"./vendor-shiki-BMn4O_9F.js";import"./vendor-recharts-D-T4KPz2.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"]'))i(c);new MutationObserver(c=>{for(const g of c)if(g.type==="childList")for(const n of g.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&i(n)}).observe(document,{childList:!0,subtree:!0});function u(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 i(c){if(c.ep)return;c.ep=!0;const g=u(c);fetch(c.href,g)}})();const Uo=e`
1
+ import{F as e,j as o,cA as f,ez as y,eA as v,eB as h,l as r,bW as x,eC as a,r as z,o as w,eD as P}from"./vendor-DOUbLVp5.js";import{K as k,M as S}from"./vendor-arizeai-DHqMQzfV.js";import{L,g as C,r as j,h as R,i as I,F as E,j as A,P as D,k as T,M as s,l as F,D as O,n as G,E as M,o as N,p as q,q as B,s as V,t,v as W,w as _,x as K,y as $,z as U,B as H,C as J,G as Q,H as X,I as Y,J as Z,K as oo,N as ao,O as lo,Q as ro,U as co,V as d,W as m,X as p,Y as go,Z as eo,_ as bo,$ as no,a0 as io,a1 as so,a2 as to,a3 as mo,a4 as po,a5 as uo,a6 as fo,a7 as yo,a8 as vo,a9 as ho,aa as xo,ab as zo,ac as wo,ad as Po,ae as ko,af as So,ag as Lo,ah as Co,ai as jo,aj as Ro,ak as Io,al as Eo,am as Ao,an as Do,ao as To,ap as Fo,aq as Oo,ar as Go,as as Mo,at as No,au as qo,av as Bo,aw as Vo,ax as Wo,ay as _o}from"./pages-BFtNRfTL.js";import{ez as Ko,cg as $o,R as Uo,eA as Ho,eB as Jo}from"./components-ClD3sHta.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-DWdZV1Is.js";import"./vendor-shiki-CHu75YVL.js";import"./vendor-recharts-BfHdRd1Y.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"]'))i(c);new MutationObserver(c=>{for(const g of c)if(g.type==="childList")for(const n of g.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&i(n)}).observe(document,{childList:!0,subtree:!0});function u(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 i(c){if(c.ep)return;c.ep=!0;const g=u(c);fetch(c.href,g)}})();const Qo=e`
2
2
  :root {
3
3
  --ac-global-dimension-scale-factor: 1;
4
4
  --ac-global-dimension-size-0: 0px;
@@ -1137,6 +1137,10 @@ import{F as e,j as o,cO as f,ez as y,eA as v,eB as h,l as r,bW as x,eC as a,r as
1137
1137
  /* Modal */
1138
1138
  --ac-global-modal-width-S: 500px;
1139
1139
  --ac-global-modal-width-M: 700px;
1140
+ --ac-global-modal-width-L: 900px;
1141
+ --ac-global-modal-width-FULLSCREEN: calc(
1142
+ 100vw - var(--ac-global-dimension-static-size-1700)
1143
+ );
1140
1144
  }
1141
1145
 
1142
1146
  .ac-theme--dark {
@@ -1181,4 +1185,4 @@ import{F as e,j as o,cO as f,ez as y,eA as v,eB as h,l as r,bW as x,eC as a,r as
1181
1185
  .ac-theme--dark .react-resizable-handle {
1182
1186
  filter: invert(1);
1183
1187
  }
1184
- `;function ea(){const{theme:l="dark"}=k();return o(f,{styles:e(Yo,Xo,l==="dark"?Zo:oa,aa(l),Uo,la,ra,ca,ga)})}const ba=y(v(r(a,{path:"/",errorElement:o(Vo,{}),children:[o(a,{path:"/v1/*",element:o(x,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(L,{})}),o(a,{path:"/logout",element:o(j,{})}),o(a,{path:"/reset-password",element:o(R,{}),loader:C}),o(a,{path:"/reset-password-with-token",element:o(I,{})}),o(a,{path:"/forgot-password",element:o(E,{})}),o(a,{element:o(No,{}),loader:D,children:r(a,{element:o(qo,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(A,{})}),o(a,{index:!0,loader:T}),r(a,{path:"/model",handle:{crumb:()=>"model"},element:o(q,{}),children:[o(a,{index:!0,element:o(s,{})}),o(a,{element:o(s,{}),children:o(a,{path:"dimensions",children:o(a,{path:":dimensionId",element:o(O,{}),loader:F})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(M,{}),loader:G,handle:{crumb:l=>l.embedding.name}})})]}),r(a,{path:"/projects",handle:{crumb:()=>"projects"},element:o(X,{}),children:[o(a,{index:!0,element:o(N,{})}),r(a,{path:":projectId",loader:V,handle:{crumb:l=>l.project.name},element:o(U,{}),children:[o(a,{index:!0,element:o(W,{})}),r(a,{element:o(Q,{}),children:[o(a,{path:"traces",element:o(_,{}),children:o(a,{path:":traceId",element:o(t,{})})}),o(a,{path:"spans",element:o(B,{}),children:o(a,{path:":traceId",element:o(t,{})})}),o(a,{path:"sessions",element:o(H,{}),children:o(a,{path:":sessionId",element:o($,{}),loader:K})}),o(a,{path:"config",element:o(J,{})})]})]})]}),r(a,{path:"/dashboards",handle:{crumb:()=>"dashboards"},element:o(ro,{}),children:[o(a,{index:!0,element:o(Z,{}),loader:Y}),o(a,{path:"projects/:projectId",element:o(ao,{}),loader:oo,handle:{crumb:l=>l.project.name}}),o(a,{path:":dashboardId",handle:{crumb:()=>"dashboard"},element:o(lo,{})})]}),r(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(a,{index:!0,element:o(co,{})}),r(a,{path:":datasetId",loader:d,handle:{crumb:l=>l.dataset.name},children:[r(a,{element:o(no,{}),loader:d,children:[o(a,{index:!0,element:o(p,{}),loader:m}),o(a,{path:"experiments",element:o(p,{}),loader:m}),o(a,{path:"examples",element:o(bo,{}),loader:go,children:o(a,{path:":exampleId",element:o(eo,{})})})]}),o(a,{path:"compare",handle:{crumb:()=>"compare"},loader:io,element:o(so,{})})]})]}),r(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"}})]}),r(a,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(a,{index:!0,element:o(fo,{}),loader:uo}),r(a,{path:":promptId",loader:yo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[r(a,{element:o(So,{}),children:[o(a,{index:!0,element:o(vo,{})}),o(a,{path:"versions",loader:ho,element:o(wo,{}),children:o(a,{path:":versionId",loader:xo,element:o(zo,{})})}),o(a,{path:"config",element:o(ko,{}),loader:Po})]}),o(a,{path:"playground",element:o(jo,{}),loader:Lo,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(Co,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Ro,{}),handle:{crumb:()=>"support"}}),r(a,{path:"/settings",element:o(Mo,{}),handle:{crumb:()=>"settings"},children:[o(a,{path:"general",loader:Io,element:o(Eo,{}),handle:{crumb:()=>"general"}}),o(a,{path:"providers",loader:Do,element:o(Ao,{}),handle:{crumb:()=>"providers"}}),o(a,{path:"annotations",loader:To,element:o(Fo,{}),handle:{crumb:()=>"annotations"}}),o(a,{path:"data",element:o(Go,{}),handle:{crumb:()=>"data retention"},loader:Oo})]})]})})]})),{basename:window.Config.basename});function na(){return o(h,{router:ba})}function ia(){return o(Wo,{children:o(Ko,{children:o(sa,{})})})}function sa(){const{theme:l}=$o();return o(S,{theme:l,mountGlobalStyles:!1,children:r(w.RelayEnvironmentProvider,{environment:Ho,children:[o(ea,{}),o(_o,{children:o(Jo,{children:o(Bo,{children:o(z.Suspense,{children:o(Qo,{children:o(na,{})})})})})})]})})}const ta=document.getElementById("root"),da=P.createRoot(ta);da.render(o(ia,{}));
1188
+ `;function ea(){const{theme:l="dark"}=k();return o(f,{styles:e(Yo,Xo,l==="dark"?Zo:oa,aa(l),Qo,la,ra,ca,ga)})}const ba=y(v(r(a,{path:"/",errorElement:o(Bo,{}),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(R,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(I,{})}),o(a,{path:"/forgot-password",element:o(E,{})}),o(a,{element:o(qo,{}),loader:A,children:r(a,{element:o(No,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(D,{})}),o(a,{index:!0,loader:T}),r(a,{path:"/model",handle:{crumb:()=>"model"},element:o(N,{}),children:[o(a,{index:!0,element:o(s,{})}),o(a,{element:o(s,{}),children:o(a,{path:"dimensions",children:o(a,{path:":dimensionId",element:o(O,{}),loader:F})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(M,{}),loader:G,handle:{crumb:l=>l.embedding.name}})})]}),r(a,{path:"/projects",handle:{crumb:()=>"projects"},element:o(X,{}),children:[o(a,{index:!0,element:o(q,{})}),r(a,{path:":projectId",loader:B,handle:{crumb:l=>l.project.name},element:o(Q,{}),children:[o(a,{index:!0,element:o(V,{})}),r(a,{element:o(J,{}),children:[o(a,{path:"traces",element:o(W,{}),children:o(a,{path:":traceId",element:o(t,{})})}),o(a,{path:"spans",element:o(_,{}),children:o(a,{path:":traceId",element:o(t,{})})}),o(a,{path:"sessions",element:o(U,{}),children:o(a,{path:":sessionId",element:o($,{}),loader:K})}),o(a,{path:"config",element:o(H,{})})]})]})]}),r(a,{path:"/dashboards",handle:{crumb:()=>"dashboards"},element:o(ro,{}),children:[o(a,{index:!0,element:o(Z,{}),loader:Y}),o(a,{path:"projects/:projectId",element:o(ao,{}),loader:oo,handle:{crumb:l=>l.project.name}}),o(a,{path:":dashboardId",handle:{crumb:()=>"dashboard"},element:o(lo,{})})]}),r(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(a,{index:!0,element:o(co,{})}),r(a,{path:":datasetId",loader:d,handle:{crumb:l=>l.dataset.name},children:[r(a,{element:o(no,{}),loader:d,children:[o(a,{index:!0,element:o(p,{}),loader:m}),o(a,{path:"experiments",element:o(p,{}),loader:m}),o(a,{path:"examples",element:o(bo,{}),loader:go,children:o(a,{path:":exampleId",element:o(eo,{})})})]}),o(a,{path:"compare",handle:{crumb:()=>"compare"},loader:io,element:o(so,{})})]})]}),r(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"}})]}),r(a,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(a,{index:!0,element:o(fo,{}),loader:uo}),r(a,{path:":promptId",loader:yo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[r(a,{element:o(So,{}),children:[o(a,{index:!0,element:o(vo,{})}),o(a,{path:"versions",loader:ho,element:o(wo,{}),children:o(a,{path:":versionId",loader:xo,element:o(zo,{})})}),o(a,{path:"config",element:o(ko,{}),loader:Po})]}),o(a,{path:"playground",element:o(Co,{}),loader:Lo,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(jo,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Ro,{}),handle:{crumb:()=>"support"}}),r(a,{path:"/settings",element:o(Mo,{}),handle:{crumb:()=>"settings"},children:[o(a,{path:"general",loader:Io,element:o(Eo,{}),handle:{crumb:()=>"general"}}),o(a,{path:"providers",loader:Ao,element:o(Do,{}),handle:{crumb:()=>"providers"}}),o(a,{path:"annotations",loader:To,element:o(Fo,{}),handle:{crumb:()=>"annotations"}}),o(a,{path:"data",element:o(Go,{}),handle:{crumb:()=>"data retention"},loader:Oo})]})]})})]})),{basename:window.Config.basename});function na(){return o(h,{router:ba})}function ia(){return o(Vo,{children:o(Ko,{children:o(sa,{})})})}function sa(){const{theme:l}=$o();return o(S,{theme:l,mountGlobalStyles:!1,children:r(w.RelayEnvironmentProvider,{environment:Uo,children:[o(ea,{}),o(Wo,{children:o(Ho,{children:o(_o,{children:o(z.Suspense,{children:o(Jo,{children:o(na,{})})})})})})]})})}const ta=document.getElementById("root"),da=P.createRoot(ta);da.render(o(ia,{}));