arize-phoenix 11.32.1__py3-none-any.whl → 11.33.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 (54) hide show
  1. {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.33.0.dist-info}/METADATA +1 -1
  2. {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.33.0.dist-info}/RECORD +48 -41
  3. phoenix/inferences/inferences.py +1 -2
  4. phoenix/server/api/context.py +20 -0
  5. phoenix/server/api/dataloaders/__init__.py +20 -0
  6. phoenix/server/api/dataloaders/average_experiment_repeated_run_group_latency.py +50 -0
  7. phoenix/server/api/dataloaders/dataset_example_revisions.py +0 -1
  8. phoenix/server/api/dataloaders/dataset_examples_and_versions_by_experiment_run.py +47 -0
  9. phoenix/server/api/dataloaders/experiment_repeated_run_group_annotation_summaries.py +77 -0
  10. phoenix/server/api/dataloaders/experiment_repeated_run_groups.py +59 -0
  11. phoenix/server/api/dataloaders/experiment_repetition_counts.py +39 -0
  12. phoenix/server/api/dataloaders/span_cost_summary_by_experiment_repeated_run_group.py +64 -0
  13. phoenix/server/api/helpers/playground_clients.py +4 -0
  14. phoenix/server/api/mutations/prompt_label_mutations.py +67 -58
  15. phoenix/server/api/queries.py +52 -37
  16. phoenix/server/api/routers/v1/experiment_runs.py +1 -1
  17. phoenix/server/api/routers/v1/experiments.py +1 -1
  18. phoenix/server/api/types/DatasetExample.py +49 -1
  19. phoenix/server/api/types/Experiment.py +12 -2
  20. phoenix/server/api/types/ExperimentComparison.py +3 -9
  21. phoenix/server/api/types/ExperimentRepeatedRunGroup.py +146 -0
  22. phoenix/server/api/types/ExperimentRepeatedRunGroupAnnotationSummary.py +9 -0
  23. phoenix/server/api/types/ExperimentRun.py +12 -19
  24. phoenix/server/api/types/Prompt.py +11 -0
  25. phoenix/server/api/types/PromptLabel.py +2 -19
  26. phoenix/server/api/types/node.py +10 -0
  27. phoenix/server/app.py +22 -2
  28. phoenix/server/cost_tracking/model_cost_manifest.json +1 -1
  29. phoenix/server/static/.vite/manifest.json +43 -43
  30. phoenix/server/static/assets/components-YTHUASXI.js +5778 -0
  31. phoenix/server/static/assets/{index-D1FDMBMV.js → index-CugQp26L.js} +12 -21
  32. phoenix/server/static/assets/pages-4Qu8GNlt.js +9159 -0
  33. phoenix/server/static/assets/vendor-BGzfc4EU.css +1 -0
  34. phoenix/server/static/assets/vendor-CRRxHwSp.js +903 -0
  35. phoenix/server/static/assets/{vendor-arizeai-DsYDNOqt.js → vendor-arizeai-CUN6lRd9.js} +4 -4
  36. phoenix/server/static/assets/vendor-codemirror-sJXwoqrE.js +25 -0
  37. phoenix/server/static/assets/{vendor-recharts-BTHn5Y2R.js → vendor-recharts-BT_PeGhc.js} +2 -2
  38. phoenix/server/static/assets/{vendor-shiki-BAcocHFl.js → vendor-shiki-1F3op0QC.js} +1 -1
  39. phoenix/session/client.py +55 -1
  40. phoenix/session/data_extractor.py +5 -0
  41. phoenix/session/evaluation.py +8 -4
  42. phoenix/session/session.py +13 -0
  43. phoenix/trace/projects.py +1 -2
  44. phoenix/version.py +1 -1
  45. phoenix/server/static/assets/components-Cs9c4Nxp.js +0 -5698
  46. phoenix/server/static/assets/pages-Cbj9SjBx.js +0 -8928
  47. phoenix/server/static/assets/vendor-CqDb5u4o.css +0 -1
  48. phoenix/server/static/assets/vendor-RdRDaQiR.js +0 -905
  49. phoenix/server/static/assets/vendor-codemirror-BzJDUbEx.js +0 -25
  50. phoenix/utilities/deprecation.py +0 -31
  51. {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.33.0.dist-info}/WHEEL +0 -0
  52. {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.33.0.dist-info}/entry_points.txt +0 -0
  53. {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.33.0.dist-info}/licenses/IP_NOTICE +0 -0
  54. {arize_phoenix-11.32.1.dist-info → arize_phoenix-11.33.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
- import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as z,o as w,eH as P}from"./vendor-RdRDaQiR.js";import{r as k,s as S}from"./vendor-arizeai-DsYDNOqt.js";import{L,g as C,r as R,h as j,i as E,F as I,j as D,P as A,k as F,M as t,l as T,D as G,n as M,E as _,o as O,p as N,q as V,s as q,t as d,v as U,w as W,x as B,y as $,z as H,B as K,C as Y,G as J,H as Q,I as X,J as Z,K as oo,N as ao,O as lo,Q as ro,U as co,V as go,W as m,X as p,Y as eo,Z as bo,_ as no,$ as io,a0 as so,a1 as to,a2 as mo,a3 as po,a4 as uo,a5 as fo,a6 as ho,a7 as vo,a8 as yo,a9 as xo,aa as zo,ab as wo,ac as Po,ad as ko,ae as So,af as Lo,ag as Co,ah as Ro,ai as jo,aj as Eo,ak as Io,al as Do,am as Ao,an as Fo,ao as To,ap as Go,aq as Mo,ar as _o,as as Oo,at as No,au as Vo,av as qo,aw as Uo,ax as Wo,ay as n,az as Bo,aA as $o,aB as Ho,aC as Ko,aD as Yo,aE as Jo}from"./pages-Cbj9SjBx.js";import{fR as Qo,cY as Xo,U as Zo,fS as oa,fT as aa,fU as la}from"./components-Cs9c4Nxp.js";import"./vendor-three-BLWp5bic.js";import"./vendor-codemirror-BzJDUbEx.js";import"./vendor-shiki-BAcocHFl.js";import"./vendor-recharts-BTHn5Y2R.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"]'))s(c);new MutationObserver(c=>{for(const e of c)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 u(c){const e={};return c.integrity&&(e.integrity=c.integrity),c.referrerPolicy&&(e.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?e.credentials="include":c.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function s(c){if(c.ep)return;c.ep=!0;const e=u(c);fetch(c.href,e)}})();const ra=g`
1
+ import{U as g,j as o,d0 as f,eF as v,eG as h,eH as y,l as c,co as x,eI as a,r as z,o as w,eJ as P}from"./vendor-CRRxHwSp.js";import{r as k,s as S}from"./vendor-arizeai-CUN6lRd9.js";import{L,g as C,r as R,h as E,i as I,F as j,j as A,P as D,k as F,M as t,l as T,D as G,n as M,E as O,o as _,p as V,q as N,s as W,t as d,v as q,w as U,x as B,y as $,z as H,B as J,C as K,G as Q,H as X,I as Y,J as Z,K as m,N as p,O as oo,Q as ao,U as lo,V as ro,W as co,X as go,Y as eo,Z as bo,_ as no,$ as io,a0 as so,a1 as to,a2 as mo,a3 as po,a4 as uo,a5 as fo,a6 as vo,a7 as ho,a8 as yo,a9 as xo,aa as zo,ab as wo,ac as Po,ad as ko,ae as So,af as Lo,ag as Co,ah as Ro,ai as Eo,aj as Io,ak as jo,al as Ao,am as Do,an as Fo,ao as To,ap as Go,aq as Mo,ar as Oo,as as _o,at as Vo,au as n,av as No,aw as Wo,ax as qo,ay as Uo,az as Bo,aA as $o,aB as Ho}from"./pages-4Qu8GNlt.js";import{fU as Jo,cO as Ko,U as Qo,fV as Xo,fW as Yo}from"./components-YTHUASXI.js";import"./vendor-three-BLWp5bic.js";import"./vendor-codemirror-sJXwoqrE.js";import"./vendor-shiki-1F3op0QC.js";import"./vendor-recharts-BT_PeGhc.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 u(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=u(r);fetch(r.href,e)}})();const Zo=g`
2
2
  :root,
3
3
  .ac-theme {
4
4
  --ac-global-dimension-scale-factor: 1;
@@ -54,7 +54,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
54
54
  --ac-global-dimension-size-5000: 400px;
55
55
  --ac-global-dimension-size-6000: 480px;
56
56
  }
57
- `,ca=g`
57
+ `,oa=g`
58
58
  :root,
59
59
  .ac-theme {
60
60
  // static colors
@@ -71,7 +71,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
71
71
  --ac-global-button-height-s: var(--ac-global-input-height-s);
72
72
  --ac-global-button-height-m: var(--ac-global-input-height-m);
73
73
  }
74
- `,ga=g`
74
+ `,aa=g`
75
75
  :root,
76
76
  .ac-theme {
77
77
  --ac-global-dimension-static-size-0: 0px;
@@ -152,7 +152,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
152
152
  --ac-global-dimension-font-size-1200: 50px;
153
153
  --ac-global-dimension-font-size-1300: 60px;
154
154
  }
155
- `,ea=g`
155
+ `,la=g`
156
156
  :root,
157
157
  .ac-theme--dark {
158
158
  /* Colors */
@@ -666,7 +666,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
666
666
  --ac-floating-toolbar-background-color: var(--ac-global-color-grey-200);
667
667
  --ac-floating-toolbar-border-color: var(--ac-global-color-grey-300);
668
668
  }
669
- `,ba=g`
669
+ `,ra=g`
670
670
  :root,
671
671
  .ac-theme--light {
672
672
  /* Colors */
@@ -915,7 +915,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
915
915
  --ac-floating-toolbar-background-color: var(--ac-global-color-grey-75);
916
916
  --ac-floating-toolbar-border-color: var(--ac-global-color-grey-200);
917
917
  }
918
- `,na=l=>g`
918
+ `,ca=l=>g`
919
919
  :root,
920
920
  .ac-theme--${l} {
921
921
  // The primary color tint for the apps
@@ -1072,12 +1072,12 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
1072
1072
  --ac-alias-single-line-height: var(--ac-global-dimension-size-400);
1073
1073
  --ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
1074
1074
  }
1075
- `,ia=g`
1075
+ `,ga=g`
1076
1076
  :root,
1077
1077
  .ac-theme {
1078
1078
  --ac-opacity-disabled: 0.6;
1079
1079
  }
1080
- `,sa=g`
1080
+ `,ea=g`
1081
1081
  body,
1082
1082
  input,
1083
1083
  button,
@@ -1211,7 +1211,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
1211
1211
  --px-corpus-color: #92969c;
1212
1212
  --px-corpus-color--transparent: #92969c63;
1213
1213
  }
1214
- `,ta=g`
1214
+ `,ba=g`
1215
1215
  .ac-theme--light {
1216
1216
  .cm-editor {
1217
1217
  background-color: rgba(255, 255, 255, 0.5) !important;
@@ -1228,16 +1228,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
1228
1228
  background-color: rgba(0, 0, 0, 0.2) !important;
1229
1229
  }
1230
1230
  }
1231
- `,da=g`
1232
- .react-grid-item.react-grid-placeholder {
1233
- // the placeholder doesn't look good
1234
- background: var(--ac-global-color-blue-500);
1235
- opacity: 0.1;
1236
- }
1237
- .ac-theme--dark .react-resizable-handle {
1238
- filter: invert(1);
1239
- }
1240
- `,ma=g`
1231
+ `,na=g`
1241
1232
  .ac-theme {
1242
1233
  --chart-cartesian-grid-stroke-color: var(--ac-global-color-grey-300);
1243
1234
  --chart-axis-stroke-color: var(--ac-global-color-grey-300);
@@ -1251,7 +1242,7 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
1251
1242
  .ac-theme--light {
1252
1243
  --chart-tooltip-cursor-fill-color: rgba(0, 0, 0, 0.05);
1253
1244
  }
1254
- `,pa=g`
1245
+ `,ia=g`
1255
1246
  .font-default {
1256
1247
  font-family: "Geist", sans-serif;
1257
1248
  font-optical-sizing: auto;
@@ -1261,4 +1252,4 @@ import{U as g,j as o,c_ as f,eD as h,eE as v,eF as y,l as r,cl as x,eG as a,r as
1261
1252
  font-family: "Geist Mono", monospace;
1262
1253
  font-optical-sizing: auto;
1263
1254
  }
1264
- `;function ua(){const{theme:l="dark"}=k();return o(f,{styles:g(ga,ca,l==="dark"?ea:ba,na(l),ra,ia,sa,ta,da,ma,pa)})}const fa=h(v(r(a,{path:"/",errorElement:o(n,{}),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(j,{}),loader:R}),o(a,{path:"/reset-password-with-token",element:o(E,{})}),o(a,{path:"/forgot-password",element:o(I,{})}),o(a,{element:o(Ko,{}),loader:D,children:r(a,{element:o(Ho,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(A,{})}),o(a,{index:!0,loader:F}),r(a,{path:"/model",handle:{crumb:()=>"model"},element:o(O,{}),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(G,{}),loader:T})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(_,{}),loader:M,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(Q,{}),children:[o(a,{index:!0,element:o(q,{})}),r(a,{element:o(J,{}),children:[o(a,{path:"traces",element:o(U,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o(W,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o(H,{}),children:o(a,{path:":sessionId",element:o($,{}),loader:B})}),o(a,{path:"config",element:o(K,{})}),o(a,{path:"metrics",element:o(Y,{})})]})]})]}),r(a,{path:"/dashboards",handle:{crumb:()=>"Dashboards"},element:o(co,{}),children:[o(a,{index:!0,element:o(oo,{}),loader:Z}),o(a,{path:"projects/:projectId",element:o(lo,{}),loader:ao,handle:{crumb:l=>l.project.name}}),o(a,{path:":dashboardId",handle:{crumb:()=>"dashboard"},element:o(ro,{})})]}),r(a,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(a,{index:!0,element:o(go,{})}),r(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[r(a,{element:o(to,{}),loader:m,children:[o(a,{index:!0,element:o(p,{})}),o(a,{path:"experiments",element:o(p,{})}),o(a,{path:"examples",element:o(no,{}),loader:eo,children:o(a,{path:":exampleId",element:o(bo,{})})}),o(a,{path:"versions",element:o(so,{}),loader:io})]}),o(a,{path:"compare",element:o(po,{}),loader:mo,handle:{crumb:()=>"compare"}})]})]}),r(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(a,{index:!0,element:o(uo,{})}),o(a,{path:"spans/:spanId",element:o(ho,{}),loader:fo,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(yo,{}),loader:vo}),r(a,{path:":promptId",loader:xo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[r(a,{element:o(Ro,{}),children:[o(a,{index:!0,element:o(zo,{})}),o(a,{path:"versions",loader:wo,element:o(So,{}),children:o(a,{path:":versionId",loader:Po,element:o(ko,{})})}),o(a,{path:"config",element:o(Co,{}),loader:Lo})]}),o(a,{path:"playground",element:o(Eo,{}),loader:jo,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(Io,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Do,{}),handle:{crumb:()=>"Support"}}),r(a,{path:"/settings",element:o(Uo,{}),handle:{crumb:()=>"Settings"},children:[o(a,{path:"general",loader:Ao,element:o(Fo,{}),handle:{crumb:()=>"General"}}),o(a,{path:"providers",loader:To,element:o(Go,{}),handle:{crumb:()=>"AI Providers"}}),o(a,{path:"models",loader:Mo,element:o(_o,{}),handle:{crumb:()=>"Models"}}),o(a,{path:"annotations",loader:Oo,element:o(No,{}),handle:{crumb:()=>"Annotations"}}),o(a,{path:"data",element:o(qo,{}),handle:{crumb:()=>"Data Retention"},loader:Vo})]}),o(a,{path:"/redirects/spans/:span_otel_id",loader:Wo,errorElement:o(n,{})}),o(a,{path:"/redirects/traces/:trace_otel_id",loader:Bo,errorElement:o(n,{})}),o(a,{path:"/redirects/sessions/:session_id",loader:$o,errorElement:o(n,{})})]})})]})),{basename:window.Config.basename});function ha(){return o(y,{router:fa})}function va(){return o(Yo,{children:o(Qo,{children:o(ya,{})})})}function ya(){const{theme:l}=Xo();return o(S,{theme:l,mountGlobalStyles:!1,children:r(w.RelayEnvironmentProvider,{environment:Zo,children:[o(ua,{}),o(oa,{children:o(aa,{children:o(Jo,{children:o(z.Suspense,{children:o(la,{children:o(ha,{})})})})})})]})})}const xa=document.getElementById("root"),za=P.createRoot(xa);za.render(o(va,{}));
1255
+ `;function sa(){const{theme:l="dark"}=k();return o(f,{styles:g(aa,oa,l==="dark"?la:ra,ca(l),Zo,ga,ea,ba,na,ia)})}const ta=v(h(c(a,{path:"/",errorElement:o(n,{}),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(E,{}),loader:R}),o(a,{path:"/reset-password-with-token",element:o(I,{})}),o(a,{path:"/forgot-password",element:o(j,{})}),o(a,{element:o(Uo,{}),loader:A,children:c(a,{element:o(qo,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(D,{})}),o(a,{index:!0,loader:F}),c(a,{path:"/model",handle:{crumb:()=>"model"},element:o(_,{}),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(G,{}),loader:T})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(O,{}),loader:M,handle:{crumb:l=>l.embedding.name}})})]}),c(a,{path:"/projects",handle:{crumb:()=>"Projects"},element:o(Y,{}),children:[o(a,{index:!0,element:o(V,{})}),c(a,{path:":projectId",loader:N,handle:{crumb:l=>l.project.name},element:o(X,{}),children:[o(a,{index:!0,element:o(W,{})}),c(a,{element:o(Q,{}),children:[o(a,{path:"traces",element:o(q,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o(U,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o(H,{}),children:o(a,{path:":sessionId",element:o($,{}),loader:B})}),o(a,{path:"config",element:o(J,{})}),o(a,{path:"metrics",element:o(K,{})})]})]})]}),c(a,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(a,{index:!0,element:o(Z,{})}),c(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[c(a,{element:o(eo,{}),loader:m,children:[o(a,{index:!0,element:o(p,{})}),o(a,{path:"experiments",element:o(p,{})}),o(a,{path:"examples",element:o(lo,{}),loader:oo,children:o(a,{path:":exampleId",element:o(ao,{})})}),o(a,{path:"versions",element:o(co,{}),loader:ro}),o(a,{path:"evaluators",element:o(go,{})})]}),o(a,{path:"compare",element:o(no,{}),loader:bo,handle:{crumb:()=>"compare"}})]})]}),c(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(a,{index:!0,element:o(io,{})}),o(a,{path:"spans/:spanId",element:o(to,{}),loader:so,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(po,{}),loader:mo}),c(a,{path:":promptId",loader:uo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[c(a,{element:o(Po,{}),children:[o(a,{index:!0,element:o(fo,{})}),o(a,{path:"versions",loader:vo,element:o(xo,{}),children:o(a,{path:":versionId",loader:ho,element:o(yo,{})})}),o(a,{path:"config",element:o(wo,{}),loader:zo})]}),o(a,{path:"playground",element:o(So,{}),loader:ko,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(Lo,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Co,{}),handle:{crumb:()=>"Support"}}),c(a,{path:"/settings",element:o(_o,{}),handle:{crumb:()=>"Settings"},children:[o(a,{path:"general",loader:Ro,element:o(Eo,{}),handle:{crumb:()=>"General"}}),o(a,{path:"providers",loader:Io,element:o(jo,{}),handle:{crumb:()=>"AI Providers"}}),o(a,{path:"models",loader:Ao,element:o(Do,{}),handle:{crumb:()=>"Models"}}),o(a,{path:"annotations",loader:Fo,element:o(To,{}),handle:{crumb:()=>"Annotations"}}),o(a,{path:"data",element:o(Mo,{}),handle:{crumb:()=>"Data Retention"},loader:Go}),o(a,{path:"prompts",element:o(Oo,{}),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(y,{router:ta})}function ma(){return o(Bo,{children:o(Jo,{children:o(pa,{})})})}function pa(){const{theme:l}=Ko();return o(S,{theme:l,mountGlobalStyles:!1,children:c(w.RelayEnvironmentProvider,{environment:Qo,children:[o(sa,{}),o($o,{children:o(Xo,{children:o(Ho,{children:o(z.Suspense,{children:o(Yo,{children:o(da,{})})})})})})]})})}const ua=document.getElementById("root"),fa=P.createRoot(ua);fa.render(o(ma,{}));