arize-phoenix 9.3.0__py3-none-any.whl → 9.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 (24) hide show
  1. {arize_phoenix-9.3.0.dist-info → arize_phoenix-9.5.0.dist-info}/METADATA +4 -4
  2. {arize_phoenix-9.3.0.dist-info → arize_phoenix-9.5.0.dist-info}/RECORD +22 -22
  3. phoenix/db/README.md +1 -1
  4. phoenix/experiments/functions.py +11 -2
  5. phoenix/server/api/types/Project.py +126 -5
  6. phoenix/server/main.py +1 -1
  7. phoenix/server/static/.vite/manifest.json +40 -40
  8. phoenix/server/static/assets/{components-lafqiyl4.js → components-DpK7N6zE.js} +196 -199
  9. phoenix/server/static/assets/{index-CGZJ_sQk.js → index-BXA0RjaV.js} +20 -11
  10. phoenix/server/static/assets/{pages-Bm_Z5Ute.js → pages-jHwPRLA2.js} +780 -678
  11. phoenix/server/static/assets/vendor-CToBXdDM.js +905 -0
  12. phoenix/server/static/assets/vendor-WIZid84E.css +1 -0
  13. phoenix/server/static/assets/{vendor-arizeai-DJ2Xx4kZ.js → vendor-arizeai-BhbMHqQs.js} +2 -2
  14. phoenix/server/static/assets/{vendor-codemirror-CC0itEC8.js → vendor-codemirror-CeLHFooz.js} +1 -1
  15. phoenix/server/static/assets/{vendor-recharts-ZOUPDkCE.js → vendor-recharts-PlWJHgM9.js} +2 -2
  16. phoenix/server/static/assets/{vendor-shiki-CnRwDBHX.js → vendor-shiki-CPwL2jwA.js} +1 -1
  17. phoenix/trace/dsl/query.py +2 -2
  18. phoenix/version.py +1 -1
  19. phoenix/server/static/assets/vendor-BvFaCsmL.js +0 -903
  20. phoenix/server/static/assets/vendor-Cg6lcjUC.css +0 -1
  21. {arize_phoenix-9.3.0.dist-info → arize_phoenix-9.5.0.dist-info}/WHEEL +0 -0
  22. {arize_phoenix-9.3.0.dist-info → arize_phoenix-9.5.0.dist-info}/entry_points.txt +0 -0
  23. {arize_phoenix-9.3.0.dist-info → arize_phoenix-9.5.0.dist-info}/licenses/IP_NOTICE +0 -0
  24. {arize_phoenix-9.3.0.dist-info → arize_phoenix-9.5.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
- import{r as t,j as o,aV as z,l as c,P as w,R as P,E as b,cN as k,ey as S,ez as F,eA as L,bV as C,eB as l,o as E,eC as R}from"./vendor-BvFaCsmL.js";import{e as I,w as j,D as A,K as T,M as _}from"./vendor-arizeai-DJ2Xx4kZ.js";import{L as D,r as O,g as G,h as N,F as M,i as V,P as q,j as B,M as m,k as K,D as U,l as W,E as J,n as Y,o as $,p as H,q as Q,s as p,t as X,v as Z,w as oo,x as lo,y as ao,z as ro,B as co,C as go,G as eo,H as bo,I as u,J as f,K as y,N as no,O as io,Q as so,U as to,V as mo,W as po,X as uo,Y as fo,Z as yo,_ as vo,$ as ho,a0 as xo,a1 as zo,a2 as wo,a3 as Po,a4 as ko,a5 as So,a6 as Fo,a7 as Lo,a8 as Co,a9 as Eo,aa as Ro,ab as Io,ac as jo,ad as Ao,ae as To,af as _o,ag as Do,ah as Oo,ai as Go,aj as No,ak as Mo,al as Vo,am as qo,an as Bo,ao as Ko,ap as Uo,aq as Wo}from"./pages-Bm_Z5Ute.js";import{z as Jo,em as Yo,bY as $o,R as Ho,en as Qo,eo as Xo}from"./components-lafqiyl4.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-CC0itEC8.js";import"./vendor-shiki-CnRwDBHX.js";import"./vendor-recharts-ZOUPDkCE.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const g of r)if(g.type==="childList")for(const n of g.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&s(n)}).observe(document,{childList:!0,subtree:!0});function i(r){const g={};return r.integrity&&(g.integrity=r.integrity),r.referrerPolicy&&(g.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?g.credentials="include":r.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function s(r){if(r.ep)return;r.ep=!0;const g=i(r);fetch(r.href,g)}})();const v="arize-phoenix-feature-flags",d={__RESET__:!1};function Zo(){const a=localStorage.getItem(v);if(!a)return d;try{const e=JSON.parse(a);return Object.assign({},d,e)}catch{return d}}const h=t.createContext(null);function ol(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function ll(a){const[e,i]=t.useState(Zo()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(al,{children:a.children})})}function al(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=ol(),[r,g]=t.useState(!1);return z("ctrl+shift+f",()=>g(!0)),c(w,{children:[e,o(A,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(I,{title:"Feature Flags",children:o(Jo,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(j,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const rl=b`
1
+ import{E 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-CToBXdDM.js";import{K as k,M as S}from"./vendor-arizeai-BhbMHqQs.js";import{L,r as j,g as C,h as R,F as I,i as E,P as D,j as A,M as s,k as T,D as F,l as O,E as G,n as M,o as N,p as q,q as V,s as t,t as W,v as _,w as B,x as $,y as K,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 d,V as m,W as p,X as co,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 No,au as qo,av as Vo,aw as Wo,ax as _o}from"./pages-jHwPRLA2.js";import{en as Bo,b$ as $o,R as Ko,eo as Ho,ep as Jo}from"./components-DpK7N6zE.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-CeLHFooz.js";import"./vendor-shiki-CPwL2jwA.js";import"./vendor-recharts-PlWJHgM9.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;
@@ -53,7 +53,7 @@ import{r as t,j as o,aV as z,l as c,P as w,R as P,E as b,cN as k,ey as S,ez as F
53
53
  --ac-global-dimension-size-5000: 400px;
54
54
  --ac-global-dimension-size-6000: 480px;
55
55
  }
56
- `,cl=b`
56
+ `,Uo=e`
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{r as t,j as o,aV as z,l as c,P as w,R as P,E as b,cN as k,ey as S,ez as F
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
- `,gl=b`
66
+ `,Xo=e`
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{r as t,j as o,aV as z,l as c,P as w,R as P,E as b,cN as k,ey as S,ez as F
143
143
  --ac-global-dimension-font-size-1200: 50px;
144
144
  --ac-global-dimension-font-size-1300: 60px;
145
145
  }
146
- `,el=b`
146
+ `,Yo=e`
147
147
  :root,
148
148
  .ac-theme--dark {
149
149
  /* Colors */
@@ -648,7 +648,7 @@ import{r as t,j as o,aV as z,l as c,P as w,R as P,E as b,cN as k,ey as S,ez as F
648
648
  --ac-global-link-color: rgb(114, 217, 255);
649
649
  --ac-global-link-color-visited: var(--ac-global-color-purple-900);
650
650
  }
651
- `,bl=b`
651
+ `,Zo=e`
652
652
  :root,
653
653
  .ac-theme--light {
654
654
  /* Colors */
@@ -890,9 +890,9 @@ import{r as t,j as o,aV as z,l as c,P as w,R as P,E as b,cN as k,ey as S,ez as F
890
890
  --ac-global-link-color: rgb(9, 105, 218);
891
891
  --ac-global-link-color-visited: var(--ac-global-color-purple-900);
892
892
  }
893
- `,nl=a=>b`
893
+ `,oa=l=>e`
894
894
  :root,
895
- .ac-theme--${a} {
895
+ .ac-theme--${l} {
896
896
  // The primary color tint for the apps
897
897
  --ac-global-color-primary: var(--ac-global-color-grey-900);
898
898
  --ac-global-color-primary-900: rgba(
@@ -1035,11 +1035,11 @@ import{r as t,j as o,aV as z,l as c,P as w,R as P,E as b,cN as k,ey as S,ez as F
1035
1035
  --ac-alias-single-line-height: var(--ac-global-dimension-size-400);
1036
1036
  --ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
1037
1037
  }
1038
- `,il=b`
1038
+ `,aa=e`
1039
1039
  :root {
1040
1040
  --ac-opacity-disabled: 0.6;
1041
1041
  }
1042
- `,sl=b`
1042
+ `,la=e`
1043
1043
  body {
1044
1044
  background-color: var(--ac-global-color-grey-75);
1045
1045
  color: var(--ac-global-text-color-900);
@@ -1155,7 +1155,7 @@ import{r as t,j as o,aV as z,l as c,P as w,R as P,E as b,cN as k,ey as S,ez as F
1155
1155
  --px-corpus-color: #92969c;
1156
1156
  --px-corpus-color--transparent: #92969c63;
1157
1157
  }
1158
- `,tl=b`
1158
+ `,ra=e`
1159
1159
  .ac-theme--light {
1160
1160
  .cm-editor {
1161
1161
  background-color: rgba(255, 255, 255, 0.5) !important;
@@ -1172,4 +1172,13 @@ import{r as t,j as o,aV as z,l as c,P as w,R as P,E as b,cN as k,ey as S,ez as F
1172
1172
  background-color: rgba(0, 0, 0, 0.2) !important;
1173
1173
  }
1174
1174
  }
1175
- `;function dl(){const{theme:a="dark"}=T();return o(k,{styles:b(gl,cl,a==="dark"?el:bl,nl(a),rl,il,sl,tl)})}const ml=S(F(c(l,{path:"/",errorElement:o(Ko,{}),children:[o(l,{path:"/v1/*",element:o(C,{to:"/",replace:!0})}),o(l,{path:"/login",element:o(D,{})}),o(l,{path:"/reset-password",element:o(G,{}),loader:O}),o(l,{path:"/reset-password-with-token",element:o(N,{})}),o(l,{path:"/forgot-password",element:o(M,{})}),o(l,{element:o(Bo,{}),loader:V,children:c(l,{element:o(qo,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(q,{})}),o(l,{index:!0,loader:B}),c(l,{path:"/model",handle:{crumb:()=>"model"},element:o(Y,{}),children:[o(l,{index:!0,element:o(m,{})}),o(l,{element:o(m,{}),children:o(l,{path:"dimensions",children:o(l,{path:":dimensionId",element:o(U,{}),loader:K})})}),o(l,{path:"embeddings",children:o(l,{path:":embeddingDimensionId",element:o(J,{}),loader:W,handle:{crumb:a=>a.embedding.name}})})]}),c(l,{path:"/projects",handle:{crumb:()=>"projects"},element:o(eo,{}),children:[o(l,{index:!0,element:o($,{})}),c(l,{path:":projectId",loader:H,handle:{crumb:a=>a.project.name},element:o(go,{}),children:[o(l,{index:!0,element:o(Q,{})}),c(l,{element:o(co,{}),children:[o(l,{path:"traces",element:o(X,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"spans",element:o(Z,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"sessions",element:o(ao,{}),children:o(l,{path:":sessionId",element:o(lo,{}),loader:oo})}),o(l,{path:"config",element:o(ro,{})})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(bo,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(to,{}),loader:u,children:[o(l,{index:!0,element:o(y,{}),loader:f}),o(l,{path:"experiments",element:o(y,{}),loader:f}),o(l,{path:"examples",element:o(so,{}),loader:no,children:o(l,{path:":exampleId",element:o(io,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:mo,element:o(po,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(uo,{})}),o(l,{path:"spans/:spanId",element:o(yo,{}),loader:fo,handle:{crumb:a=>a.span.__typename==="Span"?`span ${a.span.spanId}`:"span unknown"}})]}),c(l,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(l,{index:!0,element:o(ho,{}),loader:vo}),c(l,{path:":promptId",loader:xo,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(Co,{}),children:[o(l,{index:!0,element:o(zo,{})}),o(l,{path:"versions",loader:wo,element:o(So,{}),children:o(l,{path:":versionId",loader:Po,element:o(ko,{})})}),o(l,{path:"config",element:o(Lo,{}),loader:Fo})]}),o(l,{path:"playground",element:o(Ro,{}),loader:Eo,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(Io,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(jo,{}),handle:{crumb:()=>"support"}}),c(l,{path:"/settings",element:o(Vo,{}),handle:{crumb:()=>"settings"},children:[o(l,{path:"general",loader:Ao,element:o(To,{}),handle:{crumb:()=>"general"}}),o(l,{path:"providers",loader:_o,element:o(Do,{}),handle:{crumb:()=>"providers"}}),o(l,{path:"annotations",loader:Oo,element:o(Go,{}),handle:{crumb:()=>"annotations"}}),o(l,{path:"data",element:o(Mo,{}),handle:{crumb:()=>"data retention"},loader:No})]})]})})]})),{basename:window.Config.basename});function pl(){return o(L,{router:ml})}function ul(){return o(Uo,{children:o(Yo,{children:o(fl,{})})})}function fl(){const{theme:a}=$o();return o(_,{theme:a,mountGlobalStyles:!1,children:c(E.RelayEnvironmentProvider,{environment:Ho,children:[o(dl,{}),o(ll,{children:o(Qo,{children:o(Wo,{children:o(t.Suspense,{children:o(Xo,{children:o(pl,{})})})})})})]})})}const yl=document.getElementById("root"),vl=R.createRoot(yl);vl.render(o(ul,{}));
1175
+ `,ca=e`
1176
+ .react-grid-item.react-grid-placeholder {
1177
+ // the placeholder doesn't look good
1178
+ background: var(--ac-global-color-blue-500);
1179
+ opacity: 0.1;
1180
+ }
1181
+ .ac-theme--dark .react-resizable-handle {
1182
+ filter: invert(1);
1183
+ }
1184
+ `;function ga(){const{theme:l="dark"}=k();return o(f,{styles:e(Xo,Uo,l==="dark"?Yo:Zo,oa(l),Qo,aa,la,ra,ca)})}const ea=y(v(r(a,{path:"/",errorElement:o(qo,{}),children:[o(a,{path:"/v1/*",element:o(x,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(L,{})}),o(a,{path:"/reset-password",element:o(C,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(R,{})}),o(a,{path:"/forgot-password",element:o(I,{})}),o(a,{element:o(No,{}),loader:E,children:r(a,{element:o(Mo,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(D,{})}),o(a,{index:!0,loader:A}),r(a,{path:"/model",handle:{crumb:()=>"model"},element:o(M,{}),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(F,{}),loader:T})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(G,{}),loader:O,handle:{crumb:l=>l.embedding.name}})})]}),r(a,{path:"/projects",handle:{crumb:()=>"projects"},element:o(U,{}),children:[o(a,{index:!0,element:o(N,{})}),r(a,{path:":projectId",loader:q,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(K,{}),children:o(a,{path:":sessionId",element:o($,{}),loader:B})}),o(a,{path:"config",element:o(H,{})})]})]})]}),r(a,{path:"/dashboards",handle:{crumb:()=>"dashboards"},element:o(lo,{}),children:[o(a,{index:!0,element:o(Y,{}),loader:X}),o(a,{path:"projects/:projectId",element:o(oo,{}),loader:Z,handle:{crumb:l=>l.project.name}}),o(a,{path:":dashboardId",handle:{crumb:()=>"dashboard"},element:o(ao,{})})]}),r(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(a,{index:!0,element:o(ro,{})}),r(a,{path:":datasetId",loader:d,handle:{crumb:l=>l.dataset.name},children:[r(a,{element:o(bo,{}),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(eo,{}),loader:co,children:o(a,{path:":exampleId",element:o(go,{})})})]}),o(a,{path:"compare",handle:{crumb:()=>"compare"},loader:no,element:o(io,{})})]})]}),r(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(a,{index:!0,element:o(so,{})}),o(a,{path:"spans/:spanId",element:o(mo,{}),loader:to,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(uo,{}),loader:po}),r(a,{path:":promptId",loader:fo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[r(a,{element:o(ko,{}),children:[o(a,{index:!0,element:o(yo,{})}),o(a,{path:"versions",loader:vo,element:o(zo,{}),children:o(a,{path:":versionId",loader:ho,element:o(xo,{})})}),o(a,{path:"config",element:o(Po,{}),loader:wo})]}),o(a,{path:"playground",element:o(Lo,{}),loader:So,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(jo,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Co,{}),handle:{crumb:()=>"support"}}),r(a,{path:"/settings",element:o(Go,{}),handle:{crumb:()=>"settings"},children:[o(a,{path:"general",loader:Ro,element:o(Io,{}),handle:{crumb:()=>"general"}}),o(a,{path:"providers",loader:Eo,element:o(Do,{}),handle:{crumb:()=>"providers"}}),o(a,{path:"annotations",loader:Ao,element:o(To,{}),handle:{crumb:()=>"annotations"}}),o(a,{path:"data",element:o(Oo,{}),handle:{crumb:()=>"data retention"},loader:Fo})]})]})})]})),{basename:window.Config.basename});function ba(){return o(h,{router:ea})}function na(){return o(Vo,{children:o(Bo,{children:o(ia,{})})})}function ia(){const{theme:l}=$o();return o(S,{theme:l,mountGlobalStyles:!1,children:r(w.RelayEnvironmentProvider,{environment:Ko,children:[o(ga,{}),o(Wo,{children:o(Ho,{children:o(_o,{children:o(z.Suspense,{children:o(Jo,{children:o(ba,{})})})})})})]})})}const sa=document.getElementById("root"),ta=P.createRoot(sa);ta.render(o(na,{}));