arize-phoenix 11.23.1__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 (221) hide show
  1. {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/METADATA +61 -36
  2. {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/RECORD +212 -162
  3. {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/WHEEL +1 -1
  4. {arize_phoenix-11.23.1.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 +2 -1
  12. phoenix/auth.py +27 -2
  13. phoenix/config.py +1594 -81
  14. phoenix/db/README.md +546 -28
  15. phoenix/db/bulk_inserter.py +119 -116
  16. phoenix/db/engines.py +140 -33
  17. phoenix/db/facilitator.py +22 -1
  18. phoenix/db/helpers.py +818 -65
  19. phoenix/db/iam_auth.py +64 -0
  20. phoenix/db/insertion/dataset.py +133 -1
  21. phoenix/db/insertion/document_annotation.py +9 -6
  22. phoenix/db/insertion/evaluation.py +2 -3
  23. phoenix/db/insertion/helpers.py +2 -2
  24. phoenix/db/insertion/session_annotation.py +176 -0
  25. phoenix/db/insertion/span_annotation.py +3 -4
  26. phoenix/db/insertion/trace_annotation.py +3 -4
  27. phoenix/db/insertion/types.py +41 -18
  28. phoenix/db/migrations/versions/01a8342c9cdf_add_user_id_on_datasets.py +40 -0
  29. phoenix/db/migrations/versions/0df286449799_add_session_annotations_table.py +105 -0
  30. phoenix/db/migrations/versions/272b66ff50f8_drop_single_indices.py +119 -0
  31. phoenix/db/migrations/versions/58228d933c91_dataset_labels.py +67 -0
  32. phoenix/db/migrations/versions/699f655af132_experiment_tags.py +57 -0
  33. phoenix/db/migrations/versions/735d3d93c33e_add_composite_indices.py +41 -0
  34. phoenix/db/migrations/versions/ab513d89518b_add_user_id_on_dataset_versions.py +40 -0
  35. phoenix/db/migrations/versions/d0690a79ea51_users_on_experiments.py +40 -0
  36. phoenix/db/migrations/versions/deb2c81c0bb2_dataset_splits.py +139 -0
  37. phoenix/db/migrations/versions/e76cbd66ffc3_add_experiments_dataset_examples.py +87 -0
  38. phoenix/db/models.py +364 -56
  39. phoenix/db/pg_config.py +10 -0
  40. phoenix/db/types/trace_retention.py +7 -6
  41. phoenix/experiments/functions.py +69 -19
  42. phoenix/inferences/inferences.py +1 -2
  43. phoenix/server/api/auth.py +9 -0
  44. phoenix/server/api/auth_messages.py +46 -0
  45. phoenix/server/api/context.py +60 -0
  46. phoenix/server/api/dataloaders/__init__.py +36 -0
  47. phoenix/server/api/dataloaders/annotation_summaries.py +60 -8
  48. phoenix/server/api/dataloaders/average_experiment_repeated_run_group_latency.py +50 -0
  49. phoenix/server/api/dataloaders/average_experiment_run_latency.py +17 -24
  50. phoenix/server/api/dataloaders/cache/two_tier_cache.py +1 -2
  51. phoenix/server/api/dataloaders/dataset_dataset_splits.py +52 -0
  52. phoenix/server/api/dataloaders/dataset_example_revisions.py +0 -1
  53. phoenix/server/api/dataloaders/dataset_example_splits.py +40 -0
  54. phoenix/server/api/dataloaders/dataset_examples_and_versions_by_experiment_run.py +47 -0
  55. phoenix/server/api/dataloaders/dataset_labels.py +36 -0
  56. phoenix/server/api/dataloaders/document_evaluation_summaries.py +2 -2
  57. phoenix/server/api/dataloaders/document_evaluations.py +6 -9
  58. phoenix/server/api/dataloaders/experiment_annotation_summaries.py +88 -34
  59. phoenix/server/api/dataloaders/experiment_dataset_splits.py +43 -0
  60. phoenix/server/api/dataloaders/experiment_error_rates.py +21 -28
  61. phoenix/server/api/dataloaders/experiment_repeated_run_group_annotation_summaries.py +77 -0
  62. phoenix/server/api/dataloaders/experiment_repeated_run_groups.py +57 -0
  63. phoenix/server/api/dataloaders/experiment_runs_by_experiment_and_example.py +44 -0
  64. phoenix/server/api/dataloaders/latency_ms_quantile.py +40 -8
  65. phoenix/server/api/dataloaders/record_counts.py +37 -10
  66. phoenix/server/api/dataloaders/session_annotations_by_session.py +29 -0
  67. phoenix/server/api/dataloaders/span_cost_summary_by_experiment_repeated_run_group.py +64 -0
  68. phoenix/server/api/dataloaders/span_cost_summary_by_project.py +28 -14
  69. phoenix/server/api/dataloaders/span_costs.py +3 -9
  70. phoenix/server/api/dataloaders/table_fields.py +2 -2
  71. phoenix/server/api/dataloaders/token_prices_by_model.py +30 -0
  72. phoenix/server/api/dataloaders/trace_annotations_by_trace.py +27 -0
  73. phoenix/server/api/exceptions.py +5 -1
  74. phoenix/server/api/helpers/playground_clients.py +263 -83
  75. phoenix/server/api/helpers/playground_spans.py +2 -1
  76. phoenix/server/api/helpers/playground_users.py +26 -0
  77. phoenix/server/api/helpers/prompts/conversions/google.py +103 -0
  78. phoenix/server/api/helpers/prompts/models.py +61 -19
  79. phoenix/server/api/input_types/{SpanAnnotationFilter.py → AnnotationFilter.py} +22 -14
  80. phoenix/server/api/input_types/ChatCompletionInput.py +3 -0
  81. phoenix/server/api/input_types/CreateProjectSessionAnnotationInput.py +37 -0
  82. phoenix/server/api/input_types/DatasetFilter.py +5 -2
  83. phoenix/server/api/input_types/ExperimentRunSort.py +237 -0
  84. phoenix/server/api/input_types/GenerativeModelInput.py +3 -0
  85. phoenix/server/api/input_types/ProjectSessionSort.py +158 -1
  86. phoenix/server/api/input_types/PromptVersionInput.py +47 -1
  87. phoenix/server/api/input_types/SpanSort.py +3 -2
  88. phoenix/server/api/input_types/UpdateAnnotationInput.py +34 -0
  89. phoenix/server/api/input_types/UserRoleInput.py +1 -0
  90. phoenix/server/api/mutations/__init__.py +8 -0
  91. phoenix/server/api/mutations/annotation_config_mutations.py +8 -8
  92. phoenix/server/api/mutations/api_key_mutations.py +15 -20
  93. phoenix/server/api/mutations/chat_mutations.py +106 -37
  94. phoenix/server/api/mutations/dataset_label_mutations.py +243 -0
  95. phoenix/server/api/mutations/dataset_mutations.py +21 -16
  96. phoenix/server/api/mutations/dataset_split_mutations.py +351 -0
  97. phoenix/server/api/mutations/experiment_mutations.py +2 -2
  98. phoenix/server/api/mutations/export_events_mutations.py +3 -3
  99. phoenix/server/api/mutations/model_mutations.py +11 -9
  100. phoenix/server/api/mutations/project_mutations.py +4 -4
  101. phoenix/server/api/mutations/project_session_annotations_mutations.py +158 -0
  102. phoenix/server/api/mutations/project_trace_retention_policy_mutations.py +8 -4
  103. phoenix/server/api/mutations/prompt_label_mutations.py +74 -65
  104. phoenix/server/api/mutations/prompt_mutations.py +65 -129
  105. phoenix/server/api/mutations/prompt_version_tag_mutations.py +11 -8
  106. phoenix/server/api/mutations/span_annotations_mutations.py +15 -10
  107. phoenix/server/api/mutations/trace_annotations_mutations.py +13 -8
  108. phoenix/server/api/mutations/trace_mutations.py +3 -3
  109. phoenix/server/api/mutations/user_mutations.py +55 -26
  110. phoenix/server/api/queries.py +501 -617
  111. phoenix/server/api/routers/__init__.py +2 -2
  112. phoenix/server/api/routers/auth.py +141 -87
  113. phoenix/server/api/routers/ldap.py +229 -0
  114. phoenix/server/api/routers/oauth2.py +349 -101
  115. phoenix/server/api/routers/v1/__init__.py +22 -4
  116. phoenix/server/api/routers/v1/annotation_configs.py +19 -30
  117. phoenix/server/api/routers/v1/annotations.py +455 -13
  118. phoenix/server/api/routers/v1/datasets.py +355 -68
  119. phoenix/server/api/routers/v1/documents.py +142 -0
  120. phoenix/server/api/routers/v1/evaluations.py +20 -28
  121. phoenix/server/api/routers/v1/experiment_evaluations.py +16 -6
  122. phoenix/server/api/routers/v1/experiment_runs.py +335 -59
  123. phoenix/server/api/routers/v1/experiments.py +475 -47
  124. phoenix/server/api/routers/v1/projects.py +16 -50
  125. phoenix/server/api/routers/v1/prompts.py +50 -39
  126. phoenix/server/api/routers/v1/sessions.py +108 -0
  127. phoenix/server/api/routers/v1/spans.py +156 -96
  128. phoenix/server/api/routers/v1/traces.py +51 -77
  129. phoenix/server/api/routers/v1/users.py +64 -24
  130. phoenix/server/api/routers/v1/utils.py +3 -7
  131. phoenix/server/api/subscriptions.py +257 -93
  132. phoenix/server/api/types/Annotation.py +90 -23
  133. phoenix/server/api/types/ApiKey.py +13 -17
  134. phoenix/server/api/types/AuthMethod.py +1 -0
  135. phoenix/server/api/types/ChatCompletionSubscriptionPayload.py +1 -0
  136. phoenix/server/api/types/Dataset.py +199 -72
  137. phoenix/server/api/types/DatasetExample.py +88 -18
  138. phoenix/server/api/types/DatasetExperimentAnnotationSummary.py +10 -0
  139. phoenix/server/api/types/DatasetLabel.py +57 -0
  140. phoenix/server/api/types/DatasetSplit.py +98 -0
  141. phoenix/server/api/types/DatasetVersion.py +49 -4
  142. phoenix/server/api/types/DocumentAnnotation.py +212 -0
  143. phoenix/server/api/types/Experiment.py +215 -68
  144. phoenix/server/api/types/ExperimentComparison.py +3 -9
  145. phoenix/server/api/types/ExperimentRepeatedRunGroup.py +155 -0
  146. phoenix/server/api/types/ExperimentRepeatedRunGroupAnnotationSummary.py +9 -0
  147. phoenix/server/api/types/ExperimentRun.py +120 -70
  148. phoenix/server/api/types/ExperimentRunAnnotation.py +158 -39
  149. phoenix/server/api/types/GenerativeModel.py +95 -42
  150. phoenix/server/api/types/GenerativeProvider.py +1 -1
  151. phoenix/server/api/types/ModelInterface.py +7 -2
  152. phoenix/server/api/types/PlaygroundModel.py +12 -2
  153. phoenix/server/api/types/Project.py +218 -185
  154. phoenix/server/api/types/ProjectSession.py +146 -29
  155. phoenix/server/api/types/ProjectSessionAnnotation.py +187 -0
  156. phoenix/server/api/types/ProjectTraceRetentionPolicy.py +1 -1
  157. phoenix/server/api/types/Prompt.py +119 -39
  158. phoenix/server/api/types/PromptLabel.py +42 -25
  159. phoenix/server/api/types/PromptVersion.py +11 -8
  160. phoenix/server/api/types/PromptVersionTag.py +65 -25
  161. phoenix/server/api/types/Span.py +130 -123
  162. phoenix/server/api/types/SpanAnnotation.py +189 -42
  163. phoenix/server/api/types/SystemApiKey.py +65 -1
  164. phoenix/server/api/types/Trace.py +184 -53
  165. phoenix/server/api/types/TraceAnnotation.py +149 -50
  166. phoenix/server/api/types/User.py +128 -33
  167. phoenix/server/api/types/UserApiKey.py +73 -26
  168. phoenix/server/api/types/node.py +10 -0
  169. phoenix/server/api/types/pagination.py +11 -2
  170. phoenix/server/app.py +154 -36
  171. phoenix/server/authorization.py +5 -4
  172. phoenix/server/bearer_auth.py +13 -5
  173. phoenix/server/cost_tracking/cost_model_lookup.py +42 -14
  174. phoenix/server/cost_tracking/model_cost_manifest.json +1085 -194
  175. phoenix/server/daemons/generative_model_store.py +61 -9
  176. phoenix/server/daemons/span_cost_calculator.py +10 -8
  177. phoenix/server/dml_event.py +13 -0
  178. phoenix/server/email/sender.py +29 -2
  179. phoenix/server/grpc_server.py +9 -9
  180. phoenix/server/jwt_store.py +8 -6
  181. phoenix/server/ldap.py +1449 -0
  182. phoenix/server/main.py +9 -3
  183. phoenix/server/oauth2.py +330 -12
  184. phoenix/server/prometheus.py +43 -6
  185. phoenix/server/rate_limiters.py +4 -9
  186. phoenix/server/retention.py +33 -20
  187. phoenix/server/session_filters.py +49 -0
  188. phoenix/server/static/.vite/manifest.json +51 -53
  189. phoenix/server/static/assets/components-BreFUQQa.js +6702 -0
  190. phoenix/server/static/assets/{index-BPCwGQr8.js → index-CTQoemZv.js} +42 -35
  191. phoenix/server/static/assets/pages-DBE5iYM3.js +9524 -0
  192. phoenix/server/static/assets/vendor-BGzfc4EU.css +1 -0
  193. phoenix/server/static/assets/vendor-DCE4v-Ot.js +920 -0
  194. phoenix/server/static/assets/vendor-codemirror-D5f205eT.js +25 -0
  195. phoenix/server/static/assets/{vendor-recharts-Bw30oz1A.js → vendor-recharts-V9cwpXsm.js} +7 -7
  196. phoenix/server/static/assets/{vendor-shiki-DZajAPeq.js → vendor-shiki-Do--csgv.js} +1 -1
  197. phoenix/server/static/assets/vendor-three-CmB8bl_y.js +3840 -0
  198. phoenix/server/templates/index.html +7 -1
  199. phoenix/server/thread_server.py +1 -2
  200. phoenix/server/utils.py +74 -0
  201. phoenix/session/client.py +55 -1
  202. phoenix/session/data_extractor.py +5 -0
  203. phoenix/session/evaluation.py +8 -4
  204. phoenix/session/session.py +44 -8
  205. phoenix/settings.py +2 -0
  206. phoenix/trace/attributes.py +80 -13
  207. phoenix/trace/dsl/query.py +2 -0
  208. phoenix/trace/projects.py +5 -0
  209. phoenix/utilities/template_formatters.py +1 -1
  210. phoenix/version.py +1 -1
  211. phoenix/server/api/types/Evaluation.py +0 -39
  212. phoenix/server/static/assets/components-D0DWAf0l.js +0 -5650
  213. phoenix/server/static/assets/pages-Creyamao.js +0 -8612
  214. phoenix/server/static/assets/vendor-CU36oj8y.js +0 -905
  215. phoenix/server/static/assets/vendor-CqDb5u4o.css +0 -1
  216. phoenix/server/static/assets/vendor-arizeai-Ctgw0e1G.js +0 -168
  217. phoenix/server/static/assets/vendor-codemirror-Cojjzqb9.js +0 -25
  218. phoenix/server/static/assets/vendor-three-BLWp5bic.js +0 -2998
  219. phoenix/utilities/deprecation.py +0 -31
  220. {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/entry_points.txt +0 -0
  221. {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,5 @@
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-CU36oj8y.js";import{r as k,s as S}from"./vendor-arizeai-Ctgw0e1G.js";import{L,g as C,r as R,h as j,i as I,F as E,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 W,w as B,x as U,y as K,z as $,B as H,C as J,G as X,H as Q,I as Y,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 Io,ak as Eo,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 Wo,ax as Bo,ay as n,az as Uo,aA as Ko,aB as $o,aC as Ho,aD as Jo,aE as Xo,aF as Qo}from"./pages-Creyamao.js";import{fI as Yo,cX as Zo,U as oa,fJ as aa,fK as la}from"./components-D0DWAf0l.js";import"./vendor-three-BLWp5bic.js";import"./vendor-codemirror-Cojjzqb9.js";import"./vendor-shiki-DZajAPeq.js";import"./vendor-recharts-Bw30oz1A.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
+ 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`
2
3
  :root,
3
4
  .ac-theme {
4
5
  --ac-global-dimension-scale-factor: 1;
@@ -54,7 +55,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
55
  --ac-global-dimension-size-5000: 400px;
55
56
  --ac-global-dimension-size-6000: 480px;
56
57
  }
57
- `,ca=g`
58
+ `,Ho=e`
58
59
  :root,
59
60
  .ac-theme {
60
61
  // static colors
@@ -71,7 +72,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
72
  --ac-global-button-height-s: var(--ac-global-input-height-s);
72
73
  --ac-global-button-height-m: var(--ac-global-input-height-m);
73
74
  }
74
- `,ga=g`
75
+ `,Jo=e`
75
76
  :root,
76
77
  .ac-theme {
77
78
  --ac-global-dimension-static-size-0: 0px;
@@ -152,11 +153,14 @@ 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
153
  --ac-global-dimension-font-size-1200: 50px;
153
154
  --ac-global-dimension-font-size-1300: 60px;
154
155
  }
155
- `,ea=g`
156
+ `,Qo=e`
156
157
  :root,
157
158
  .ac-theme--dark {
158
159
  /* Colors */
159
160
 
161
+ // sync system elements like the scrollbar with the theme
162
+ color-scheme: dark;
163
+
160
164
  // The newer grays (grey)
161
165
  --ac-global-color-grey-50-rgb: 0, 0, 0;
162
166
  --ac-global-color-grey-50: rgb(var(--ac-global-color-grey-50-rgb));
@@ -649,10 +653,6 @@ 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
649
653
  --ac-global-color-severe-700: rgba(var(--ac-global-color-severe-rgb), 0.7);
650
654
  --ac-global-color-severe-500: rgba(var(--ac-global-color-severe-rgb), 0.5);
651
655
 
652
- // Designation colors
653
- --ac-global-color-designation-purple: #bb9ff9;
654
- --ac-global-color-designation-turquoise: #9efcfd;
655
-
656
656
  --ac-global-text-color-900: rgba(255, 255, 255, 0.9);
657
657
  --ac-global-text-color-700: rgba(255, 255, 255, 0.7);
658
658
  --ac-global-text-color-500: rgba(255, 255, 255, 0.5);
@@ -666,11 +666,14 @@ 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
+ `,Xo=e`
670
670
  :root,
671
671
  .ac-theme--light {
672
672
  /* Colors */
673
673
 
674
+ // sync system elements like the scrollbar with the theme
675
+ color-scheme: light;
676
+
674
677
  // The newer grays (grey)
675
678
  --ac-global-color-grey-50-rgb: 255, 255, 255;
676
679
  --ac-global-color-grey-50: rgb(var(--ac-global-color-grey-50-rgb));
@@ -899,10 +902,6 @@ 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
899
902
  --ac-global-color-severe-700: rgba(188, 76, 0, 0.7);
900
903
  --ac-global-color-severe-500: rgba(188, 76, 0, 0.5);
901
904
 
902
- // Designation colors
903
- --ac-global-color-designation-purple: #4500d9;
904
- --ac-global-color-designation-turquoise: #00add0;
905
-
906
905
  --ac-global-text-color-900: rgba(0, 0, 0, 0.9);
907
906
  --ac-global-text-color-700: rgba(0, 0, 0, 0.7);
908
907
  --ac-global-text-color-500: rgba(0, 0, 0, 0.5);
@@ -915,9 +914,9 @@ 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
914
  --ac-floating-toolbar-background-color: var(--ac-global-color-grey-75);
916
915
  --ac-floating-toolbar-border-color: var(--ac-global-color-grey-200);
917
916
  }
918
- `,na=l=>g`
917
+ `,Yo=a=>e`
919
918
  :root,
920
- .ac-theme--${l} {
919
+ .ac-theme--${a} {
921
920
  // The primary color tint for the apps
922
921
  --ac-global-color-primary: var(--ac-global-color-grey-900);
923
922
  --ac-global-color-primary-900: rgba(
@@ -973,7 +972,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
973
972
 
974
973
  --ac-highlight-foreground: var(--ac-global-text-color-900);
975
974
  --ac-highlight-background: var(--ac-global-color-primary-100);
976
- --ac-hover-background: var(--ac-global-color-primary-100);
975
+ --ac-hover-background: var(--ac-global-color-primary-50);
977
976
  --ac-focus-ring-color: var(--ac-global-color-primary-500);
978
977
 
979
978
  // Text
@@ -989,8 +988,8 @@ 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
989
988
  );
990
989
 
991
990
  // 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);
991
+ --ac-global-menu-border-color: var(--ac-global-color-grey-300);
992
+ --ac-global-menu-background-color: var(--ac-global-color-grey-50);
994
993
  --ac-global-menu-item-background-color-hover: var(
995
994
  --ac-global-color-grey-300
996
995
  );
@@ -1021,6 +1020,16 @@ 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
1021
1020
  );
1022
1021
  --ac-global-button-success-border-color: var(--ac-global-color-success);
1023
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
+
1024
1033
  // Styles for disclosure
1025
1034
  --ac-global-disclosure-background-color-active: rgba(
1026
1035
  var(--ac-global-color-grey-900-rgb),
@@ -1034,6 +1043,10 @@ 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
1034
1043
  // Style for cards
1035
1044
  --ac-global-card-header-height: 46px;
1036
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
+
1037
1050
  --ac-global-rounding-xsmall: var(--ac-global-dimension-static-size-25);
1038
1051
  --ac-global-rounding-small: var(--ac-global-dimension-static-size-50);
1039
1052
  --ac-global-rounding-medium: var(--ac-global-dimension-static-size-100);
@@ -1069,12 +1082,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
1069
1082
  --ac-alias-single-line-height: var(--ac-global-dimension-size-400);
1070
1083
  --ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
1071
1084
  }
1072
- `,ia=g`
1085
+ `,Zo=e`
1073
1086
  :root,
1074
1087
  .ac-theme {
1075
1088
  --ac-opacity-disabled: 0.6;
1076
1089
  }
1077
- `,sa=g`
1090
+ `,ol=e`
1078
1091
  body,
1079
1092
  input,
1080
1093
  button,
@@ -1148,7 +1161,8 @@ 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
1148
1161
  --px-section-background-color: #2f353d;
1149
1162
 
1150
1163
  /** The color of shadows on menus etc. */
1151
- --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);
1152
1166
 
1153
1167
  /* An item is a typically something in a list */
1154
1168
  --px-item-background-color: #1d2126;
@@ -1181,7 +1195,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
1181
1195
  --ac-global-line-height-xxl: 48px;
1182
1196
 
1183
1197
  /* Fields */
1184
- --ac-global-input-field-min-width: 200px;
1198
+ --ac-global-input-field-min-width: 100px;
1185
1199
 
1186
1200
  /* Modal */
1187
1201
  --ac-global-modal-width-S: 500px;
@@ -1199,6 +1213,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
1199
1213
  --px-reference-color--transparent: #baa1f982;
1200
1214
  --px-corpus-color: #92969c;
1201
1215
  --px-corpus-color--transparent: #92969c63;
1216
+ --px-overlay-shadow-color: rgba(0, 0, 0, 0.6);
1202
1217
  }
1203
1218
  .ac-theme--light {
1204
1219
  --px-primary-color: #00add0;
@@ -1207,8 +1222,9 @@ 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
1207
1222
  --px-reference-color--transparent: rgba(69, 0, 217, 0.2);
1208
1223
  --px-corpus-color: #92969c;
1209
1224
  --px-corpus-color--transparent: #92969c63;
1225
+ --px-overlay-shadow-color: rgba(0, 0, 0, 0.1);
1210
1226
  }
1211
- `,ta=g`
1227
+ `,ll=e`
1212
1228
  .ac-theme--light {
1213
1229
  .cm-editor {
1214
1230
  background-color: rgba(255, 255, 255, 0.5) !important;
@@ -1225,16 +1241,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
1225
1241
  background-color: rgba(0, 0, 0, 0.2) !important;
1226
1242
  }
1227
1243
  }
1228
- `,da=g`
1229
- .react-grid-item.react-grid-placeholder {
1230
- // the placeholder doesn't look good
1231
- background: var(--ac-global-color-blue-500);
1232
- opacity: 0.1;
1233
- }
1234
- .ac-theme--dark .react-resizable-handle {
1235
- filter: invert(1);
1236
- }
1237
- `,ma=g`
1244
+ `,al=e`
1238
1245
  .ac-theme {
1239
1246
  --chart-cartesian-grid-stroke-color: var(--ac-global-color-grey-300);
1240
1247
  --chart-axis-stroke-color: var(--ac-global-color-grey-300);
@@ -1248,7 +1255,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
1248
1255
  .ac-theme--light {
1249
1256
  --chart-tooltip-cursor-fill-color: rgba(0, 0, 0, 0.05);
1250
1257
  }
1251
- `,pa=g`
1258
+ `,rl=e`
1252
1259
  .font-default {
1253
1260
  font-family: "Geist", sans-serif;
1254
1261
  font-optical-sizing: auto;
@@ -1258,4 +1265,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
1258
1265
  font-family: "Geist Mono", monospace;
1259
1266
  font-optical-sizing: auto;
1260
1267
  }
1261
- `;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(I,{})}),o(a,{path:"/forgot-password",element:o(E,{})}),o(a,{element:o(Ho,{}),loader:D,children:r(a,{element:o($o,{}),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(Y,{}),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(X,{}),children:[o(a,{path:"traces",element:o(W,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o(B,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o($,{}),children:o(a,{path:":sessionId",element:o(K,{}),loader:U})}),o(a,{path:"config",element:o(H,{})}),o(a,{path:"metrics",element:o(J,{})})]})]})]}),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(Io,{}),loader:jo,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(Eo,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Do,{}),handle:{crumb:()=>"Support"}}),r(a,{path:"/settings",element:o(Wo,{}),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:Bo,errorElement:o(n,{})}),o(a,{path:"/redirects/traces/:trace_otel_id",loader:Uo,errorElement:o(n,{})}),o(a,{path:"/redirects/sessions/:session_id",loader:Ko,errorElement:o(n,{})})]})})]})),{basename:window.Config.basename});function ha(){return o(y,{router:fa})}function va(){return o(Jo,{children:o(Yo,{children:o(ya,{})})})}function ya(){const{theme:l}=Zo();return o(S,{theme:l,mountGlobalStyles:!1,children:r(w.RelayEnvironmentProvider,{environment:oa,children:[o(ua,{}),o(Xo,{children:o(aa,{children:o(Qo,{children:o(z.Suspense,{children:o(la,{children:o(ha,{})})})})})})]})})}const xa=document.getElementById("root"),za=P.createRoot(xa);za.render(o(va,{}));
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,{}));