arize-phoenix 8.2.2__py3-none-any.whl → 8.3.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 (27) hide show
  1. {arize_phoenix-8.2.2.dist-info → arize_phoenix-8.3.0.dist-info}/METADATA +3 -3
  2. {arize_phoenix-8.2.2.dist-info → arize_phoenix-8.3.0.dist-info}/RECORD +27 -27
  3. phoenix/config.py +32 -5
  4. phoenix/db/models.py +1 -25
  5. phoenix/server/api/context.py +4 -2
  6. phoenix/server/api/dataloaders/__init__.py +2 -2
  7. phoenix/server/api/dataloaders/{span_fields.py → table_fields.py} +21 -19
  8. phoenix/server/api/helpers/playground_clients.py +4 -0
  9. phoenix/server/api/helpers/prompts/models.py +1 -0
  10. phoenix/server/api/queries.py +8 -17
  11. phoenix/server/api/types/Experiment.py +2 -4
  12. phoenix/server/api/types/ExperimentRun.py +2 -2
  13. phoenix/server/api/types/ExperimentRunAnnotation.py +2 -2
  14. phoenix/server/api/types/Project.py +67 -38
  15. phoenix/server/api/types/ProjectSession.py +2 -2
  16. phoenix/server/api/types/Span.py +31 -2
  17. phoenix/server/api/types/Trace.py +98 -30
  18. phoenix/server/app.py +4 -2
  19. phoenix/server/static/.vite/manifest.json +9 -9
  20. phoenix/server/static/assets/{components-MeFAEc1z.js → components-T5K9z49d.js} +3 -3
  21. phoenix/server/static/assets/{index-BSRuZ-_J.js → index-DvHwFF8e.js} +2 -2
  22. phoenix/server/static/assets/{pages-NrL4hb9q.js → pages-CY3ZXSHj.js} +375 -356
  23. phoenix/version.py +1 -1
  24. {arize_phoenix-8.2.2.dist-info → arize_phoenix-8.3.0.dist-info}/WHEEL +0 -0
  25. {arize_phoenix-8.2.2.dist-info → arize_phoenix-8.3.0.dist-info}/entry_points.txt +0 -0
  26. {arize_phoenix-8.2.2.dist-info → arize_phoenix-8.3.0.dist-info}/licenses/IP_NOTICE +0 -0
  27. {arize_phoenix-8.2.2.dist-info → arize_phoenix-8.3.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
- import{r as g,R as j,j as e,u as Ca,a as Me,e as a1,s as V1,b as D1,c as $e,d as Q1,f as gi,g as fe,h as hi,i as fi,k as q1,l,m as Ci,n as Te,C as o1,o as We,p as Qe,q as bi,t as vi,v as R,L as ba,w as va,x as ya,y as ce,z as v,A as g1,B as La,D as ln,E as p,F as wa,$ as yi,G as xa,H as ka,I as xe,J as Li,K as sn,M as wi,N as xi,O as q,P as X1,Q as O,S as K,T as N,U as Sa,V as Ma,W as ki,X as h1,Y as Ta,Z as Si,_ as Mi,a0 as Ti,a1 as Ii,a2 as Ai,a3 as zi,a4 as Ei,a5 as Vi,a6 as f1,a7 as Di,a8 as Pi,a9 as Oi,aa as _i,ab as ke,ac as Y1,ad as J1,ae as en,af as F,ag as Oe,ah as On,ai as Fi,aj as Ri,ak as Ni,al as Ia,am as Hi,an as _,ao as Aa,ap as Ki,aq as ze,ar as cn,as as $i,at as dn,au as Bi,av as Zi,aw as Gi,ax as ji,ay as Ui,az as Wi,aA as _n,aB as Qi,aC as qi,aD as Xi,aE as Fn,aF as Yi,aG as Ji,aH as er,aI as P1,aJ as nr,aK as ar,aL as tr,aM as ir,aN as rr,aO as or,aP as lr,aQ as sr,aR as cr,aS as dr}from"./vendor-Cqfydjep.js";import{a as Rn,R as ur,b as mr,c as pr,m as gr,T as hr,u as fr}from"./pages-NrL4hb9q.js";import{u as Cr,_ as za,a as re,T as X,E as Ea,b as br,c as vr,d as Se,D as C1,e as ye,f as yr,g as _e,A as qe,C as b1,P as un,F as Lr,L as ve,h as Va,i as l1,j as v1,I as mn,k as pn,l as Da,m as wr,n as xr,o as Pa,p as kr,q as Sr,r as Mr,s as Oa,t as _a,v as Tr,w as Ir,x as Nn,y as Ar}from"./vendor-arizeai-WnerlUPN.js";import{L as Fa,a as Ra,j as Na,E as gn,k as Ha,d as Ka,l as nn,b as $a,h as zr,c as Er,e as Vr,f as Dr,g as Pr,i as Or,s as _r,m as Ba,n as Xe,R as Ye,p as Fr,o as Rr}from"./vendor-codemirror-D-ZZKLFq.js";import{V as Nr}from"./vendor-three-C-AGeJYv.js";const Za=function(){var n={defaultValue:null,kind:"LocalArgument",name:"clusters"},a={defaultValue:null,kind:"LocalArgument",name:"dataQualityMetricColumnName"},t={defaultValue:null,kind:"LocalArgument",name:"fetchDataQualityMetric"},i={defaultValue:null,kind:"LocalArgument",name:"fetchPerformanceMetric"},r={defaultValue:null,kind:"LocalArgument",name:"performanceMetric"},o=[{alias:null,args:null,kind:"ScalarField",name:"primaryValue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"referenceValue",storageKey:null}],s=[{alias:null,args:[{kind:"Variable",name:"clusters",variableName:"clusters"}],concreteType:"Cluster",kind:"LinkedField",name:"clusters",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"eventIds",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"driftRatio",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primaryToCorpusRatio",storageKey:null},{condition:"fetchDataQualityMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"columnName",variableName:"dataQualityMetricColumnName"},{kind:"Literal",name:"metric",value:"mean"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"dataQualityMetric",plural:!1,selections:o,storageKey:null}]},{condition:"fetchPerformanceMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"metric",variableName:"performanceMetric"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"performanceMetric",plural:!1,selections:o,storageKey:null}]}],storageKey:null}];return{fragment:{argumentDefinitions:[n,a,t,i,r],kind:"Fragment",metadata:null,name:"pointCloudStore_clusterMetricsQuery",selections:s,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,t,a,i,r],kind:"Operation",name:"pointCloudStore_clusterMetricsQuery",selections:s},params:{cacheID:"86666967012812887ac0a0149d2d2535",id:null,metadata:{},name:"pointCloudStore_clusterMetricsQuery",operationKind:"query",text:`query pointCloudStore_clusterMetricsQuery(
1
+ import{r as g,R as j,j as e,u as Ca,a as Me,e as a1,s as V1,b as D1,c as $e,d as Q1,f as gi,g as fe,h as hi,i as fi,k as q1,l,m as Ci,n as Te,C as o1,o as We,p as Qe,q as bi,t as vi,v as R,L as ba,w as va,x as ya,y as ce,z as v,A as g1,B as La,D as ln,E as p,F as wa,$ as yi,G as xa,H as ka,I as xe,J as Li,K as sn,M as wi,N as xi,O as q,P as X1,Q as O,S as K,T as N,U as Sa,V as Ma,W as ki,X as h1,Y as Ta,Z as Si,_ as Mi,a0 as Ti,a1 as Ii,a2 as Ai,a3 as zi,a4 as Ei,a5 as Vi,a6 as f1,a7 as Di,a8 as Pi,a9 as Oi,aa as _i,ab as ke,ac as Y1,ad as J1,ae as en,af as F,ag as Oe,ah as On,ai as Fi,aj as Ri,ak as Ni,al as Ia,am as Hi,an as _,ao as Aa,ap as Ki,aq as ze,ar as cn,as as $i,at as dn,au as Bi,av as Zi,aw as Gi,ax as ji,ay as Ui,az as Wi,aA as _n,aB as Qi,aC as qi,aD as Xi,aE as Fn,aF as Yi,aG as Ji,aH as er,aI as P1,aJ as nr,aK as ar,aL as tr,aM as ir,aN as rr,aO as or,aP as lr,aQ as sr,aR as cr,aS as dr}from"./vendor-Cqfydjep.js";import{a as Rn,R as ur,b as mr,c as pr,m as gr,T as hr,u as fr}from"./pages-CY3ZXSHj.js";import{u as Cr,_ as za,a as re,T as X,E as Ea,b as br,c as vr,d as Se,D as C1,e as ye,f as yr,g as _e,A as qe,C as b1,P as un,F as Lr,L as ve,h as Va,i as l1,j as v1,I as mn,k as pn,l as Da,m as wr,n as xr,o as Pa,p as kr,q as Sr,r as Mr,s as Oa,t as _a,v as Tr,w as Ir,x as Nn,y as Ar}from"./vendor-arizeai-WnerlUPN.js";import{L as Fa,a as Ra,j as Na,E as gn,k as Ha,d as Ka,l as nn,b as $a,h as zr,c as Er,e as Vr,f as Dr,g as Pr,i as Or,s as _r,m as Ba,n as Xe,R as Ye,p as Fr,o as Rr}from"./vendor-codemirror-D-ZZKLFq.js";import{V as Nr}from"./vendor-three-C-AGeJYv.js";const Za=function(){var n={defaultValue:null,kind:"LocalArgument",name:"clusters"},a={defaultValue:null,kind:"LocalArgument",name:"dataQualityMetricColumnName"},t={defaultValue:null,kind:"LocalArgument",name:"fetchDataQualityMetric"},i={defaultValue:null,kind:"LocalArgument",name:"fetchPerformanceMetric"},r={defaultValue:null,kind:"LocalArgument",name:"performanceMetric"},o=[{alias:null,args:null,kind:"ScalarField",name:"primaryValue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"referenceValue",storageKey:null}],s=[{alias:null,args:[{kind:"Variable",name:"clusters",variableName:"clusters"}],concreteType:"Cluster",kind:"LinkedField",name:"clusters",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"eventIds",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"driftRatio",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primaryToCorpusRatio",storageKey:null},{condition:"fetchDataQualityMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"columnName",variableName:"dataQualityMetricColumnName"},{kind:"Literal",name:"metric",value:"mean"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"dataQualityMetric",plural:!1,selections:o,storageKey:null}]},{condition:"fetchPerformanceMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"metric",variableName:"performanceMetric"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"performanceMetric",plural:!1,selections:o,storageKey:null}]}],storageKey:null}];return{fragment:{argumentDefinitions:[n,a,t,i,r],kind:"Fragment",metadata:null,name:"pointCloudStore_clusterMetricsQuery",selections:s,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,t,a,i,r],kind:"Operation",name:"pointCloudStore_clusterMetricsQuery",selections:s},params:{cacheID:"86666967012812887ac0a0149d2d2535",id:null,metadata:{},name:"pointCloudStore_clusterMetricsQuery",operationKind:"query",text:`query pointCloudStore_clusterMetricsQuery(
2
2
  $clusters: [ClusterInput!]!
3
3
  $fetchDataQualityMetric: Boolean!
4
4
  $dataQualityMetricColumnName: String
@@ -1709,7 +1709,7 @@ import{r as g,R as j,j as e,u as Ca,a as Me,e as a1,s as V1,b as D1,c as $e,d as
1709
1709
  color: var(${s});
1710
1710
  width: 20px;
1711
1711
  height: 20px;
1712
- `,title:n,children:o})}const _t=g.createContext(null);function Ft(){const n=g.useContext(_t);if(n===null)throw new Error("useTraceTree must be used within a TraceTreeProvider");return n}function ts(n){const[a,t]=g.useState(!1),i=g.useCallback(r=>{g.startTransition(()=>{t(r)})},[]);return e(_t.Provider,{value:{isCollapsed:a,setIsCollapsed:i},children:n.children})}function is(n){const a=n.reduce((i,r)=>(i.set(r.context.spanId,{span:r,children:[]}),i),new Map),t=[];for(const i of n){const r=a.get(i.context.spanId);if(i.parentId===null||!a.has(i.parentId))t.push(r);else{const o=a.get(i.parentId);o&&o.children.push(r)}}for(const i of a.values())i.children.sort((r,o)=>new Date(r.span.startTime).valueOf()-new Date(o.span.startTime).valueOf());return t}const En=30;function l4(n){const{spans:a,onSpanClick:t,selectedSpanNodeId:i}=n,r=is(a);return e(ts,{children:l("div",{css:p`
1712
+ `,title:n,children:o})}const _t=g.createContext(null);function Ft(){const n=g.useContext(_t);if(n===null)throw new Error("useTraceTree must be used within a TraceTreeProvider");return n}function ts(n){const[a,t]=g.useState(!1),i=g.useCallback(r=>{g.startTransition(()=>{t(r)})},[]);return e(_t.Provider,{value:{isCollapsed:a,setIsCollapsed:i},children:n.children})}function is(n){const a=n.reduce((i,r)=>(i.set(r.spanId,{span:r,children:[]}),i),new Map),t=[];for(const i of n){const r=a.get(i.spanId);if(i.parentId===null||!a.has(i.parentId))t.push(r);else{const o=a.get(i.parentId);o&&o.children.push(r)}}for(const i of a.values())i.children.sort((r,o)=>new Date(r.span.startTime).valueOf()-new Date(o.span.startTime).valueOf());return t.sort((i,r)=>new Date(i.span.startTime).valueOf()-new Date(r.span.startTime).valueOf()),t}const En=30;function l4(n){const{spans:a,onSpanClick:t,selectedSpanNodeId:i}=n,r=is(a);return e(ts,{children:l("div",{css:p`
1713
1713
  display: flex;
1714
1714
  flex-direction: column;
1715
1715
  overflow: hidden;
@@ -1738,7 +1738,7 @@ import{r as g,R as j,j as e,u as Ca,a as Me,e as a1,s as V1,b as D1,c as $e,d as
1738
1738
  flex-direction: column;
1739
1739
  `,children:o.map((S,Z)=>{const me=o[Z+1];return l("li",{css:p`
1740
1740
  position: relative;
1741
- `,children:[me?e(ss,{...me.span,nestingLevel:r}):null,e(cs,{...S.span,nestingLevel:r}),e(Rt,{node:S,onSpanClick:i,selectedSpanNodeId:t,nestingLevel:r+1})]},S.span.context.spanId)})}):null]})}function ls(n){return e("div",{className:n.isSelected?"is-selected":"",css:p`
1741
+ `,children:[me?e(ss,{...me.span,nestingLevel:r}):null,e(cs,{...S.span,nestingLevel:r}),e(Rt,{node:S,onSpanClick:i,selectedSpanNodeId:t,nestingLevel:r+1})]},S.span.spanId)})}):null]})}function ls(n){return e("div",{className:n.isSelected?"is-selected":"",css:p`
1742
1742
  width: 100%;
1743
1743
  display: flex;
1744
1744
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{r as t,j as o,ba as z,l as c,O as w,R as P,E as b,ck as k,d$ as S,e0 as F,e1 as L,e2 as l,v as C,e3 as E}from"./vendor-Cqfydjep.js";import{d as R,J as T,D as I,V as _,W as A}from"./vendor-arizeai-WnerlUPN.js";import{L as D,r as j,d as O,e as G,F as N,f as V,P as M,h as W,M as m,g as U,D as q,i as B,E as J,j as $,k as K,p as H,l as p,n as Y,s as Q,S as X,o as Z,q as oo,t as lo,v as u,w as f,x as y,y as ao,z as ro,A as co,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 To,a8 as Io,a9 as _o}from"./pages-NrL4hb9q.js";import{W as Ao,dB as Do,b9 as jo,U as Oo,dC as Go,dD as No}from"./components-MeFAEc1z.js";import"./vendor-three-C-AGeJYv.js";import"./vendor-codemirror-D-ZZKLFq.js";import"./vendor-shiki-D5K9GnFn.js";import"./vendor-recharts-KY97ZPfK.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 Vo(){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 Mo(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Wo(a){const[e,i]=t.useState(Vo()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Uo,{children:a.children})})}function Uo(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=Mo(),[r,g]=t.useState(!1);return z("ctrl+shift+f",()=>g(!0)),c(w,{children:[e,o(I,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(R,{title:"Feature Flags",children:o(Ao,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(T,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const qo=b`
1
+ import{r as t,j as o,ba as z,l as c,O as w,R as P,E as b,ck as k,d$ as S,e0 as F,e1 as L,e2 as l,v as C,e3 as E}from"./vendor-Cqfydjep.js";import{d as R,J as T,D as I,V as _,W as A}from"./vendor-arizeai-WnerlUPN.js";import{L as D,r as j,d as O,e as G,F as N,f as V,P as M,h as W,M as m,g as U,D as q,i as B,E as J,j as $,k as K,p as H,l as p,n as Y,s as Q,S as X,o as Z,q as oo,t as lo,v as u,w as f,x as y,y as ao,z as ro,A as co,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 To,a8 as Io,a9 as _o}from"./pages-CY3ZXSHj.js";import{W as Ao,dB as Do,b9 as jo,U as Oo,dC as Go,dD as No}from"./components-T5K9z49d.js";import"./vendor-three-C-AGeJYv.js";import"./vendor-codemirror-D-ZZKLFq.js";import"./vendor-shiki-D5K9GnFn.js";import"./vendor-recharts-KY97ZPfK.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 Vo(){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 Mo(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Wo(a){const[e,i]=t.useState(Vo()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Uo,{children:a.children})})}function Uo(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=Mo(),[r,g]=t.useState(!1);return z("ctrl+shift+f",()=>g(!0)),c(w,{children:[e,o(I,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(R,{title:"Feature Flags",children:o(Ao,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(T,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const qo=b`
2
2
  :root {
3
3
  --ac-global-dimension-scale-factor: 1;
4
4
  --ac-global-dimension-size-0: 0px;
@@ -1122,4 +1122,4 @@ import{r as t,j as o,ba as z,l as c,O as w,R as P,E as b,ck as k,d$ as S,e0 as F
1122
1122
  --px-corpus-color: #92969c;
1123
1123
  --px-corpus-color--transparent: #92969c63;
1124
1124
  }
1125
- `;function Xo(){const{theme:a="dark"}=_();return o(k,{styles:b(Jo,Bo,a==="dark"?$o:Ko,Ho(a),qo,Yo,Qo)})}const Zo=S(F(c(l,{path:"/",errorElement:o(To,{}),children:[o(l,{path:"/login",element:o(D,{})}),o(l,{path:"/reset-password",element:o(O,{}),loader:j}),o(l,{path:"/reset-password-with-token",element:o(G,{})}),o(l,{path:"/forgot-password",element:o(N,{})}),o(l,{element:o(Ro,{}),loader:V,children:c(l,{element:o(Eo,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(M,{})}),o(l,{index:!0,loader:W}),c(l,{path:"/model",handle:{crumb:()=>"model"},element:o($,{}),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: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(oo,{}),children:[o(l,{index:!0,element:o(K,{})}),c(l,{path:":projectId",element:o(Z,{}),loader:H,handle:{crumb:a=>a.project.name},children:[o(l,{index:!0,element:o(p,{})}),c(l,{element:o(p,{}),children:[o(l,{path:"traces/:traceId",element:o(Y,{})}),o(l,{path:"sessions/:sessionId",element:o(X,{}),loader:Q})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(lo,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(go,{}),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(co,{}),loader:ao,children:o(l,{path:":exampleId",element:o(ro,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:eo,element:o(bo,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(no,{})}),o(l,{path:"spans/:spanId",element:o(so,{}),loader:io,handle:{crumb:a=>a.span.__typename==="Span"?`span ${a.span.context.spanId}`:"span unknown"}})]}),c(l,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(l,{index:!0,element:o(mo,{}),loader:to}),c(l,{path:":promptId",loader:po,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(wo,{}),children:[o(l,{index:!0,element:o(uo,{})}),o(l,{path:"versions",loader:fo,element:o(ho,{}),children:o(l,{path:":versionId",loader:yo,element:o(vo,{})})}),o(l,{path:"config",element:o(zo,{}),loader:xo})]}),o(l,{path:"playground",element:o(ko,{}),loader:Po,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(So,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(Fo,{}),handle:{crumb:()=>"support"}}),o(l,{path:"/settings",element:o(Co,{}),loader:Lo,handle:{crumb:()=>"settings"}})]})})]})),{basename:window.Config.basename});function ol(){return o(L,{router:Zo})}function ll(){return o(Io,{children:o(Do,{children:o(al,{})})})}function al(){const{theme:a}=jo();return o(A,{theme:a,mountGlobalStyles:!1,children:c(C.RelayEnvironmentProvider,{environment:Oo,children:[o(Xo,{}),o(Wo,{children:o(Go,{children:o(_o,{children:o(t.Suspense,{children:o(No,{children:o(ol,{})})})})})})]})})}const rl=document.getElementById("root"),cl=E.createRoot(rl);cl.render(o(ll,{}));
1125
+ `;function Xo(){const{theme:a="dark"}=_();return o(k,{styles:b(Jo,Bo,a==="dark"?$o:Ko,Ho(a),qo,Yo,Qo)})}const Zo=S(F(c(l,{path:"/",errorElement:o(To,{}),children:[o(l,{path:"/login",element:o(D,{})}),o(l,{path:"/reset-password",element:o(O,{}),loader:j}),o(l,{path:"/reset-password-with-token",element:o(G,{})}),o(l,{path:"/forgot-password",element:o(N,{})}),o(l,{element:o(Ro,{}),loader:V,children:c(l,{element:o(Eo,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(M,{})}),o(l,{index:!0,loader:W}),c(l,{path:"/model",handle:{crumb:()=>"model"},element:o($,{}),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: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(oo,{}),children:[o(l,{index:!0,element:o(K,{})}),c(l,{path:":projectId",element:o(Z,{}),loader:H,handle:{crumb:a=>a.project.name},children:[o(l,{index:!0,element:o(p,{})}),c(l,{element:o(p,{}),children:[o(l,{path:"traces/:traceId",element:o(Y,{})}),o(l,{path:"sessions/:sessionId",element:o(X,{}),loader:Q})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(lo,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(go,{}),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(co,{}),loader:ao,children:o(l,{path:":exampleId",element:o(ro,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:eo,element:o(bo,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(no,{})}),o(l,{path:"spans/:spanId",element:o(so,{}),loader:io,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(mo,{}),loader:to}),c(l,{path:":promptId",loader:po,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(wo,{}),children:[o(l,{index:!0,element:o(uo,{})}),o(l,{path:"versions",loader:fo,element:o(ho,{}),children:o(l,{path:":versionId",loader:yo,element:o(vo,{})})}),o(l,{path:"config",element:o(zo,{}),loader:xo})]}),o(l,{path:"playground",element:o(ko,{}),loader:Po,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(So,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(Fo,{}),handle:{crumb:()=>"support"}}),o(l,{path:"/settings",element:o(Co,{}),loader:Lo,handle:{crumb:()=>"settings"}})]})})]})),{basename:window.Config.basename});function ol(){return o(L,{router:Zo})}function ll(){return o(Io,{children:o(Do,{children:o(al,{})})})}function al(){const{theme:a}=jo();return o(A,{theme:a,mountGlobalStyles:!1,children:c(C.RelayEnvironmentProvider,{environment:Oo,children:[o(Xo,{}),o(Wo,{children:o(Go,{children:o(_o,{children:o(t.Suspense,{children:o(No,{children:o(ol,{})})})})})})]})})}const rl=document.getElementById("root"),cl=E.createRoot(rl);cl.render(o(ll,{}));