arize-phoenix 12.7.1__py3-none-any.whl → 12.9.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 (76) hide show
  1. {arize_phoenix-12.7.1.dist-info → arize_phoenix-12.9.0.dist-info}/METADATA +3 -1
  2. {arize_phoenix-12.7.1.dist-info → arize_phoenix-12.9.0.dist-info}/RECORD +76 -73
  3. phoenix/config.py +131 -9
  4. phoenix/db/engines.py +127 -14
  5. phoenix/db/iam_auth.py +64 -0
  6. phoenix/db/pg_config.py +10 -0
  7. phoenix/server/api/context.py +23 -0
  8. phoenix/server/api/dataloaders/__init__.py +6 -0
  9. phoenix/server/api/dataloaders/experiment_repeated_run_groups.py +0 -2
  10. phoenix/server/api/dataloaders/experiment_runs_by_experiment_and_example.py +44 -0
  11. phoenix/server/api/dataloaders/span_costs.py +3 -9
  12. phoenix/server/api/dataloaders/token_prices_by_model.py +30 -0
  13. phoenix/server/api/helpers/playground_clients.py +3 -3
  14. phoenix/server/api/input_types/PromptVersionInput.py +47 -1
  15. phoenix/server/api/mutations/annotation_config_mutations.py +2 -2
  16. phoenix/server/api/mutations/api_key_mutations.py +2 -15
  17. phoenix/server/api/mutations/chat_mutations.py +3 -2
  18. phoenix/server/api/mutations/dataset_label_mutations.py +109 -157
  19. phoenix/server/api/mutations/dataset_mutations.py +8 -8
  20. phoenix/server/api/mutations/dataset_split_mutations.py +13 -9
  21. phoenix/server/api/mutations/model_mutations.py +4 -4
  22. phoenix/server/api/mutations/project_session_annotations_mutations.py +4 -7
  23. phoenix/server/api/mutations/prompt_label_mutations.py +3 -3
  24. phoenix/server/api/mutations/prompt_mutations.py +24 -117
  25. phoenix/server/api/mutations/prompt_version_tag_mutations.py +8 -5
  26. phoenix/server/api/mutations/span_annotations_mutations.py +10 -5
  27. phoenix/server/api/mutations/trace_annotations_mutations.py +9 -4
  28. phoenix/server/api/mutations/user_mutations.py +4 -4
  29. phoenix/server/api/queries.py +80 -213
  30. phoenix/server/api/subscriptions.py +4 -4
  31. phoenix/server/api/types/Annotation.py +90 -23
  32. phoenix/server/api/types/ApiKey.py +13 -17
  33. phoenix/server/api/types/Dataset.py +88 -48
  34. phoenix/server/api/types/DatasetExample.py +34 -30
  35. phoenix/server/api/types/DatasetLabel.py +47 -13
  36. phoenix/server/api/types/DatasetSplit.py +87 -21
  37. phoenix/server/api/types/DatasetVersion.py +49 -4
  38. phoenix/server/api/types/DocumentAnnotation.py +182 -62
  39. phoenix/server/api/types/Experiment.py +146 -55
  40. phoenix/server/api/types/ExperimentRepeatedRunGroup.py +10 -1
  41. phoenix/server/api/types/ExperimentRun.py +118 -61
  42. phoenix/server/api/types/ExperimentRunAnnotation.py +158 -39
  43. phoenix/server/api/types/GenerativeModel.py +95 -42
  44. phoenix/server/api/types/ModelInterface.py +7 -2
  45. phoenix/server/api/types/PlaygroundModel.py +12 -2
  46. phoenix/server/api/types/Project.py +70 -75
  47. phoenix/server/api/types/ProjectSession.py +69 -37
  48. phoenix/server/api/types/ProjectSessionAnnotation.py +166 -47
  49. phoenix/server/api/types/ProjectTraceRetentionPolicy.py +1 -1
  50. phoenix/server/api/types/Prompt.py +82 -44
  51. phoenix/server/api/types/PromptLabel.py +47 -13
  52. phoenix/server/api/types/PromptVersion.py +11 -8
  53. phoenix/server/api/types/PromptVersionTag.py +65 -25
  54. phoenix/server/api/types/Span.py +116 -115
  55. phoenix/server/api/types/SpanAnnotation.py +189 -42
  56. phoenix/server/api/types/SystemApiKey.py +65 -1
  57. phoenix/server/api/types/Trace.py +45 -44
  58. phoenix/server/api/types/TraceAnnotation.py +144 -48
  59. phoenix/server/api/types/User.py +103 -33
  60. phoenix/server/api/types/UserApiKey.py +73 -26
  61. phoenix/server/app.py +29 -0
  62. phoenix/server/cost_tracking/model_cost_manifest.json +2 -2
  63. phoenix/server/static/.vite/manifest.json +43 -43
  64. phoenix/server/static/assets/{components-BLK5vehh.js → components-v927s3NF.js} +471 -484
  65. phoenix/server/static/assets/{index-BP0Shd90.js → index-DrD9eSrN.js} +20 -16
  66. phoenix/server/static/assets/{pages-DIVgyYyy.js → pages-GVybXa_W.js} +754 -753
  67. phoenix/server/static/assets/{vendor-3BvTzoBp.js → vendor-D-csRHGZ.js} +1 -1
  68. phoenix/server/static/assets/{vendor-arizeai-C6_oC0y8.js → vendor-arizeai-BJLCG_Gc.js} +1 -1
  69. phoenix/server/static/assets/{vendor-codemirror-DPnZGAZA.js → vendor-codemirror-Cr963DyP.js} +3 -3
  70. phoenix/server/static/assets/{vendor-recharts-CjgSbsB0.js → vendor-recharts-DgmPLgIp.js} +1 -1
  71. phoenix/server/static/assets/{vendor-shiki-CJyhDG0E.js → vendor-shiki-wYOt1s7u.js} +1 -1
  72. phoenix/version.py +1 -1
  73. {arize_phoenix-12.7.1.dist-info → arize_phoenix-12.9.0.dist-info}/WHEEL +0 -0
  74. {arize_phoenix-12.7.1.dist-info → arize_phoenix-12.9.0.dist-info}/entry_points.txt +0 -0
  75. {arize_phoenix-12.7.1.dist-info → arize_phoenix-12.9.0.dist-info}/licenses/IP_NOTICE +0 -0
  76. {arize_phoenix-12.7.1.dist-info → arize_phoenix-12.9.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
- import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as k,o as S,ej as L}from"./vendor-3BvTzoBp.js";import{u as C,P as R}from"./vendor-arizeai-C6_oC0y8.js";import{L as E,h as I,r as j,i as A,j as D,F,k as T,P as M,l as G,M as t,n as _,D as O,o as V,E as N,p as W,q,s as B,t as U,v as d,w as $,x as J,y as K,z as H,B as Q,C as X,G as Y,H as Z,I as oo,J as ao,K as lo,N as m,O as p,Q as ro,U as co,V as go,W as eo,X as bo,Y as no,Z as io,_ as so,$ as to,a0 as mo,a1 as po,a2 as uo,a3 as fo,a4 as vo,a5 as ho,a6 as yo,a7 as u,a8 as xo,a9 as zo,aa as wo,ab as Po,ac as ko,ad as f,ae as v,af as So,ag as Lo,ah as Co,ai as Ro,aj as Eo,ak as Io,al as jo,am as Ao,an as Do,ao as Fo,ap as To,aq as Mo,ar as Go,as as _o,at as Oo,au as Vo,av as n,aw as No,ax as Wo,ay as qo,az as Bo,aA as Uo,aB as $o,aC as Jo,aD as Ko}from"./pages-DIVgyYyy.js";import{g9 as Ho,d1 as Qo,W as Xo,ga as Yo}from"./components-BLK5vehh.js";import"./vendor-three-BtCyLs1w.js";import"./vendor-codemirror-DPnZGAZA.js";import"./vendor-shiki-CJyhDG0E.js";import"./vendor-recharts-CjgSbsB0.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 h(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=h(r);fetch(r.href,e)}})();const Zo=g`
1
+ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as k,o as S,ej as L}from"./vendor-D-csRHGZ.js";import{u as R,P as C}from"./vendor-arizeai-BJLCG_Gc.js";import{L as E,h as I,r as j,i as A,j as D,F,k as T,P as M,l as G,M as t,n as _,D as O,o as V,E as N,p as q,q as W,s as B,t as U,v as d,w as $,x as J,y as K,z as H,B as Q,C as X,G as Y,H as Z,I as oo,J as ao,K as lo,N as m,O as p,Q as ro,U as co,V as go,W as eo,X as bo,Y as no,Z as io,_ as so,$ as to,a0 as mo,a1 as po,a2 as uo,a3 as fo,a4 as vo,a5 as ho,a6 as yo,a7 as u,a8 as xo,a9 as zo,aa as wo,ab as Po,ac as ko,ad as f,ae as v,af as So,ag as Lo,ah as Ro,ai as Co,aj as Eo,ak as Io,al as jo,am as Ao,an as Do,ao as Fo,ap as To,aq as Mo,ar as Go,as as _o,at as Oo,au as Vo,av as No,aw as n,ax as qo,ay as Wo,az as Bo,aA as Uo,aB as $o,aC as Jo,aD as Ko,aE as Ho}from"./pages-GVybXa_W.js";import{gc as Qo,d9 as Xo,R as Yo,gd as Zo}from"./components-v927s3NF.js";import"./vendor-three-BtCyLs1w.js";import"./vendor-codemirror-Cr963DyP.js";import"./vendor-shiki-wYOt1s7u.js";import"./vendor-recharts-DgmPLgIp.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 h(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=h(r);fetch(r.href,e)}})();const oa=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,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
54
54
  --ac-global-dimension-size-5000: 400px;
55
55
  --ac-global-dimension-size-6000: 480px;
56
56
  }
57
- `,oa=g`
57
+ `,aa=g`
58
58
  :root,
59
59
  .ac-theme {
60
60
  // static colors
@@ -71,7 +71,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei 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
- `,aa=g`
74
+ `,la=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,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei 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
- `,la=g`
155
+ `,ra=g`
156
156
  :root,
157
157
  .ac-theme--dark {
158
158
  /* Colors */
@@ -666,7 +666,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei 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
- `,ra=g`
669
+ `,ca=g`
670
670
  :root,
671
671
  .ac-theme--light {
672
672
  /* Colors */
@@ -915,7 +915,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei 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
- `,ca=l=>g`
918
+ `,ga=l=>g`
919
919
  :root,
920
920
  .ac-theme--${l} {
921
921
  // The primary color tint for the apps
@@ -989,8 +989,8 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
989
989
  );
990
990
 
991
991
  // Styles for menus
992
- --ac-global-menu-border-color: var(--ac-global-color-grey-400);
993
- --ac-global-menu-background-color: var(--ac-global-color-grey-200);
992
+ --ac-global-menu-border-color: var(--ac-global-color-grey-300);
993
+ --ac-global-menu-background-color: var(--ac-global-color-grey-50);
994
994
  --ac-global-menu-item-background-color-hover: var(
995
995
  --ac-global-color-grey-300
996
996
  );
@@ -1045,6 +1045,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
1045
1045
  --ac-global-card-header-height: 46px;
1046
1046
 
1047
1047
  // Style for popovers
1048
+ --ac-global-popover-border-color: var(--ac-global-color-grey-300);
1048
1049
  --ac-global-popover-background-color: var(--ac-global-color-grey-50);
1049
1050
 
1050
1051
  --ac-global-rounding-xsmall: var(--ac-global-dimension-static-size-25);
@@ -1082,12 +1083,12 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
1082
1083
  --ac-alias-single-line-height: var(--ac-global-dimension-size-400);
1083
1084
  --ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
1084
1085
  }
1085
- `,ga=g`
1086
+ `,ea=g`
1086
1087
  :root,
1087
1088
  .ac-theme {
1088
1089
  --ac-opacity-disabled: 0.6;
1089
1090
  }
1090
- `,ea=g`
1091
+ `,ba=g`
1091
1092
  body,
1092
1093
  input,
1093
1094
  button,
@@ -1161,7 +1162,8 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
1161
1162
  --px-section-background-color: #2f353d;
1162
1163
 
1163
1164
  /** The color of shadows on menus etc. */
1164
- --px-overlay-shadow-color: rgba(0, 0, 0, 0.4);
1165
+ --px-overlay-shadow-color: rgba(0, 0, 0, 0.1);
1166
+ --px-overlay-box-shadow: 0px 8px 16px var(--px-overlay-shadow-color);
1165
1167
 
1166
1168
  /* An item is a typically something in a list */
1167
1169
  --px-item-background-color: #1d2126;
@@ -1194,7 +1196,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
1194
1196
  --ac-global-line-height-xxl: 48px;
1195
1197
 
1196
1198
  /* Fields */
1197
- --ac-global-input-field-min-width: 200px;
1199
+ --ac-global-input-field-min-width: 100px;
1198
1200
 
1199
1201
  /* Modal */
1200
1202
  --ac-global-modal-width-S: 500px;
@@ -1212,6 +1214,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
1212
1214
  --px-reference-color--transparent: #baa1f982;
1213
1215
  --px-corpus-color: #92969c;
1214
1216
  --px-corpus-color--transparent: #92969c63;
1217
+ --px-overlay-shadow-color: rgba(0, 0, 0, 0.6);
1215
1218
  }
1216
1219
  .ac-theme--light {
1217
1220
  --px-primary-color: #00add0;
@@ -1220,8 +1223,9 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
1220
1223
  --px-reference-color--transparent: rgba(69, 0, 217, 0.2);
1221
1224
  --px-corpus-color: #92969c;
1222
1225
  --px-corpus-color--transparent: #92969c63;
1226
+ --px-overlay-shadow-color: rgba(0, 0, 0, 0.1);
1223
1227
  }
1224
- `,ba=g`
1228
+ `,na=g`
1225
1229
  .ac-theme--light {
1226
1230
  .cm-editor {
1227
1231
  background-color: rgba(255, 255, 255, 0.5) !important;
@@ -1238,7 +1242,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
1238
1242
  background-color: rgba(0, 0, 0, 0.2) !important;
1239
1243
  }
1240
1244
  }
1241
- `,na=g`
1245
+ `,ia=g`
1242
1246
  .ac-theme {
1243
1247
  --chart-cartesian-grid-stroke-color: var(--ac-global-color-grey-300);
1244
1248
  --chart-axis-stroke-color: var(--ac-global-color-grey-300);
@@ -1252,7 +1256,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
1252
1256
  .ac-theme--light {
1253
1257
  --chart-tooltip-cursor-fill-color: rgba(0, 0, 0, 0.05);
1254
1258
  }
1255
- `,ia=g`
1259
+ `,sa=g`
1256
1260
  .font-default {
1257
1261
  font-family: "Geist", sans-serif;
1258
1262
  font-optical-sizing: auto;
@@ -1262,4 +1266,4 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
1262
1266
  font-family: "Geist Mono", monospace;
1263
1267
  font-optical-sizing: auto;
1264
1268
  }
1265
- `;function sa(){const{theme:l="dark"}=C();return o(y,{styles:g(aa,oa,l==="dark"?la:ra,ca(l),Zo,ga,ea,ba,na,ia)})}const ta=x(z(c(a,{path:"/",errorElement:o(n,{}),element:o(Uo,{}),children:[o(a,{path:"/v1/*",element:o(P,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(E,{})}),o(a,{path:"/logout",element:o(I,{})}),o(a,{path:"/reset-password",element:o(A,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(D,{})}),o(a,{path:"/forgot-password",element:o(F,{})}),o(a,{element:o(Bo,{}),loader:T,children:c(a,{element:o(qo,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(M,{})}),o(a,{index:!0,loader:G}),c(a,{path:"/model",handle:{crumb:()=>"model"},element:o(W,{}),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(O,{}),loader:_})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(N,{}),loader:V,handle:{crumb:l=>l.embedding.name}})})]}),c(a,{path:"/projects",handle:{crumb:()=>"Projects"},element:o(ao,{}),children:[o(a,{index:!0,element:o(q,{})}),c(a,{path:":projectId",loader:B,handle:{crumb:l=>l.project.name},element:o(oo,{}),children:[o(a,{index:!0,element:o(U,{})}),c(a,{element:o(Z,{}),children:[o(a,{path:"traces",element:o($,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o(J,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o(Q,{}),children:o(a,{path:":sessionId",element:o(H,{}),loader:K})}),o(a,{path:"config",element:o(X,{})}),o(a,{path:"metrics",element:o(Y,{})})]})]})]}),c(a,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(a,{index:!0,element:o(lo,{})}),c(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[c(a,{element:o(io,{}),loader:m,children:[o(a,{index:!0,element:o(p,{})}),o(a,{path:"experiments",element:o(p,{})}),o(a,{path:"examples",element:o(go,{}),loader:ro,children:o(a,{path:":exampleId",element:o(co,{})})}),o(a,{path:"versions",element:o(bo,{}),loader:eo}),o(a,{path:"evaluators",element:o(no,{})})]}),o(a,{path:"compare",element:o(so,{}),handle:{crumb:()=>"compare"}})]})]}),c(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"}})]}),c(a,{path:"/prompts",handle:{crumb:()=>"Prompts"},children:[o(a,{index:!0,element:o(fo,{}),loader:uo}),c(a,{path:":promptId",loader:vo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[c(a,{element:o(ko,{}),children:[o(a,{index:!0,element:o(ho,{})}),o(a,{path:"versions",loader:yo,element:o(zo,{}),children:o(a,{path:":versionId",loader:u,element:o(xo,{})})}),o(a,{path:"config",element:o(Po,{}),loader:wo})]}),o(a,{path:"versions/:versionId",loader:u,handle:{crumb:l=>l==null?void 0:l.promptVersion.id},children:o(a,{path:"playground",element:o(v,{}),loader:f,handle:{crumb:()=>"playground"}})}),o(a,{path:"playground",element:o(v,{}),loader:f,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(So,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Lo,{}),handle:{crumb:()=>"Support"}}),c(a,{path:"/settings",element:o(Oo,{}),handle:{crumb:()=>"Settings"},children:[o(a,{path:"general",loader:Co,element:o(Ro,{}),handle:{crumb:()=>"General"}}),o(a,{path:"providers",loader:Eo,element:o(Io,{}),handle:{crumb:()=>"AI Providers"}}),o(a,{path:"models",loader:jo,element:o(Ao,{}),handle:{crumb:()=>"Models"}}),o(a,{path:"datasets",element:o(Do,{}),handle:{crumb:()=>"Datasets"}}),o(a,{path:"annotations",loader:Fo,element:o(To,{}),handle:{crumb:()=>"Annotations"}}),o(a,{path:"data",element:o(Go,{}),handle:{crumb:()=>"Data Retention"},loader:Mo}),o(a,{path:"prompts",element:o(_o,{}),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(w,{router:ta})}function ma(){return o($o,{children:o(Ho,{children:o(pa,{})})})}function pa(){const{theme:l}=Qo();return o(R,{theme:l,mountGlobalStyles:!1,children:c(S.RelayEnvironmentProvider,{environment:Xo,children:[o(sa,{}),o(Jo,{children:o(Yo,{children:o(Ko,{children:o(k.Suspense,{children:o(da,{})})})})})]})})}const ua=document.getElementById("root"),fa=L.createRoot(ua);fa.render(o(ma,{}));
1269
+ `;function ta(){const{theme:l="dark"}=R();return o(y,{styles:g(la,aa,l==="dark"?ra:ca,ga(l),oa,ea,ba,na,ia,sa)})}const da=x(z(c(a,{path:"/",errorElement:o(n,{}),element:o($o,{}),children:[o(a,{path:"/v1/*",element:o(P,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(E,{})}),o(a,{path:"/logout",element:o(I,{})}),o(a,{path:"/reset-password",element:o(A,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(D,{})}),o(a,{path:"/forgot-password",element:o(F,{})}),o(a,{element:o(Uo,{}),loader:T,children:c(a,{element:o(Bo,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(M,{})}),o(a,{index:!0,loader:G}),c(a,{path:"/model",handle:{crumb:()=>"model"},element:o(q,{}),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(O,{}),loader:_})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(N,{}),loader:V,handle:{crumb:l=>l.embedding.name}})})]}),c(a,{path:"/projects",handle:{crumb:()=>"Projects"},element:o(ao,{}),children:[o(a,{index:!0,element:o(W,{})}),c(a,{path:":projectId",loader:B,handle:{crumb:l=>l.project.name},element:o(oo,{}),children:[o(a,{index:!0,element:o(U,{})}),c(a,{element:o(Z,{}),children:[o(a,{path:"traces",element:o($,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o(J,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o(Q,{}),children:o(a,{path:":sessionId",element:o(H,{}),loader:K})}),o(a,{path:"config",element:o(X,{})}),o(a,{path:"metrics",element:o(Y,{})})]})]})]}),c(a,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(a,{index:!0,element:o(lo,{})}),c(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[c(a,{element:o(io,{}),loader:m,children:[o(a,{index:!0,element:o(p,{})}),o(a,{path:"experiments",element:o(p,{})}),o(a,{path:"examples",element:o(go,{}),loader:ro,children:o(a,{path:":exampleId",element:o(co,{})})}),o(a,{path:"versions",element:o(bo,{}),loader:eo}),o(a,{path:"evaluators",element:o(no,{})})]}),o(a,{path:"compare",element:o(so,{}),handle:{crumb:()=>"compare"}})]})]}),c(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"}})]}),c(a,{path:"/prompts",handle:{crumb:()=>"Prompts"},children:[o(a,{index:!0,element:o(fo,{}),loader:uo}),c(a,{path:":promptId",loader:vo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[c(a,{element:o(ko,{}),children:[o(a,{index:!0,element:o(ho,{})}),o(a,{path:"versions",loader:yo,element:o(zo,{}),children:o(a,{path:":versionId",loader:u,element:o(xo,{})})}),o(a,{path:"config",element:o(Po,{}),loader:wo})]}),o(a,{path:"versions/:versionId",loader:u,handle:{crumb:l=>l==null?void 0:l.promptVersion.id},children:o(a,{path:"playground",element:o(v,{}),loader:f,handle:{crumb:()=>"playground"}})}),o(a,{path:"playground",element:o(v,{}),loader:f,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(So,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Lo,{}),handle:{crumb:()=>"Support"}}),c(a,{path:"/settings",element:o(Vo,{}),handle:{crumb:()=>"Settings"},children:[o(a,{path:"general",loader:Ro,element:o(Co,{}),handle:{crumb:()=>"General"}}),o(a,{path:"providers",loader:Eo,element:o(Io,{}),handle:{crumb:()=>"AI Providers"}}),o(a,{path:"models",loader:jo,element:o(Ao,{}),handle:{crumb:()=>"Models"}}),o(a,{path:"datasets",element:o(Do,{}),handle:{crumb:()=>"Datasets"}}),o(a,{path:"annotations",loader:Fo,element:o(To,{}),handle:{crumb:()=>"Annotations"}}),o(a,{path:"data",element:o(Go,{}),handle:{crumb:()=>"Data Retention"},loader:Mo}),o(a,{path:"prompts",element:o(Oo,{}),loader:_o,handle:{crumb:()=>"Prompts"}})]}),o(a,{path:"/redirects/spans/:span_otel_id",loader:No,errorElement:o(n,{})}),o(a,{path:"/redirects/traces/:trace_otel_id",loader:qo,errorElement:o(n,{})}),o(a,{path:"/redirects/sessions/:session_id",loader:Wo,errorElement:o(n,{})})]})})]})),{basename:window.Config.basename});function ma(){return o(w,{router:da})}function pa(){return o(Jo,{children:o(Qo,{children:o(ua,{})})})}function ua(){const{theme:l}=Xo();return o(C,{theme:l,mountGlobalStyles:!1,children:c(S.RelayEnvironmentProvider,{environment:Yo,children:[o(ta,{}),o(Ko,{children:o(Zo,{children:o(Ho,{children:o(k.Suspense,{children:o(ma,{})})})})})]})})}const fa=document.getElementById("root"),va=L.createRoot(fa);va.render(o(pa,{}));