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.
- {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/METADATA +61 -36
- {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/RECORD +212 -162
- {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/WHEEL +1 -1
- {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/licenses/IP_NOTICE +1 -1
- phoenix/__generated__/__init__.py +0 -0
- phoenix/__generated__/classification_evaluator_configs/__init__.py +20 -0
- phoenix/__generated__/classification_evaluator_configs/_document_relevance_classification_evaluator_config.py +17 -0
- phoenix/__generated__/classification_evaluator_configs/_hallucination_classification_evaluator_config.py +17 -0
- phoenix/__generated__/classification_evaluator_configs/_models.py +18 -0
- phoenix/__generated__/classification_evaluator_configs/_tool_selection_classification_evaluator_config.py +17 -0
- phoenix/__init__.py +2 -1
- phoenix/auth.py +27 -2
- phoenix/config.py +1594 -81
- phoenix/db/README.md +546 -28
- phoenix/db/bulk_inserter.py +119 -116
- phoenix/db/engines.py +140 -33
- phoenix/db/facilitator.py +22 -1
- phoenix/db/helpers.py +818 -65
- phoenix/db/iam_auth.py +64 -0
- phoenix/db/insertion/dataset.py +133 -1
- phoenix/db/insertion/document_annotation.py +9 -6
- phoenix/db/insertion/evaluation.py +2 -3
- phoenix/db/insertion/helpers.py +2 -2
- phoenix/db/insertion/session_annotation.py +176 -0
- phoenix/db/insertion/span_annotation.py +3 -4
- phoenix/db/insertion/trace_annotation.py +3 -4
- phoenix/db/insertion/types.py +41 -18
- phoenix/db/migrations/versions/01a8342c9cdf_add_user_id_on_datasets.py +40 -0
- phoenix/db/migrations/versions/0df286449799_add_session_annotations_table.py +105 -0
- phoenix/db/migrations/versions/272b66ff50f8_drop_single_indices.py +119 -0
- phoenix/db/migrations/versions/58228d933c91_dataset_labels.py +67 -0
- phoenix/db/migrations/versions/699f655af132_experiment_tags.py +57 -0
- phoenix/db/migrations/versions/735d3d93c33e_add_composite_indices.py +41 -0
- phoenix/db/migrations/versions/ab513d89518b_add_user_id_on_dataset_versions.py +40 -0
- phoenix/db/migrations/versions/d0690a79ea51_users_on_experiments.py +40 -0
- phoenix/db/migrations/versions/deb2c81c0bb2_dataset_splits.py +139 -0
- phoenix/db/migrations/versions/e76cbd66ffc3_add_experiments_dataset_examples.py +87 -0
- phoenix/db/models.py +364 -56
- phoenix/db/pg_config.py +10 -0
- phoenix/db/types/trace_retention.py +7 -6
- phoenix/experiments/functions.py +69 -19
- phoenix/inferences/inferences.py +1 -2
- phoenix/server/api/auth.py +9 -0
- phoenix/server/api/auth_messages.py +46 -0
- phoenix/server/api/context.py +60 -0
- phoenix/server/api/dataloaders/__init__.py +36 -0
- phoenix/server/api/dataloaders/annotation_summaries.py +60 -8
- phoenix/server/api/dataloaders/average_experiment_repeated_run_group_latency.py +50 -0
- phoenix/server/api/dataloaders/average_experiment_run_latency.py +17 -24
- phoenix/server/api/dataloaders/cache/two_tier_cache.py +1 -2
- phoenix/server/api/dataloaders/dataset_dataset_splits.py +52 -0
- phoenix/server/api/dataloaders/dataset_example_revisions.py +0 -1
- phoenix/server/api/dataloaders/dataset_example_splits.py +40 -0
- phoenix/server/api/dataloaders/dataset_examples_and_versions_by_experiment_run.py +47 -0
- phoenix/server/api/dataloaders/dataset_labels.py +36 -0
- phoenix/server/api/dataloaders/document_evaluation_summaries.py +2 -2
- phoenix/server/api/dataloaders/document_evaluations.py +6 -9
- phoenix/server/api/dataloaders/experiment_annotation_summaries.py +88 -34
- phoenix/server/api/dataloaders/experiment_dataset_splits.py +43 -0
- phoenix/server/api/dataloaders/experiment_error_rates.py +21 -28
- phoenix/server/api/dataloaders/experiment_repeated_run_group_annotation_summaries.py +77 -0
- phoenix/server/api/dataloaders/experiment_repeated_run_groups.py +57 -0
- phoenix/server/api/dataloaders/experiment_runs_by_experiment_and_example.py +44 -0
- phoenix/server/api/dataloaders/latency_ms_quantile.py +40 -8
- phoenix/server/api/dataloaders/record_counts.py +37 -10
- phoenix/server/api/dataloaders/session_annotations_by_session.py +29 -0
- phoenix/server/api/dataloaders/span_cost_summary_by_experiment_repeated_run_group.py +64 -0
- phoenix/server/api/dataloaders/span_cost_summary_by_project.py +28 -14
- phoenix/server/api/dataloaders/span_costs.py +3 -9
- phoenix/server/api/dataloaders/table_fields.py +2 -2
- phoenix/server/api/dataloaders/token_prices_by_model.py +30 -0
- phoenix/server/api/dataloaders/trace_annotations_by_trace.py +27 -0
- phoenix/server/api/exceptions.py +5 -1
- phoenix/server/api/helpers/playground_clients.py +263 -83
- phoenix/server/api/helpers/playground_spans.py +2 -1
- phoenix/server/api/helpers/playground_users.py +26 -0
- phoenix/server/api/helpers/prompts/conversions/google.py +103 -0
- phoenix/server/api/helpers/prompts/models.py +61 -19
- phoenix/server/api/input_types/{SpanAnnotationFilter.py → AnnotationFilter.py} +22 -14
- phoenix/server/api/input_types/ChatCompletionInput.py +3 -0
- phoenix/server/api/input_types/CreateProjectSessionAnnotationInput.py +37 -0
- phoenix/server/api/input_types/DatasetFilter.py +5 -2
- phoenix/server/api/input_types/ExperimentRunSort.py +237 -0
- phoenix/server/api/input_types/GenerativeModelInput.py +3 -0
- phoenix/server/api/input_types/ProjectSessionSort.py +158 -1
- phoenix/server/api/input_types/PromptVersionInput.py +47 -1
- phoenix/server/api/input_types/SpanSort.py +3 -2
- phoenix/server/api/input_types/UpdateAnnotationInput.py +34 -0
- phoenix/server/api/input_types/UserRoleInput.py +1 -0
- phoenix/server/api/mutations/__init__.py +8 -0
- phoenix/server/api/mutations/annotation_config_mutations.py +8 -8
- phoenix/server/api/mutations/api_key_mutations.py +15 -20
- phoenix/server/api/mutations/chat_mutations.py +106 -37
- phoenix/server/api/mutations/dataset_label_mutations.py +243 -0
- phoenix/server/api/mutations/dataset_mutations.py +21 -16
- phoenix/server/api/mutations/dataset_split_mutations.py +351 -0
- phoenix/server/api/mutations/experiment_mutations.py +2 -2
- phoenix/server/api/mutations/export_events_mutations.py +3 -3
- phoenix/server/api/mutations/model_mutations.py +11 -9
- phoenix/server/api/mutations/project_mutations.py +4 -4
- phoenix/server/api/mutations/project_session_annotations_mutations.py +158 -0
- phoenix/server/api/mutations/project_trace_retention_policy_mutations.py +8 -4
- phoenix/server/api/mutations/prompt_label_mutations.py +74 -65
- phoenix/server/api/mutations/prompt_mutations.py +65 -129
- phoenix/server/api/mutations/prompt_version_tag_mutations.py +11 -8
- phoenix/server/api/mutations/span_annotations_mutations.py +15 -10
- phoenix/server/api/mutations/trace_annotations_mutations.py +13 -8
- phoenix/server/api/mutations/trace_mutations.py +3 -3
- phoenix/server/api/mutations/user_mutations.py +55 -26
- phoenix/server/api/queries.py +501 -617
- phoenix/server/api/routers/__init__.py +2 -2
- phoenix/server/api/routers/auth.py +141 -87
- phoenix/server/api/routers/ldap.py +229 -0
- phoenix/server/api/routers/oauth2.py +349 -101
- phoenix/server/api/routers/v1/__init__.py +22 -4
- phoenix/server/api/routers/v1/annotation_configs.py +19 -30
- phoenix/server/api/routers/v1/annotations.py +455 -13
- phoenix/server/api/routers/v1/datasets.py +355 -68
- phoenix/server/api/routers/v1/documents.py +142 -0
- phoenix/server/api/routers/v1/evaluations.py +20 -28
- phoenix/server/api/routers/v1/experiment_evaluations.py +16 -6
- phoenix/server/api/routers/v1/experiment_runs.py +335 -59
- phoenix/server/api/routers/v1/experiments.py +475 -47
- phoenix/server/api/routers/v1/projects.py +16 -50
- phoenix/server/api/routers/v1/prompts.py +50 -39
- phoenix/server/api/routers/v1/sessions.py +108 -0
- phoenix/server/api/routers/v1/spans.py +156 -96
- phoenix/server/api/routers/v1/traces.py +51 -77
- phoenix/server/api/routers/v1/users.py +64 -24
- phoenix/server/api/routers/v1/utils.py +3 -7
- phoenix/server/api/subscriptions.py +257 -93
- phoenix/server/api/types/Annotation.py +90 -23
- phoenix/server/api/types/ApiKey.py +13 -17
- phoenix/server/api/types/AuthMethod.py +1 -0
- phoenix/server/api/types/ChatCompletionSubscriptionPayload.py +1 -0
- phoenix/server/api/types/Dataset.py +199 -72
- phoenix/server/api/types/DatasetExample.py +88 -18
- phoenix/server/api/types/DatasetExperimentAnnotationSummary.py +10 -0
- phoenix/server/api/types/DatasetLabel.py +57 -0
- phoenix/server/api/types/DatasetSplit.py +98 -0
- phoenix/server/api/types/DatasetVersion.py +49 -4
- phoenix/server/api/types/DocumentAnnotation.py +212 -0
- phoenix/server/api/types/Experiment.py +215 -68
- phoenix/server/api/types/ExperimentComparison.py +3 -9
- phoenix/server/api/types/ExperimentRepeatedRunGroup.py +155 -0
- phoenix/server/api/types/ExperimentRepeatedRunGroupAnnotationSummary.py +9 -0
- phoenix/server/api/types/ExperimentRun.py +120 -70
- phoenix/server/api/types/ExperimentRunAnnotation.py +158 -39
- phoenix/server/api/types/GenerativeModel.py +95 -42
- phoenix/server/api/types/GenerativeProvider.py +1 -1
- phoenix/server/api/types/ModelInterface.py +7 -2
- phoenix/server/api/types/PlaygroundModel.py +12 -2
- phoenix/server/api/types/Project.py +218 -185
- phoenix/server/api/types/ProjectSession.py +146 -29
- phoenix/server/api/types/ProjectSessionAnnotation.py +187 -0
- phoenix/server/api/types/ProjectTraceRetentionPolicy.py +1 -1
- phoenix/server/api/types/Prompt.py +119 -39
- phoenix/server/api/types/PromptLabel.py +42 -25
- phoenix/server/api/types/PromptVersion.py +11 -8
- phoenix/server/api/types/PromptVersionTag.py +65 -25
- phoenix/server/api/types/Span.py +130 -123
- phoenix/server/api/types/SpanAnnotation.py +189 -42
- phoenix/server/api/types/SystemApiKey.py +65 -1
- phoenix/server/api/types/Trace.py +184 -53
- phoenix/server/api/types/TraceAnnotation.py +149 -50
- phoenix/server/api/types/User.py +128 -33
- phoenix/server/api/types/UserApiKey.py +73 -26
- phoenix/server/api/types/node.py +10 -0
- phoenix/server/api/types/pagination.py +11 -2
- phoenix/server/app.py +154 -36
- phoenix/server/authorization.py +5 -4
- phoenix/server/bearer_auth.py +13 -5
- phoenix/server/cost_tracking/cost_model_lookup.py +42 -14
- phoenix/server/cost_tracking/model_cost_manifest.json +1085 -194
- phoenix/server/daemons/generative_model_store.py +61 -9
- phoenix/server/daemons/span_cost_calculator.py +10 -8
- phoenix/server/dml_event.py +13 -0
- phoenix/server/email/sender.py +29 -2
- phoenix/server/grpc_server.py +9 -9
- phoenix/server/jwt_store.py +8 -6
- phoenix/server/ldap.py +1449 -0
- phoenix/server/main.py +9 -3
- phoenix/server/oauth2.py +330 -12
- phoenix/server/prometheus.py +43 -6
- phoenix/server/rate_limiters.py +4 -9
- phoenix/server/retention.py +33 -20
- phoenix/server/session_filters.py +49 -0
- phoenix/server/static/.vite/manifest.json +51 -53
- phoenix/server/static/assets/components-BreFUQQa.js +6702 -0
- phoenix/server/static/assets/{index-BPCwGQr8.js → index-CTQoemZv.js} +42 -35
- phoenix/server/static/assets/pages-DBE5iYM3.js +9524 -0
- phoenix/server/static/assets/vendor-BGzfc4EU.css +1 -0
- phoenix/server/static/assets/vendor-DCE4v-Ot.js +920 -0
- phoenix/server/static/assets/vendor-codemirror-D5f205eT.js +25 -0
- phoenix/server/static/assets/{vendor-recharts-Bw30oz1A.js → vendor-recharts-V9cwpXsm.js} +7 -7
- phoenix/server/static/assets/{vendor-shiki-DZajAPeq.js → vendor-shiki-Do--csgv.js} +1 -1
- phoenix/server/static/assets/vendor-three-CmB8bl_y.js +3840 -0
- phoenix/server/templates/index.html +7 -1
- phoenix/server/thread_server.py +1 -2
- phoenix/server/utils.py +74 -0
- phoenix/session/client.py +55 -1
- phoenix/session/data_extractor.py +5 -0
- phoenix/session/evaluation.py +8 -4
- phoenix/session/session.py +44 -8
- phoenix/settings.py +2 -0
- phoenix/trace/attributes.py +80 -13
- phoenix/trace/dsl/query.py +2 -0
- phoenix/trace/projects.py +5 -0
- phoenix/utilities/template_formatters.py +1 -1
- phoenix/version.py +1 -1
- phoenix/server/api/types/Evaluation.py +0 -39
- phoenix/server/static/assets/components-D0DWAf0l.js +0 -5650
- phoenix/server/static/assets/pages-Creyamao.js +0 -8612
- phoenix/server/static/assets/vendor-CU36oj8y.js +0 -905
- phoenix/server/static/assets/vendor-CqDb5u4o.css +0 -1
- phoenix/server/static/assets/vendor-arizeai-Ctgw0e1G.js +0 -168
- phoenix/server/static/assets/vendor-codemirror-Cojjzqb9.js +0 -25
- phoenix/server/static/assets/vendor-three-BLWp5bic.js +0 -2998
- phoenix/utilities/deprecation.py +0 -31
- {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-11.23.1.dist-info → arize_phoenix-12.28.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
917
|
+
`,Yo=a=>e`
|
|
919
918
|
:root,
|
|
920
|
-
.ac-theme--${
|
|
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-
|
|
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-
|
|
993
|
-
--ac-global-menu-background-color: var(--ac-global-color-grey-
|
|
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
|
-
`,
|
|
1085
|
+
`,Zo=e`
|
|
1073
1086
|
:root,
|
|
1074
1087
|
.ac-theme {
|
|
1075
1088
|
--ac-opacity-disabled: 0.6;
|
|
1076
1089
|
}
|
|
1077
|
-
`,
|
|
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.
|
|
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:
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
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
|
-
`,
|
|
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
|
|
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,{}));
|