arize-phoenix 10.0.4__py3-none-any.whl → 12.28.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.
Files changed (276) hide show
  1. {arize_phoenix-10.0.4.dist-info → arize_phoenix-12.28.1.dist-info}/METADATA +124 -72
  2. arize_phoenix-12.28.1.dist-info/RECORD +499 -0
  3. {arize_phoenix-10.0.4.dist-info → arize_phoenix-12.28.1.dist-info}/WHEEL +1 -1
  4. {arize_phoenix-10.0.4.dist-info → arize_phoenix-12.28.1.dist-info}/licenses/IP_NOTICE +1 -1
  5. phoenix/__generated__/__init__.py +0 -0
  6. phoenix/__generated__/classification_evaluator_configs/__init__.py +20 -0
  7. phoenix/__generated__/classification_evaluator_configs/_document_relevance_classification_evaluator_config.py +17 -0
  8. phoenix/__generated__/classification_evaluator_configs/_hallucination_classification_evaluator_config.py +17 -0
  9. phoenix/__generated__/classification_evaluator_configs/_models.py +18 -0
  10. phoenix/__generated__/classification_evaluator_configs/_tool_selection_classification_evaluator_config.py +17 -0
  11. phoenix/__init__.py +5 -4
  12. phoenix/auth.py +39 -2
  13. phoenix/config.py +1763 -91
  14. phoenix/datetime_utils.py +120 -2
  15. phoenix/db/README.md +595 -25
  16. phoenix/db/bulk_inserter.py +145 -103
  17. phoenix/db/engines.py +140 -33
  18. phoenix/db/enums.py +3 -12
  19. phoenix/db/facilitator.py +302 -35
  20. phoenix/db/helpers.py +1000 -65
  21. phoenix/db/iam_auth.py +64 -0
  22. phoenix/db/insertion/dataset.py +135 -2
  23. phoenix/db/insertion/document_annotation.py +9 -6
  24. phoenix/db/insertion/evaluation.py +2 -3
  25. phoenix/db/insertion/helpers.py +17 -2
  26. phoenix/db/insertion/session_annotation.py +176 -0
  27. phoenix/db/insertion/span.py +15 -11
  28. phoenix/db/insertion/span_annotation.py +3 -4
  29. phoenix/db/insertion/trace_annotation.py +3 -4
  30. phoenix/db/insertion/types.py +50 -20
  31. phoenix/db/migrations/versions/01a8342c9cdf_add_user_id_on_datasets.py +40 -0
  32. phoenix/db/migrations/versions/0df286449799_add_session_annotations_table.py +105 -0
  33. phoenix/db/migrations/versions/272b66ff50f8_drop_single_indices.py +119 -0
  34. phoenix/db/migrations/versions/58228d933c91_dataset_labels.py +67 -0
  35. phoenix/db/migrations/versions/699f655af132_experiment_tags.py +57 -0
  36. phoenix/db/migrations/versions/735d3d93c33e_add_composite_indices.py +41 -0
  37. phoenix/db/migrations/versions/a20694b15f82_cost.py +196 -0
  38. phoenix/db/migrations/versions/ab513d89518b_add_user_id_on_dataset_versions.py +40 -0
  39. phoenix/db/migrations/versions/d0690a79ea51_users_on_experiments.py +40 -0
  40. phoenix/db/migrations/versions/deb2c81c0bb2_dataset_splits.py +139 -0
  41. phoenix/db/migrations/versions/e76cbd66ffc3_add_experiments_dataset_examples.py +87 -0
  42. phoenix/db/models.py +669 -56
  43. phoenix/db/pg_config.py +10 -0
  44. phoenix/db/types/model_provider.py +4 -0
  45. phoenix/db/types/token_price_customization.py +29 -0
  46. phoenix/db/types/trace_retention.py +23 -15
  47. phoenix/experiments/evaluators/utils.py +3 -3
  48. phoenix/experiments/functions.py +160 -52
  49. phoenix/experiments/tracing.py +2 -2
  50. phoenix/experiments/types.py +1 -1
  51. phoenix/inferences/inferences.py +1 -2
  52. phoenix/server/api/auth.py +38 -7
  53. phoenix/server/api/auth_messages.py +46 -0
  54. phoenix/server/api/context.py +100 -4
  55. phoenix/server/api/dataloaders/__init__.py +79 -5
  56. phoenix/server/api/dataloaders/annotation_configs_by_project.py +31 -0
  57. phoenix/server/api/dataloaders/annotation_summaries.py +60 -8
  58. phoenix/server/api/dataloaders/average_experiment_repeated_run_group_latency.py +50 -0
  59. phoenix/server/api/dataloaders/average_experiment_run_latency.py +17 -24
  60. phoenix/server/api/dataloaders/cache/two_tier_cache.py +1 -2
  61. phoenix/server/api/dataloaders/dataset_dataset_splits.py +52 -0
  62. phoenix/server/api/dataloaders/dataset_example_revisions.py +0 -1
  63. phoenix/server/api/dataloaders/dataset_example_splits.py +40 -0
  64. phoenix/server/api/dataloaders/dataset_examples_and_versions_by_experiment_run.py +47 -0
  65. phoenix/server/api/dataloaders/dataset_labels.py +36 -0
  66. phoenix/server/api/dataloaders/document_evaluation_summaries.py +2 -2
  67. phoenix/server/api/dataloaders/document_evaluations.py +6 -9
  68. phoenix/server/api/dataloaders/experiment_annotation_summaries.py +88 -34
  69. phoenix/server/api/dataloaders/experiment_dataset_splits.py +43 -0
  70. phoenix/server/api/dataloaders/experiment_error_rates.py +21 -28
  71. phoenix/server/api/dataloaders/experiment_repeated_run_group_annotation_summaries.py +77 -0
  72. phoenix/server/api/dataloaders/experiment_repeated_run_groups.py +57 -0
  73. phoenix/server/api/dataloaders/experiment_runs_by_experiment_and_example.py +44 -0
  74. phoenix/server/api/dataloaders/last_used_times_by_generative_model_id.py +35 -0
  75. phoenix/server/api/dataloaders/latency_ms_quantile.py +40 -8
  76. phoenix/server/api/dataloaders/record_counts.py +37 -10
  77. phoenix/server/api/dataloaders/session_annotations_by_session.py +29 -0
  78. phoenix/server/api/dataloaders/span_cost_by_span.py +24 -0
  79. phoenix/server/api/dataloaders/span_cost_detail_summary_entries_by_generative_model.py +56 -0
  80. phoenix/server/api/dataloaders/span_cost_detail_summary_entries_by_project_session.py +57 -0
  81. phoenix/server/api/dataloaders/span_cost_detail_summary_entries_by_span.py +43 -0
  82. phoenix/server/api/dataloaders/span_cost_detail_summary_entries_by_trace.py +56 -0
  83. phoenix/server/api/dataloaders/span_cost_details_by_span_cost.py +27 -0
  84. phoenix/server/api/dataloaders/span_cost_summary_by_experiment.py +57 -0
  85. phoenix/server/api/dataloaders/span_cost_summary_by_experiment_repeated_run_group.py +64 -0
  86. phoenix/server/api/dataloaders/span_cost_summary_by_experiment_run.py +58 -0
  87. phoenix/server/api/dataloaders/span_cost_summary_by_generative_model.py +55 -0
  88. phoenix/server/api/dataloaders/span_cost_summary_by_project.py +152 -0
  89. phoenix/server/api/dataloaders/span_cost_summary_by_project_session.py +56 -0
  90. phoenix/server/api/dataloaders/span_cost_summary_by_trace.py +55 -0
  91. phoenix/server/api/dataloaders/span_costs.py +29 -0
  92. phoenix/server/api/dataloaders/table_fields.py +2 -2
  93. phoenix/server/api/dataloaders/token_prices_by_model.py +30 -0
  94. phoenix/server/api/dataloaders/trace_annotations_by_trace.py +27 -0
  95. phoenix/server/api/dataloaders/types.py +29 -0
  96. phoenix/server/api/exceptions.py +11 -1
  97. phoenix/server/api/helpers/dataset_helpers.py +5 -1
  98. phoenix/server/api/helpers/playground_clients.py +1243 -292
  99. phoenix/server/api/helpers/playground_registry.py +2 -2
  100. phoenix/server/api/helpers/playground_spans.py +8 -4
  101. phoenix/server/api/helpers/playground_users.py +26 -0
  102. phoenix/server/api/helpers/prompts/conversions/aws.py +83 -0
  103. phoenix/server/api/helpers/prompts/conversions/google.py +103 -0
  104. phoenix/server/api/helpers/prompts/models.py +205 -22
  105. phoenix/server/api/input_types/{SpanAnnotationFilter.py → AnnotationFilter.py} +22 -14
  106. phoenix/server/api/input_types/ChatCompletionInput.py +6 -2
  107. phoenix/server/api/input_types/CreateProjectInput.py +27 -0
  108. phoenix/server/api/input_types/CreateProjectSessionAnnotationInput.py +37 -0
  109. phoenix/server/api/input_types/DatasetFilter.py +17 -0
  110. phoenix/server/api/input_types/ExperimentRunSort.py +237 -0
  111. phoenix/server/api/input_types/GenerativeCredentialInput.py +9 -0
  112. phoenix/server/api/input_types/GenerativeModelInput.py +5 -0
  113. phoenix/server/api/input_types/ProjectSessionSort.py +161 -1
  114. phoenix/server/api/input_types/PromptFilter.py +14 -0
  115. phoenix/server/api/input_types/PromptVersionInput.py +52 -1
  116. phoenix/server/api/input_types/SpanSort.py +44 -7
  117. phoenix/server/api/input_types/TimeBinConfig.py +23 -0
  118. phoenix/server/api/input_types/UpdateAnnotationInput.py +34 -0
  119. phoenix/server/api/input_types/UserRoleInput.py +1 -0
  120. phoenix/server/api/mutations/__init__.py +10 -0
  121. phoenix/server/api/mutations/annotation_config_mutations.py +8 -8
  122. phoenix/server/api/mutations/api_key_mutations.py +19 -23
  123. phoenix/server/api/mutations/chat_mutations.py +154 -47
  124. phoenix/server/api/mutations/dataset_label_mutations.py +243 -0
  125. phoenix/server/api/mutations/dataset_mutations.py +21 -16
  126. phoenix/server/api/mutations/dataset_split_mutations.py +351 -0
  127. phoenix/server/api/mutations/experiment_mutations.py +2 -2
  128. phoenix/server/api/mutations/export_events_mutations.py +3 -3
  129. phoenix/server/api/mutations/model_mutations.py +210 -0
  130. phoenix/server/api/mutations/project_mutations.py +49 -10
  131. phoenix/server/api/mutations/project_session_annotations_mutations.py +158 -0
  132. phoenix/server/api/mutations/project_trace_retention_policy_mutations.py +8 -4
  133. phoenix/server/api/mutations/prompt_label_mutations.py +74 -65
  134. phoenix/server/api/mutations/prompt_mutations.py +65 -129
  135. phoenix/server/api/mutations/prompt_version_tag_mutations.py +11 -8
  136. phoenix/server/api/mutations/span_annotations_mutations.py +15 -10
  137. phoenix/server/api/mutations/trace_annotations_mutations.py +14 -10
  138. phoenix/server/api/mutations/trace_mutations.py +47 -3
  139. phoenix/server/api/mutations/user_mutations.py +66 -41
  140. phoenix/server/api/queries.py +768 -293
  141. phoenix/server/api/routers/__init__.py +2 -2
  142. phoenix/server/api/routers/auth.py +154 -88
  143. phoenix/server/api/routers/ldap.py +229 -0
  144. phoenix/server/api/routers/oauth2.py +369 -106
  145. phoenix/server/api/routers/v1/__init__.py +24 -4
  146. phoenix/server/api/routers/v1/annotation_configs.py +23 -31
  147. phoenix/server/api/routers/v1/annotations.py +481 -17
  148. phoenix/server/api/routers/v1/datasets.py +395 -81
  149. phoenix/server/api/routers/v1/documents.py +142 -0
  150. phoenix/server/api/routers/v1/evaluations.py +24 -31
  151. phoenix/server/api/routers/v1/experiment_evaluations.py +19 -8
  152. phoenix/server/api/routers/v1/experiment_runs.py +337 -59
  153. phoenix/server/api/routers/v1/experiments.py +479 -48
  154. phoenix/server/api/routers/v1/models.py +7 -0
  155. phoenix/server/api/routers/v1/projects.py +18 -49
  156. phoenix/server/api/routers/v1/prompts.py +54 -40
  157. phoenix/server/api/routers/v1/sessions.py +108 -0
  158. phoenix/server/api/routers/v1/spans.py +1091 -81
  159. phoenix/server/api/routers/v1/traces.py +132 -78
  160. phoenix/server/api/routers/v1/users.py +389 -0
  161. phoenix/server/api/routers/v1/utils.py +3 -7
  162. phoenix/server/api/subscriptions.py +305 -88
  163. phoenix/server/api/types/Annotation.py +90 -23
  164. phoenix/server/api/types/ApiKey.py +13 -17
  165. phoenix/server/api/types/AuthMethod.py +1 -0
  166. phoenix/server/api/types/ChatCompletionSubscriptionPayload.py +1 -0
  167. phoenix/server/api/types/CostBreakdown.py +12 -0
  168. phoenix/server/api/types/Dataset.py +226 -72
  169. phoenix/server/api/types/DatasetExample.py +88 -18
  170. phoenix/server/api/types/DatasetExperimentAnnotationSummary.py +10 -0
  171. phoenix/server/api/types/DatasetLabel.py +57 -0
  172. phoenix/server/api/types/DatasetSplit.py +98 -0
  173. phoenix/server/api/types/DatasetVersion.py +49 -4
  174. phoenix/server/api/types/DocumentAnnotation.py +212 -0
  175. phoenix/server/api/types/Experiment.py +264 -59
  176. phoenix/server/api/types/ExperimentComparison.py +5 -10
  177. phoenix/server/api/types/ExperimentRepeatedRunGroup.py +155 -0
  178. phoenix/server/api/types/ExperimentRepeatedRunGroupAnnotationSummary.py +9 -0
  179. phoenix/server/api/types/ExperimentRun.py +169 -65
  180. phoenix/server/api/types/ExperimentRunAnnotation.py +158 -39
  181. phoenix/server/api/types/GenerativeModel.py +245 -3
  182. phoenix/server/api/types/GenerativeProvider.py +70 -11
  183. phoenix/server/api/types/{Model.py → InferenceModel.py} +1 -1
  184. phoenix/server/api/types/ModelInterface.py +16 -0
  185. phoenix/server/api/types/PlaygroundModel.py +20 -0
  186. phoenix/server/api/types/Project.py +1278 -216
  187. phoenix/server/api/types/ProjectSession.py +188 -28
  188. phoenix/server/api/types/ProjectSessionAnnotation.py +187 -0
  189. phoenix/server/api/types/ProjectTraceRetentionPolicy.py +1 -1
  190. phoenix/server/api/types/Prompt.py +119 -39
  191. phoenix/server/api/types/PromptLabel.py +42 -25
  192. phoenix/server/api/types/PromptVersion.py +11 -8
  193. phoenix/server/api/types/PromptVersionTag.py +65 -25
  194. phoenix/server/api/types/ServerStatus.py +6 -0
  195. phoenix/server/api/types/Span.py +167 -123
  196. phoenix/server/api/types/SpanAnnotation.py +189 -42
  197. phoenix/server/api/types/SpanCostDetailSummaryEntry.py +10 -0
  198. phoenix/server/api/types/SpanCostSummary.py +10 -0
  199. phoenix/server/api/types/SystemApiKey.py +65 -1
  200. phoenix/server/api/types/TokenPrice.py +16 -0
  201. phoenix/server/api/types/TokenUsage.py +3 -3
  202. phoenix/server/api/types/Trace.py +223 -51
  203. phoenix/server/api/types/TraceAnnotation.py +149 -50
  204. phoenix/server/api/types/User.py +137 -32
  205. phoenix/server/api/types/UserApiKey.py +73 -26
  206. phoenix/server/api/types/node.py +10 -0
  207. phoenix/server/api/types/pagination.py +11 -2
  208. phoenix/server/app.py +290 -45
  209. phoenix/server/authorization.py +38 -3
  210. phoenix/server/bearer_auth.py +34 -24
  211. phoenix/server/cost_tracking/cost_details_calculator.py +196 -0
  212. phoenix/server/cost_tracking/cost_model_lookup.py +179 -0
  213. phoenix/server/cost_tracking/helpers.py +68 -0
  214. phoenix/server/cost_tracking/model_cost_manifest.json +3657 -830
  215. phoenix/server/cost_tracking/regex_specificity.py +397 -0
  216. phoenix/server/cost_tracking/token_cost_calculator.py +57 -0
  217. phoenix/server/daemons/__init__.py +0 -0
  218. phoenix/server/daemons/db_disk_usage_monitor.py +214 -0
  219. phoenix/server/daemons/generative_model_store.py +103 -0
  220. phoenix/server/daemons/span_cost_calculator.py +99 -0
  221. phoenix/server/dml_event.py +17 -0
  222. phoenix/server/dml_event_handler.py +5 -0
  223. phoenix/server/email/sender.py +56 -3
  224. phoenix/server/email/templates/db_disk_usage_notification.html +19 -0
  225. phoenix/server/email/types.py +11 -0
  226. phoenix/server/experiments/__init__.py +0 -0
  227. phoenix/server/experiments/utils.py +14 -0
  228. phoenix/server/grpc_server.py +11 -11
  229. phoenix/server/jwt_store.py +17 -15
  230. phoenix/server/ldap.py +1449 -0
  231. phoenix/server/main.py +26 -10
  232. phoenix/server/oauth2.py +330 -12
  233. phoenix/server/prometheus.py +66 -6
  234. phoenix/server/rate_limiters.py +4 -9
  235. phoenix/server/retention.py +33 -20
  236. phoenix/server/session_filters.py +49 -0
  237. phoenix/server/static/.vite/manifest.json +55 -51
  238. phoenix/server/static/assets/components-BreFUQQa.js +6702 -0
  239. phoenix/server/static/assets/{index-E0M82BdE.js → index-CTQoemZv.js} +140 -56
  240. phoenix/server/static/assets/pages-DBE5iYM3.js +9524 -0
  241. phoenix/server/static/assets/vendor-BGzfc4EU.css +1 -0
  242. phoenix/server/static/assets/vendor-DCE4v-Ot.js +920 -0
  243. phoenix/server/static/assets/vendor-codemirror-D5f205eT.js +25 -0
  244. phoenix/server/static/assets/vendor-recharts-V9cwpXsm.js +37 -0
  245. phoenix/server/static/assets/vendor-shiki-Do--csgv.js +5 -0
  246. phoenix/server/static/assets/vendor-three-CmB8bl_y.js +3840 -0
  247. phoenix/server/templates/index.html +40 -6
  248. phoenix/server/thread_server.py +1 -2
  249. phoenix/server/types.py +14 -4
  250. phoenix/server/utils.py +74 -0
  251. phoenix/session/client.py +56 -3
  252. phoenix/session/data_extractor.py +5 -0
  253. phoenix/session/evaluation.py +14 -5
  254. phoenix/session/session.py +45 -9
  255. phoenix/settings.py +5 -0
  256. phoenix/trace/attributes.py +80 -13
  257. phoenix/trace/dsl/helpers.py +90 -1
  258. phoenix/trace/dsl/query.py +8 -6
  259. phoenix/trace/projects.py +5 -0
  260. phoenix/utilities/template_formatters.py +1 -1
  261. phoenix/version.py +1 -1
  262. arize_phoenix-10.0.4.dist-info/RECORD +0 -405
  263. phoenix/server/api/types/Evaluation.py +0 -39
  264. phoenix/server/cost_tracking/cost_lookup.py +0 -255
  265. phoenix/server/static/assets/components-DULKeDfL.js +0 -4365
  266. phoenix/server/static/assets/pages-Cl0A-0U2.js +0 -7430
  267. phoenix/server/static/assets/vendor-WIZid84E.css +0 -1
  268. phoenix/server/static/assets/vendor-arizeai-Dy-0mSNw.js +0 -649
  269. phoenix/server/static/assets/vendor-codemirror-DBtifKNr.js +0 -33
  270. phoenix/server/static/assets/vendor-oB4u9zuV.js +0 -905
  271. phoenix/server/static/assets/vendor-recharts-D-T4KPz2.js +0 -59
  272. phoenix/server/static/assets/vendor-shiki-BMn4O_9F.js +0 -5
  273. phoenix/server/static/assets/vendor-three-C5WAXd5r.js +0 -2998
  274. phoenix/utilities/deprecation.py +0 -31
  275. {arize_phoenix-10.0.4.dist-info → arize_phoenix-12.28.1.dist-info}/entry_points.txt +0 -0
  276. {arize_phoenix-10.0.4.dist-info → arize_phoenix-12.28.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,5 +1,7 @@
1
- import{F 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-oB4u9zuV.js";import{K as k,M as S}from"./vendor-arizeai-Dy-0mSNw.js";import{L,g as j,r as C,h as R,i as I,F as E,j as D,P as A,k as T,M as s,l as F,D as O,n as G,E as M,o as q,p as N,q as V,s as W,t,v as _,w as B,x as K,y as $,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 co,V as d,W as m,X as p,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 qo,au as No,av as Vo,aw as Wo,ax as _o,ay as Bo}from"./pages-Cl0A-0U2.js";import{eo as Ko,c0 as $o,R as Ho,ep as Jo,eq as Qo}from"./components-DULKeDfL.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-DBtifKNr.js";import"./vendor-shiki-BMn4O_9F.js";import"./vendor-recharts-D-T4KPz2.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 Uo=e`
2
- :root {
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/pages-DBE5iYM3.js","assets/components-BreFUQQa.js","assets/vendor-DCE4v-Ot.js","assets/vendor-three-CmB8bl_y.js","assets/vendor-BGzfc4EU.css","assets/vendor-codemirror-D5f205eT.js","assets/vendor-shiki-Do--csgv.js","assets/vendor-recharts-V9cwpXsm.js"])))=>i.map(i=>d[i]);
2
+ import{h as e,j as o,ea as y,eb as x,ec as z,ed as w,i as g,cz as P,ee as l,db as n,r as k,O as S,ef as L}from"./vendor-DCE4v-Ot.js";import{L as _,e as E,r as R,R as I,f as C,F as j,g as A,P as D,h as T,i as O,p as F,j as M,T as m,k as V,l as G,s as N,m as W,n as q,o as B,q as $,t as K,v as U,w as H,D as J,x as p,E as u,y as Q,z as X,B as Y,C as Z,G as oo,H as lo,I as ao,J as ro,K as co,M as go,N as eo,O as bo,Q as no,U as io,V as so,W as to,X as f,Y as mo,Z as po,_ as uo,$ as fo,a0 as ho,a1 as h,a2 as v,a3 as vo,a4 as yo,a5 as xo,a6 as zo,a7 as wo,a8 as Po,a9 as ko,aa as So,ab as Lo,ac as _o,ad as Eo,ae as Ro,af as Io,ag as Co,ah as jo,ai as Ao,aj as Do,ak as s,al as To,am as Oo,an as Fo,ao as Mo,ap as Vo,aq as Go,ar as No,as as Wo}from"./pages-DBE5iYM3.js";import{cO as qo,fN as Bo,R as $o,fO as Ko}from"./components-BreFUQQa.js";import"./vendor-three-CmB8bl_y.js";import"./vendor-codemirror-D5f205eT.js";import"./vendor-shiki-Do--csgv.js";import"./vendor-recharts-V9cwpXsm.js";(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))d(c);new MutationObserver(c=>{for(const b of c)if(b.type==="childList")for(const t of b.addedNodes)t.tagName==="LINK"&&t.rel==="modulepreload"&&d(t)}).observe(document,{childList:!0,subtree:!0});function i(c){const b={};return c.integrity&&(b.integrity=c.integrity),c.referrerPolicy&&(b.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?b.credentials="include":c.crossOrigin==="anonymous"?b.credentials="omit":b.credentials="same-origin",b}function d(c){if(c.ep)return;c.ep=!0;const b=i(c);fetch(c.href,b)}})();const Uo=e`
3
+ :root,
4
+ .ac-theme {
3
5
  --ac-global-dimension-scale-factor: 1;
4
6
  --ac-global-dimension-size-0: 0px;
5
7
  --ac-global-dimension-size-10: 1px;
@@ -53,8 +55,9 @@ import{F 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
53
55
  --ac-global-dimension-size-5000: 400px;
54
56
  --ac-global-dimension-size-6000: 480px;
55
57
  }
56
- `,Xo=e`
57
- :root {
58
+ `,Ho=e`
59
+ :root,
60
+ .ac-theme {
58
61
  // static colors
59
62
  --ac-global-static-color-white-900: rgba(255, 255, 255, 0.9);
60
63
  --ac-global-static-color-white-700: rgba(255, 255, 255, 0.7);
@@ -62,9 +65,16 @@ import{F 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
62
65
  --ac-global-static-color-black-900: rgba(0, 0, 0, 0.9);
63
66
  --ac-global-static-color-black-700: rgba(0, 0, 0, 0.7);
64
67
  --ac-global-static-color-black-300: rgba(0, 0, 0, 0.3);
68
+
69
+ // component sizing
70
+ --ac-global-input-height-s: 30px;
71
+ --ac-global-input-height-m: 38px;
72
+ --ac-global-button-height-s: var(--ac-global-input-height-s);
73
+ --ac-global-button-height-m: var(--ac-global-input-height-m);
65
74
  }
66
- `,Yo=e`
67
- :root {
75
+ `,Jo=e`
76
+ :root,
77
+ .ac-theme {
68
78
  --ac-global-dimension-static-size-0: 0px;
69
79
  --ac-global-dimension-static-size-10: 1px;
70
80
  --ac-global-dimension-static-size-25: 2px;
@@ -143,11 +153,14 @@ import{F 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
143
153
  --ac-global-dimension-font-size-1200: 50px;
144
154
  --ac-global-dimension-font-size-1300: 60px;
145
155
  }
146
- `,Zo=e`
156
+ `,Qo=e`
147
157
  :root,
148
158
  .ac-theme--dark {
149
159
  /* Colors */
150
160
 
161
+ // sync system elements like the scrollbar with the theme
162
+ color-scheme: dark;
163
+
151
164
  // The newer grays (grey)
152
165
  --ac-global-color-grey-50-rgb: 0, 0, 0;
153
166
  --ac-global-color-grey-50: rgb(var(--ac-global-color-grey-50-rgb));
@@ -524,31 +537,31 @@ import{F 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
524
537
  --ac-global-color-fuchsia-200: rgb(var(--ac-global-color-fuchsia-200-rgb));
525
538
  --ac-global-color-fuchsia-300-rgb: 120, 0, 120;
526
539
  --ac-global-color-fuchsia-300: rgb(var(--ac-global-color-fuchsia-300-rgb));
527
- --ac-global-color-fuchsia-400-rgb: 145, 0, 78;
540
+ --ac-global-color-fuchsia-400-rgb: 146, 0, 147;
528
541
  --ac-global-color-fuchsia-400: rgb(var(--ac-global-color-fuchsia-400-rgb));
529
542
  --ac-global-color-fuchsia-500-rgb: 169, 19, 170;
530
543
  --ac-global-color-fuchsia-500: rgb(var(--ac-global-color-fuchsia-500-rgb));
531
- --ac-global-color-fuchsia-600-rgb: 209, 43, 114;
544
+ --ac-global-color-fuchsia-600-rgb: 191, 43, 191;
532
545
  --ac-global-color-fuchsia-600: rgb(var(--ac-global-color-fuchsia-600-rgb));
533
- --ac-global-color-fuchsia-700-rgb: 227, 69, 137;
546
+ --ac-global-color-fuchsia-700-rgb: 211, 65, 213;
534
547
  --ac-global-color-fuchsia-700: rgb(var(--ac-global-color-fuchsia-700-rgb));
535
- --ac-global-color-fuchsia-800-rgb: 241, 97, 156;
548
+ --ac-global-color-fuchsia-800-rgb: 228, 91, 229;
536
549
  --ac-global-color-fuchsia-800: rgb(var(--ac-global-color-fuchsia-800-rgb));
537
- --ac-global-color-fuchsia-900-rgb: 252, 124, 173;
550
+ --ac-global-color-fuchsia-900-rgb: 239, 120, 238;
538
551
  --ac-global-color-fuchsia-900: rgb(var(--ac-global-color-fuchsia-900-rgb));
539
- --ac-global-color-fuchsia-1000-rgb: 255, 152, 191;
552
+ --ac-global-color-fuchsia-1000-rgb: 246, 149, 243;
540
553
  --ac-global-color-fuchsia-1000: rgb(
541
554
  var(--ac-global-color-fuchsia-1000-rgb)
542
555
  );
543
- --ac-global-color-fuchsia-1100-rgb: 255, 179, 207;
556
+ --ac-global-color-fuchsia-1100-rgb: 251, 175, 246;
544
557
  --ac-global-color-fuchsia-1100: rgb(
545
558
  var(--ac-global-color-fuchsia-1100-rgb)
546
559
  );
547
- --ac-global-color-fuchsia-1200-rgb: 254, 202, 221;
560
+ --ac-global-color-fuchsia-1200-rgb: 254, 199, 248;
548
561
  --ac-global-color-fuchsia-1200: rgb(
549
562
  var(--ac-global-color-fuchsia-1200-rgb)
550
563
  );
551
- --ac-global-color-fuchsia-1300-rgb: 255, 221, 233;
564
+ --ac-global-color-fuchsia-1300-rgb: 255, 220, 250;
552
565
  --ac-global-color-fuchsia-1300: rgb(
553
566
  var(--ac-global-color-fuchsia-1300-rgb)
554
567
  );
@@ -595,7 +608,7 @@ import{F 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
595
608
  var(--ac-global-color-magenta-1400-rgb)
596
609
  );
597
610
 
598
- // Semantic colors
611
+ // Semantic colors for dark mode
599
612
  --ac-global-color-info-rgb: 114, 217, 255;
600
613
  --ac-global-color-info: rgb(var(--ac-global-color-info-rgb));
601
614
  --ac-global-color-info-900: rgba(var(--ac-global-color-info-rgb), 0.9);
@@ -634,10 +647,11 @@ import{F 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
634
647
  var(--ac-global-color-warning-rgb),
635
648
  0.5
636
649
  );
637
-
638
- // Designation colors
639
- --ac-global-color-designation-purple: #bb9ff9;
640
- --ac-global-color-designation-turquoise: #9efcfd;
650
+ --ac-global-color-severe-rgb: 188, 76, 0;
651
+ --ac-global-color-severe: rgb(var(--ac-global-color-severe-rgb));
652
+ --ac-global-color-severe-900: rgba(var(--ac-global-color-severe-rgb), 0.9);
653
+ --ac-global-color-severe-700: rgba(var(--ac-global-color-severe-rgb), 0.7);
654
+ --ac-global-color-severe-500: rgba(var(--ac-global-color-severe-rgb), 0.5);
641
655
 
642
656
  --ac-global-text-color-900: rgba(255, 255, 255, 0.9);
643
657
  --ac-global-text-color-700: rgba(255, 255, 255, 0.7);
@@ -647,12 +661,19 @@ import{F 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
647
661
  // Link colors
648
662
  --ac-global-link-color: rgb(114, 217, 255);
649
663
  --ac-global-link-color-visited: var(--ac-global-color-purple-900);
664
+
665
+ // Floating toolbar colors
666
+ --ac-floating-toolbar-background-color: var(--ac-global-color-grey-200);
667
+ --ac-floating-toolbar-border-color: var(--ac-global-color-grey-300);
650
668
  }
651
- `,oa=e`
669
+ `,Xo=e`
652
670
  :root,
653
671
  .ac-theme--light {
654
672
  /* Colors */
655
673
 
674
+ // sync system elements like the scrollbar with the theme
675
+ color-scheme: light;
676
+
656
677
  // The newer grays (grey)
657
678
  --ac-global-color-grey-50-rgb: 255, 255, 255;
658
679
  --ac-global-color-grey-50: rgb(var(--ac-global-color-grey-50-rgb));
@@ -860,7 +881,7 @@ import{F 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
860
881
  --ac-global-color-magenta-1300: #54032a;
861
882
  --ac-global-color-magenta-1400: #3c061d;
862
883
 
863
- // Semantic colors
884
+ // Semantic colors for light mode
864
885
  --ac-global-color-info: rgb(2, 173, 221);
865
886
  --ac-global-color-info-900: rgba(2, 173, 221, 0.9);
866
887
  --ac-global-color-info-700: rgba(2, 173, 221, 0.7);
@@ -869,18 +890,17 @@ import{F 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
869
890
  --ac-global-color-danger-900: rgba(218, 11, 0, 0.9);
870
891
  --ac-global-color-danger-700: rgba(218, 11, 0, 0.7);
871
892
  --ac-global-color-danger-500: rgba(218, 11, 0, 0.5);
872
- --ac-global-color-success: rgb(17, 191, 69);
873
- --ac-global-color-success-900: rgba(17, 191, 69, 0.9);
874
- --ac-global-color-success-700: rgba(17, 191, 69, 0.7);
875
- --ac-global-color-success-500: rgba(17, 191, 69, 0.5);
893
+ --ac-global-color-success: rgb(26, 127, 55);
894
+ --ac-global-color-success-700: rgba(26, 127, 55, 0.7);
895
+ --ac-global-color-success-500: rgba(26, 127, 55, 0.5);
876
896
  --ac-global-color-warning: rgb(224, 102, 2);
877
897
  --ac-global-color-warning-900: rgba(224, 102, 2, 0.9);
878
898
  --ac-global-color-warning-700: rgba(224, 102, 2, 0.7);
879
899
  --ac-global-color-warning-500: rgba(224, 102, 2, 0.5);
880
-
881
- // Designation colors
882
- --ac-global-color-designation-purple: #4500d9;
883
- --ac-global-color-designation-turquoise: #00add0;
900
+ --ac-global-color-severe: rgb(188, 76, 0);
901
+ --ac-global-color-severe-900: rgba(188, 76, 0, 0.9);
902
+ --ac-global-color-severe-700: rgba(188, 76, 0, 0.7);
903
+ --ac-global-color-severe-500: rgba(188, 76, 0, 0.5);
884
904
 
885
905
  --ac-global-text-color-900: rgba(0, 0, 0, 0.9);
886
906
  --ac-global-text-color-700: rgba(0, 0, 0, 0.7);
@@ -889,10 +909,14 @@ import{F 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
889
909
 
890
910
  --ac-global-link-color: rgb(9, 105, 218);
891
911
  --ac-global-link-color-visited: var(--ac-global-color-purple-900);
912
+
913
+ // Floating toolbar colors
914
+ --ac-floating-toolbar-background-color: var(--ac-global-color-grey-75);
915
+ --ac-floating-toolbar-border-color: var(--ac-global-color-grey-200);
892
916
  }
893
- `,aa=l=>e`
917
+ `,Yo=a=>e`
894
918
  :root,
895
- .ac-theme--${l} {
919
+ .ac-theme--${a} {
896
920
  // The primary color tint for the apps
897
921
  --ac-global-color-primary: var(--ac-global-color-grey-900);
898
922
  --ac-global-color-primary-900: rgba(
@@ -964,8 +988,8 @@ import{F 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
964
988
  );
965
989
 
966
990
  // Styles for menus
967
- --ac-global-menu-border-color: var(--ac-global-color-grey-400);
968
- --ac-global-menu-background-color: var(--ac-global-color-grey-200);
991
+ --ac-global-menu-border-color: var(--ac-global-color-grey-300);
992
+ --ac-global-menu-background-color: var(--ac-global-color-grey-50);
969
993
  --ac-global-menu-item-background-color-hover: var(
970
994
  --ac-global-color-grey-300
971
995
  );
@@ -996,10 +1020,33 @@ import{F 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
996
1020
  );
997
1021
  --ac-global-button-success-border-color: var(--ac-global-color-success);
998
1022
 
1023
+ // Styles for checkbox
1024
+ --ac-global-checkbox-selected-color: var(--ac-global-color-grey-800);
1025
+ --ac-global-checkbox-selected-color-pressed: var(
1026
+ --ac-global-color-grey-900
1027
+ );
1028
+ --ac-global-checkbox-checkmark-color: var(--ac-global-color-grey-50);
1029
+ --ac-global-checkbox-border-color: var(--ac-global-color-grey-300);
1030
+ --ac-global-checkbox-border-color-pressed: var(--ac-global-color-grey-400);
1031
+ --ac-global-checkbox-border-color-hover: var(--ac-global-color-grey-400);
1032
+
1033
+ // Styles for disclosure
1034
+ --ac-global-disclosure-background-color-active: rgba(
1035
+ var(--ac-global-color-grey-900-rgb),
1036
+ 0.05
1037
+ );
1038
+
999
1039
  // Style for tooltips
1000
- --ac-global-tooltip-background-color: var(--ac-global-color-grey-100);
1040
+ --ac-global-tooltip-background-color: var(--ac-global-color-grey-50);
1001
1041
  --ac-global-tooltip-border-color: var(--ac-global-color-grey-300);
1002
1042
 
1043
+ // Style for cards
1044
+ --ac-global-card-header-height: 46px;
1045
+
1046
+ // Style for popovers
1047
+ --ac-global-popover-border-color: var(--ac-global-color-grey-300);
1048
+ --ac-global-popover-background-color: var(--ac-global-color-grey-50);
1049
+
1003
1050
  --ac-global-rounding-xsmall: var(--ac-global-dimension-static-size-25);
1004
1051
  --ac-global-rounding-small: var(--ac-global-dimension-static-size-50);
1005
1052
  --ac-global-rounding-medium: var(--ac-global-dimension-static-size-100);
@@ -1035,16 +1082,30 @@ import{F 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
1035
1082
  --ac-alias-single-line-height: var(--ac-global-dimension-size-400);
1036
1083
  --ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
1037
1084
  }
1038
- `,la=e`
1039
- :root {
1085
+ `,Zo=e`
1086
+ :root,
1087
+ .ac-theme {
1040
1088
  --ac-opacity-disabled: 0.6;
1041
1089
  }
1042
- `,ra=e`
1043
- body {
1044
- background-color: var(--ac-global-color-grey-75);
1090
+ `,ol=e`
1091
+ body,
1092
+ input,
1093
+ button,
1094
+ .ac-theme // We scope it to the theme so we can mount two at the same time
1095
+ {
1096
+ font-family: "Geist", sans-serif;
1097
+ font-optical-sizing: auto;
1098
+ font-weight: 400;
1099
+ font-style: normal;
1100
+ color: var(--ac-global-text-color-900);
1101
+ }
1102
+ .ac-theme {
1045
1103
  color: var(--ac-global-text-color-900);
1046
- font-family: "Roboto";
1047
1104
  font-size: var(--ac-global-font-size-s);
1105
+ }
1106
+ body {
1107
+ background-color: var(--ac-global-color-grey-75);
1108
+
1048
1109
  margin: 0;
1049
1110
  overflow: hidden;
1050
1111
  #root,
@@ -1095,11 +1156,13 @@ import{F 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
1095
1156
  }
1096
1157
  }
1097
1158
 
1098
- :root {
1159
+ :root,
1160
+ .ac-theme {
1099
1161
  --px-section-background-color: #2f353d;
1100
1162
 
1101
1163
  /** The color of shadows on menus etc. */
1102
- --px-overlay-shadow-color: rgba(0, 0, 0, 0.4);
1164
+ --px-overlay-shadow-color: rgba(0, 0, 0, 0.1);
1165
+ --px-overlay-box-shadow: 0px 8px 16px var(--px-overlay-shadow-color);
1103
1166
 
1104
1167
  /* An item is a typically something in a list */
1105
1168
  --px-item-background-color: #1d2126;
@@ -1109,8 +1172,8 @@ import{F 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
1109
1172
 
1110
1173
  --px-gradient-bar-height: 8px;
1111
1174
 
1112
- --px-nav-collapsed-width: 45px;
1113
- --px-nav-expanded-width: 200px;
1175
+ --px-nav-collapsed-width: 52px;
1176
+ --px-nav-expanded-width: 230px;
1114
1177
 
1115
1178
  --ac-global-opacity-disabled: 0.6;
1116
1179
 
@@ -1132,11 +1195,15 @@ import{F 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
1132
1195
  --ac-global-line-height-xxl: 48px;
1133
1196
 
1134
1197
  /* Fields */
1135
- --ac-global-input-field-min-width: 200px;
1198
+ --ac-global-input-field-min-width: 100px;
1136
1199
 
1137
1200
  /* Modal */
1138
1201
  --ac-global-modal-width-S: 500px;
1139
1202
  --ac-global-modal-width-M: 700px;
1203
+ --ac-global-modal-width-L: 900px;
1204
+ --ac-global-modal-width-FULLSCREEN: calc(
1205
+ 100vw - var(--ac-global-dimension-static-size-1700)
1206
+ );
1140
1207
  }
1141
1208
 
1142
1209
  .ac-theme--dark {
@@ -1146,6 +1213,7 @@ import{F 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
1146
1213
  --px-reference-color--transparent: #baa1f982;
1147
1214
  --px-corpus-color: #92969c;
1148
1215
  --px-corpus-color--transparent: #92969c63;
1216
+ --px-overlay-shadow-color: rgba(0, 0, 0, 0.6);
1149
1217
  }
1150
1218
  .ac-theme--light {
1151
1219
  --px-primary-color: #00add0;
@@ -1154,8 +1222,9 @@ import{F 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
1154
1222
  --px-reference-color--transparent: rgba(69, 0, 217, 0.2);
1155
1223
  --px-corpus-color: #92969c;
1156
1224
  --px-corpus-color--transparent: #92969c63;
1225
+ --px-overlay-shadow-color: rgba(0, 0, 0, 0.1);
1157
1226
  }
1158
- `,ca=e`
1227
+ `,ll=e`
1159
1228
  .ac-theme--light {
1160
1229
  .cm-editor {
1161
1230
  background-color: rgba(255, 255, 255, 0.5) !important;
@@ -1172,13 +1241,28 @@ import{F 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
1172
1241
  background-color: rgba(0, 0, 0, 0.2) !important;
1173
1242
  }
1174
1243
  }
1175
- `,ga=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;
1244
+ `,al=e`
1245
+ .ac-theme {
1246
+ --chart-cartesian-grid-stroke-color: var(--ac-global-color-grey-300);
1247
+ --chart-axis-stroke-color: var(--ac-global-color-grey-300);
1248
+ --chart-axis-text-color: var(--ac-global-text-color-700);
1249
+ --chart-axis-label-color: var(--ac-global-text-color-700);
1250
+ --chart-legend-text-color: var(--ac-global-text-color-900);
1251
+ }
1252
+ .ac-theme--dark {
1253
+ --chart-tooltip-cursor-fill-color: rgba(255, 255, 255, 0.2);
1254
+ }
1255
+ .ac-theme--light {
1256
+ --chart-tooltip-cursor-fill-color: rgba(0, 0, 0, 0.05);
1257
+ }
1258
+ `,rl=e`
1259
+ .font-default {
1260
+ font-family: "Geist", sans-serif;
1261
+ font-optical-sizing: auto;
1180
1262
  }
1181
- .ac-theme--dark .react-resizable-handle {
1182
- filter: invert(1);
1263
+ .font-mono,
1264
+ pre {
1265
+ font-family: "Geist Mono", monospace;
1266
+ font-optical-sizing: auto;
1183
1267
  }
1184
- `;function ea(){const{theme:l="dark"}=k();return o(f,{styles:e(Yo,Xo,l==="dark"?Zo:oa,aa(l),Uo,la,ra,ca,ga)})}const ba=y(v(r(a,{path:"/",errorElement:o(Vo,{}),children:[o(a,{path:"/v1/*",element:o(x,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(L,{})}),o(a,{path:"/logout",element:o(j,{})}),o(a,{path:"/reset-password",element:o(R,{}),loader:C}),o(a,{path:"/reset-password-with-token",element:o(I,{})}),o(a,{path:"/forgot-password",element:o(E,{})}),o(a,{element:o(No,{}),loader:D,children:r(a,{element:o(qo,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(A,{})}),o(a,{index:!0,loader:T}),r(a,{path:"/model",handle:{crumb:()=>"model"},element:o(q,{}),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(O,{}),loader:F})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(M,{}),loader:G,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(U,{}),children:[o(a,{index:!0,element:o(W,{})}),r(a,{element:o(Q,{}),children:[o(a,{path:"traces",element:o(_,{}),children:o(a,{path:":traceId",element:o(t,{})})}),o(a,{path:"spans",element:o(B,{}),children:o(a,{path:":traceId",element:o(t,{})})}),o(a,{path:"sessions",element:o(H,{}),children:o(a,{path:":sessionId",element:o($,{}),loader:K})}),o(a,{path:"config",element:o(J,{})})]})]})]}),r(a,{path:"/dashboards",handle:{crumb:()=>"dashboards"},element:o(ro,{}),children:[o(a,{index:!0,element:o(Z,{}),loader:Y}),o(a,{path:"projects/:projectId",element:o(ao,{}),loader:oo,handle:{crumb:l=>l.project.name}}),o(a,{path:":dashboardId",handle:{crumb:()=>"dashboard"},element:o(lo,{})})]}),r(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(a,{index:!0,element:o(co,{})}),r(a,{path:":datasetId",loader:d,handle:{crumb:l=>l.dataset.name},children:[r(a,{element:o(no,{}),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(bo,{}),loader:go,children:o(a,{path:":exampleId",element:o(eo,{})})})]}),o(a,{path:"compare",handle:{crumb:()=>"compare"},loader:io,element:o(so,{})})]})]}),r(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"}})]}),r(a,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(a,{index:!0,element:o(fo,{}),loader:uo}),r(a,{path:":promptId",loader:yo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[r(a,{element:o(So,{}),children:[o(a,{index:!0,element:o(vo,{})}),o(a,{path:"versions",loader:ho,element:o(wo,{}),children:o(a,{path:":versionId",loader:xo,element:o(zo,{})})}),o(a,{path:"config",element:o(ko,{}),loader:Po})]}),o(a,{path:"playground",element:o(jo,{}),loader:Lo,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(Co,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Ro,{}),handle:{crumb:()=>"support"}}),r(a,{path:"/settings",element:o(Mo,{}),handle:{crumb:()=>"settings"},children:[o(a,{path:"general",loader:Io,element:o(Eo,{}),handle:{crumb:()=>"general"}}),o(a,{path:"providers",loader:Do,element:o(Ao,{}),handle:{crumb:()=>"providers"}}),o(a,{path:"annotations",loader:To,element:o(Fo,{}),handle:{crumb:()=>"annotations"}}),o(a,{path:"data",element:o(Go,{}),handle:{crumb:()=>"data retention"},loader:Oo})]})]})})]})),{basename:window.Config.basename});function na(){return o(h,{router:ba})}function ia(){return o(Wo,{children:o(Ko,{children:o(sa,{})})})}function sa(){const{theme:l}=$o();return o(S,{theme:l,mountGlobalStyles:!1,children:r(w.RelayEnvironmentProvider,{environment:Ho,children:[o(ea,{}),o(_o,{children:o(Jo,{children:o(Bo,{children:o(z.Suspense,{children:o(Qo,{children:o(na,{})})})})})})]})})}const ta=document.getElementById("root"),da=P.createRoot(ta);da.render(o(ia,{}));
1268
+ `;function cl(){const{theme:a}=qo();return o(y,{styles:e(Jo,Ho,a==="dark"?Qo:Xo,Yo(a),Uo,Zo,ol,ll,al,rl)})}const gl=x(z(g(l,{path:"/",errorElement:o(s,{}),element:o(Vo,{}),children:[o(l,{path:"/v1/*",element:o(P,{to:"/",replace:!0})}),o(l,{path:"/login",element:o(_,{})}),o(l,{path:"/logout",element:o(E,{})}),o(l,{path:"/reset-password",element:o(I,{}),loader:R}),o(l,{path:"/reset-password-with-token",element:o(C,{})}),o(l,{path:"/forgot-password",element:o(j,{})}),o(l,{element:o(Mo,{}),loader:A,children:g(l,{element:o(Fo,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(D,{})}),o(l,{index:!0,loader:T}),g(l,{path:"/model",lazy:()=>n(()=>import("./pages-DBE5iYM3.js").then(a=>a.at),__vite__mapDeps([0,1,2,3,4,5,6,7])).then(a=>({handle:{crumb:()=>"model"},element:o(a.ModelRoot,{})})),children:[o(l,{index:!0,lazy:()=>n(()=>import("./pages-DBE5iYM3.js").then(a=>a.au),__vite__mapDeps([0,1,2,3,4,5,6,7])).then(a=>({element:o(a.ModelInferencesPage,{})}))}),o(l,{lazy:()=>n(()=>import("./pages-DBE5iYM3.js").then(a=>a.au),__vite__mapDeps([0,1,2,3,4,5,6,7])).then(a=>({element:o(a.ModelInferencesPage,{})})),children:o(l,{path:"dimensions",children:o(l,{path:":dimensionId",lazy:()=>n(()=>import("./pages-DBE5iYM3.js").then(a=>a.av),__vite__mapDeps([0,1,2,3,4,5,6,7])).then(a=>({element:o(a.DimensionPage,{}),loader:a.dimensionLoader}))})})}),o(l,{path:"embeddings",children:o(l,{path:":embeddingDimensionId",lazy:()=>n(()=>import("./pages-DBE5iYM3.js").then(a=>a.aw),__vite__mapDeps([0,1,2,3,4,5,6,7])).then(a=>({element:o(a.EmbeddingPage,{}),loader:a.embeddingLoader,handle:{crumb:r=>r.embedding.name}}))})})]}),g(l,{path:"/projects",handle:{crumb:()=>"Projects"},element:o(H,{}),children:[o(l,{index:!0,element:o(O,{})}),g(l,{path:":projectId",loader:F,handle:{crumb:a=>{var r;return(r=a==null?void 0:a.project)==null?void 0:r.name}},element:o(U,{}),children:[o(l,{index:!0,element:o(M,{})}),g(l,{element:o(K,{}),children:[o(l,{path:"traces",element:o(V,{}),children:o(l,{path:":traceId",element:o(m,{})})}),o(l,{path:"spans",element:o(G,{}),children:o(l,{path:":traceId",element:o(m,{})})}),o(l,{path:"sessions",element:o(q,{}),children:o(l,{path:":sessionId",element:o(W,{}),loader:N})}),o(l,{path:"config",element:o(B,{})}),o(l,{path:"metrics",element:o($,{})})]})]})]}),g(l,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(l,{index:!0,element:o(J,{})}),g(l,{path:":datasetId",loader:p,handle:{crumb:a=>{var r;return(r=a==null?void 0:a.dataset)==null?void 0:r.name}},children:[g(l,{element:o(ao,{}),loader:p,children:[o(l,{index:!0,element:o(u,{})}),o(l,{path:"experiments",element:o(u,{})}),o(l,{path:"examples",element:o(Y,{}),loader:Q,children:o(l,{path:":exampleId",element:o(X,{})})}),o(l,{path:"versions",element:o(oo,{}),loader:Z}),o(l,{path:"evaluators",element:o(lo,{})})]}),o(l,{path:"compare",element:o(ro,{}),handle:{crumb:()=>"compare"}})]})]}),g(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(co,{})}),o(l,{path:"spans/:spanId",element:o(eo,{}),loader:go,handle:{crumb:a=>{var r;return(a==null?void 0:a.span.__typename)==="Span"?`span ${(r=a==null?void 0:a.span)==null?void 0:r.spanId}`:"span unknown"}}})]}),g(l,{path:"/prompts",handle:{crumb:()=>"Prompts"},children:[o(l,{index:!0,element:o(no,{}),loader:bo}),g(l,{path:":promptId",loader:io,shouldRevalidate:()=>!0,handle:{crumb:a=>{var r,i;return((r=a==null?void 0:a.prompt)==null?void 0:r.__typename)==="Prompt"?(i=a==null?void 0:a.prompt)==null?void 0:i.name:"prompt unknown"}},children:[g(l,{element:o(ho,{}),children:[o(l,{index:!0,element:o(so,{})}),o(l,{path:"versions",loader:to,element:o(po,{}),children:o(l,{path:":versionId",loader:f,element:o(mo,{})})}),o(l,{path:"config",element:o(fo,{}),loader:uo})]}),o(l,{path:"versions/:versionId",loader:f,handle:{crumb:a=>a==null?void 0:a.promptVersion.id},children:o(l,{path:"playground",element:o(v,{}),loader:h,handle:{crumb:()=>"playground"}})}),o(l,{path:"playground",element:o(v,{}),loader:h,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(vo,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(yo,{}),handle:{crumb:()=>"Support"}}),g(l,{path:"/settings",element:o(Ao,{}),handle:{crumb:()=>"Settings"},children:[o(l,{path:"general",loader:xo,element:o(zo,{}),handle:{crumb:()=>"General"}}),o(l,{path:"providers",loader:wo,element:o(Po,{}),handle:{crumb:()=>"AI Providers"}}),o(l,{path:"models",loader:ko,element:o(So,{}),handle:{crumb:()=>"Models"}}),o(l,{path:"datasets",element:o(Lo,{}),handle:{crumb:()=>"Datasets"}}),o(l,{path:"annotations",loader:_o,element:o(Eo,{}),handle:{crumb:()=>"Annotations"}}),o(l,{path:"data",element:o(Io,{}),handle:{crumb:()=>"Data Retention"},loader:Ro}),o(l,{path:"prompts",element:o(jo,{}),loader:Co,handle:{crumb:()=>"Prompts"}})]}),o(l,{path:"/redirects/spans/:span_otel_id",loader:Do,errorElement:o(s,{})}),o(l,{path:"/redirects/traces/:trace_otel_id",loader:To,errorElement:o(s,{})}),o(l,{path:"/redirects/sessions/:session_id",loader:Oo,errorElement:o(s,{})})]})})]})),{basename:window.Config.basename});function el(){return o(w,{router:gl})}function bl(){return o(Go,{children:o(Bo,{children:o(nl,{})})})}function nl(){return g(S.RelayEnvironmentProvider,{environment:$o,children:[o(cl,{}),o(Wo,{children:o(Ko,{children:o(No,{children:o(k.Suspense,{children:o(el,{})})})})})]})}const il=document.getElementById("root"),sl=L.createRoot(il);sl.render(o(bl,{}));