arize-phoenix 8.18.0__py3-none-any.whl → 8.19.1__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 (23) hide show
  1. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.1.dist-info}/METADATA +1 -1
  2. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.1.dist-info}/RECORD +23 -23
  3. phoenix/config.py +12 -0
  4. phoenix/db/engines.py +1 -1
  5. phoenix/server/api/types/Project.py +15 -7
  6. phoenix/server/app.py +6 -1
  7. phoenix/server/main.py +2 -0
  8. phoenix/server/static/.vite/manifest.json +40 -40
  9. phoenix/server/static/assets/{components-C9nEyUpZ.js → components-C28SkolB.js} +301 -221
  10. phoenix/server/static/assets/{index-Byq5IvLD.js → index-WrtAISug.js} +10 -10
  11. phoenix/server/static/assets/{pages-DHlvPcZL.js → pages-eLqonMjF.js} +645 -584
  12. phoenix/server/static/assets/{vendor-BT2CVKel.js → vendor-CwC1K6mo.js} +197 -205
  13. phoenix/server/static/assets/{vendor-arizeai-Dzsaenki.js → vendor-arizeai-B7-2AIAM.js} +24 -24
  14. phoenix/server/static/assets/{vendor-codemirror-D2R3PB3i.js → vendor-codemirror-D3xhkqGE.js} +1 -1
  15. phoenix/server/static/assets/{vendor-recharts-DetvdWCF.js → vendor-recharts-B_VgO7bY.js} +4 -4
  16. phoenix/server/static/assets/{vendor-shiki-dzrzjP7E.js → vendor-shiki-CK18CSqG.js} +1 -1
  17. phoenix/settings.py +2 -0
  18. phoenix/trace/dsl/query.py +32 -11
  19. phoenix/version.py +1 -1
  20. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.1.dist-info}/WHEEL +0 -0
  21. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.1.dist-info}/entry_points.txt +0 -0
  22. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.1.dist-info}/licenses/IP_NOTICE +0 -0
  23. {arize_phoenix-8.18.0.dist-info → arize_phoenix-8.19.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
- import{r as t,j as o,bo as z,l as c,O as w,R as P,E as b,cx as k,ei as S,ej as F,ek as L,el as l,v as C,em as E}from"./vendor-BT2CVKel.js";import{c as R,x as I,D as j,M as A,N as T}from"./vendor-arizeai-Dzsaenki.js";import{L as _,r as D,d as O,e as G,F as M,f as N,P as V,h as q,M as m,g as U,D as W,i as B,E as J,j as K,k as $,p as H,l as Q,n as p,o as Y,q as X,s as Z,S as oo,t as lo,v as ao,w as ro,x as co,y as u,z as f,A as y,B as go,C as eo,G as bo,H as no,I as io,J as so,K as to,N as mo,O as po,Q as uo,U as fo,V as yo,W as vo,X as ho,Y as xo,Z as zo,_ as wo,$ as Po,a0 as ko,a1 as So,a2 as Fo,a3 as Lo,a4 as Co,a5 as Eo,a6 as Ro,a7 as Io,a8 as jo,a9 as Ao,aa as To,ab as _o,ac as Do,ad as Oo,ae as Go,af as Mo}from"./pages-DHlvPcZL.js";import{z as No,dQ as Vo,bz as qo,R as Uo,dR as Wo,dS as Bo}from"./components-C9nEyUpZ.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-D2R3PB3i.js";import"./vendor-shiki-dzrzjP7E.js";import"./vendor-recharts-DetvdWCF.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 Jo(){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 Ko(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function $o(a){const[e,i]=t.useState(Jo()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Ho,{children:a.children})})}function Ho(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=Ko(),[r,g]=t.useState(!1);return z("ctrl+shift+f",()=>g(!0)),c(w,{children:[e,o(j,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(R,{title:"Feature Flags",children:o(No,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(I,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const Qo=b`
1
+ import{r as t,j as o,bp as z,l as c,P as w,R as P,E as b,cy as k,ei as S,ej as F,ek as L,el as l,w as C,em as E}from"./vendor-CwC1K6mo.js";import{c as R,x as I,D as j,K as A,M as T}from"./vendor-arizeai-B7-2AIAM.js";import{L as _,r as D,d as O,e as G,F as M,f as N,P as V,h as U,M as m,g as W,D as q,i as K,E as B,j as J,k as $,p as H,l as Y,n as p,o as Q,q as X,s as Z,S as oo,t as lo,v as ao,w as ro,x as co,y as go,z as eo,A as u,B as f,C as y,G as bo,H as no,I as io,J as so,K as to,N as mo,O as po,Q as uo,U as fo,V as yo,W as vo,X as ho,Y as xo,Z as zo,_ as wo,$ as Po,a0 as ko,a1 as So,a2 as Fo,a3 as Lo,a4 as Co,a5 as Eo,a6 as Ro,a7 as Io,a8 as jo,a9 as Ao,aa as To,ab as _o,ac as Do,ad as Oo,ae as Go,af as Mo,ag as No,ah as Vo}from"./pages-eLqonMjF.js";import{z as Uo,dU as Wo,bC as qo,R as Ko,dV as Bo,dW as Jo}from"./components-C28SkolB.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-D3xhkqGE.js";import"./vendor-shiki-CK18CSqG.js";import"./vendor-recharts-B_VgO7bY.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 $o(){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 Ho(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Yo(a){const[e,i]=t.useState($o()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Qo,{children:a.children})})}function Qo(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=Ho(),[r,g]=t.useState(!1);return z("ctrl+shift+f",()=>g(!0)),c(w,{children:[e,o(j,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(R,{title:"Feature Flags",children:o(Uo,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(I,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const Xo=b`
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,bo as z,l as c,O as w,R as P,E as b,cx as k,ei as S,ej as F
53
53
  --ac-global-dimension-size-5000: 400px;
54
54
  --ac-global-dimension-size-6000: 480px;
55
55
  }
56
- `,Yo=b`
56
+ `,Zo=b`
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,bo as z,l as c,O as w,R as P,E as b,cx as k,ei as S,ej 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
- `,Xo=b`
66
+ `,ol=b`
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,bo as z,l as c,O as w,R as P,E as b,cx as k,ei as S,ej as F
143
143
  --ac-global-dimension-font-size-1200: 50px;
144
144
  --ac-global-dimension-font-size-1300: 60px;
145
145
  }
146
- `,Zo=b`
146
+ `,ll=b`
147
147
  :root,
148
148
  .ac-theme--dark {
149
149
  /* Colors */
@@ -648,7 +648,7 @@ import{r as t,j as o,bo as z,l as c,O as w,R as P,E as b,cx as k,ei as S,ej 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
- `,ol=b`
651
+ `,al=b`
652
652
  :root,
653
653
  .ac-theme--light {
654
654
  /* Colors */
@@ -890,7 +890,7 @@ import{r as t,j as o,bo as z,l as c,O as w,R as P,E as b,cx as k,ei as S,ej 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
- `,ll=a=>b`
893
+ `,rl=a=>b`
894
894
  :root,
895
895
  .ac-theme--${a} {
896
896
  // The primary color tint for the apps
@@ -1030,11 +1030,11 @@ import{r as t,j as o,bo as z,l as c,O as w,R as P,E as b,cx as k,ei as S,ej as F
1030
1030
  --ac-alias-single-line-height: var(--ac-global-dimension-size-400);
1031
1031
  --ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
1032
1032
  }
1033
- `,al=b`
1033
+ `,cl=b`
1034
1034
  :root {
1035
1035
  --ac-opacity-disabled: 0.6;
1036
1036
  }
1037
- `,rl=b`
1037
+ `,gl=b`
1038
1038
  body {
1039
1039
  background-color: var(--ac-global-color-grey-75);
1040
1040
  color: var(--ac-global-text-color-900);
@@ -1150,7 +1150,7 @@ import{r as t,j as o,bo as z,l as c,O as w,R as P,E as b,cx as k,ei as S,ej as F
1150
1150
  --px-corpus-color: #92969c;
1151
1151
  --px-corpus-color--transparent: #92969c63;
1152
1152
  }
1153
- `,cl=b`
1153
+ `,el=b`
1154
1154
  .ac-theme--light {
1155
1155
  .cm-editor {
1156
1156
  background-color: rgba(255, 255, 255, 0.5) !important;
@@ -1167,4 +1167,4 @@ import{r as t,j as o,bo as z,l as c,O as w,R as P,E as b,cx as k,ei as S,ej as F
1167
1167
  background-color: rgba(0, 0, 0, 0.2) !important;
1168
1168
  }
1169
1169
  }
1170
- `;function gl(){const{theme:a="dark"}=A();return o(k,{styles:b(Xo,Yo,a==="dark"?Zo:ol,ll(a),Qo,al,rl,cl)})}const el=S(F(c(l,{path:"/",errorElement:o(Oo,{}),children:[o(l,{path:"/login",element:o(_,{})}),o(l,{path:"/reset-password",element:o(O,{}),loader:D}),o(l,{path:"/reset-password-with-token",element:o(G,{})}),o(l,{path:"/forgot-password",element:o(M,{})}),o(l,{element:o(Do,{}),loader:N,children:c(l,{element:o(_o,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(V,{})}),o(l,{index:!0,loader:q}),c(l,{path:"/model",handle:{crumb:()=>"model"},element:o(K,{}),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(W,{}),loader:U})})}),o(l,{path:"embeddings",children:o(l,{path:":embeddingDimensionId",element:o(J,{}),loader:B,handle:{crumb:a=>a.embedding.name}})})]}),c(l,{path:"/projects",handle:{crumb:()=>"projects"},element:o(ro,{}),children:[o(l,{index:!0,element:o($,{})}),c(l,{path:":projectId",loader:H,handle:{crumb:a=>a.project.name},children:[o(l,{index:!0,element:o(Q,{})}),c(l,{element:o(ao,{}),children:[o(l,{path:"traces",element:o(Y,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"spans",element:o(X,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"sessions",element:o(lo,{}),children:o(l,{path:":sessionId",element:o(oo,{}),loader:Z})})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(co,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(no,{}),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(bo,{}),loader:go,children:o(l,{path:":exampleId",element:o(eo,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:io,element:o(so,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(to,{})}),o(l,{path:"spans/:spanId",element:o(po,{}),loader:mo,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(fo,{}),loader:uo}),c(l,{path:":promptId",loader:yo,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(So,{}),children:[o(l,{index:!0,element:o(vo,{})}),o(l,{path:"versions",loader:ho,element:o(wo,{}),children:o(l,{path:":versionId",loader:xo,element:o(zo,{})})}),o(l,{path:"config",element:o(ko,{}),loader:Po})]}),o(l,{path:"playground",element:o(Lo,{}),loader:Fo,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(Co,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(Eo,{}),handle:{crumb:()=>"support"}}),c(l,{path:"/settings",element:o(To,{}),handle:{crumb:()=>"settings"},children:[o(l,{path:"general",loader:Ro,element:o(Io,{}),handle:{crumb:()=>"general"}}),o(l,{path:"providers",loader:jo,element:o(Ao,{}),handle:{crumb:()=>"providers"}})]})]})})]})),{basename:window.Config.basename});function bl(){return o(L,{router:el})}function nl(){return o(Go,{children:o(Vo,{children:o(il,{})})})}function il(){const{theme:a}=qo();return o(T,{theme:a,mountGlobalStyles:!1,children:c(C.RelayEnvironmentProvider,{environment:Uo,children:[o(gl,{}),o($o,{children:o(Wo,{children:o(Mo,{children:o(t.Suspense,{children:o(Bo,{children:o(bl,{})})})})})})]})})}const sl=document.getElementById("root"),tl=E.createRoot(sl);tl.render(o(nl,{}));
1170
+ `;function bl(){const{theme:a="dark"}=A();return o(k,{styles:b(ol,Zo,a==="dark"?ll:al,rl(a),Xo,cl,gl,el)})}const nl=S(F(c(l,{path:"/",errorElement:o(Mo,{}),children:[o(l,{path:"/login",element:o(_,{})}),o(l,{path:"/reset-password",element:o(O,{}),loader:D}),o(l,{path:"/reset-password-with-token",element:o(G,{})}),o(l,{path:"/forgot-password",element:o(M,{})}),o(l,{element:o(Go,{}),loader:N,children:c(l,{element:o(Oo,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(V,{})}),o(l,{index:!0,loader:U}),c(l,{path:"/model",handle:{crumb:()=>"model"},element:o(J,{}),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(q,{}),loader:W})})}),o(l,{path:"embeddings",children:o(l,{path:":embeddingDimensionId",element:o(B,{}),loader:K,handle:{crumb:a=>a.embedding.name}})})]}),c(l,{path:"/projects",handle:{crumb:()=>"projects"},element:o(go,{}),children:[o(l,{index:!0,element:o($,{})}),c(l,{path:":projectId",loader:H,handle:{crumb:a=>a.project.name},element:o(co,{}),children:[o(l,{index:!0,element:o(Y,{})}),c(l,{element:o(ro,{}),children:[o(l,{path:"traces",element:o(Q,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"spans",element:o(X,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"sessions",element:o(lo,{}),children:o(l,{path:":sessionId",element:o(oo,{}),loader:Z})}),o(l,{path:"config",element:o(ao,{})})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(eo,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(so,{}),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(io,{}),loader:bo,children:o(l,{path:":exampleId",element:o(no,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:to,element:o(mo,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(po,{})}),o(l,{path:"spans/:spanId",element:o(fo,{}),loader:uo,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(vo,{}),loader:yo}),c(l,{path:":promptId",loader:ho,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(Lo,{}),children:[o(l,{index:!0,element:o(xo,{})}),o(l,{path:"versions",loader:zo,element:o(ko,{}),children:o(l,{path:":versionId",loader:wo,element:o(Po,{})})}),o(l,{path:"config",element:o(Fo,{}),loader:So})]}),o(l,{path:"playground",element:o(Eo,{}),loader:Co,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(Ro,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(Io,{}),handle:{crumb:()=>"support"}}),c(l,{path:"/settings",element:o(Do,{}),handle:{crumb:()=>"settings"},children:[o(l,{path:"general",loader:jo,element:o(Ao,{}),handle:{crumb:()=>"general"}}),o(l,{path:"providers",loader:To,element:o(_o,{}),handle:{crumb:()=>"providers"}})]})]})})]})),{basename:window.Config.basename});function il(){return o(L,{router:nl})}function sl(){return o(No,{children:o(Wo,{children:o(tl,{})})})}function tl(){const{theme:a}=qo();return o(T,{theme:a,mountGlobalStyles:!1,children:c(C.RelayEnvironmentProvider,{environment:Ko,children:[o(bl,{}),o(Yo,{children:o(Bo,{children:o(Vo,{children:o(t.Suspense,{children:o(Jo,{children:o(il,{})})})})})})]})})}const dl=document.getElementById("root"),ml=E.createRoot(dl);ml.render(o(sl,{}));