arize-phoenix 12.8.0__py3-none-any.whl → 12.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of arize-phoenix might be problematic. Click here for more details.
- {arize_phoenix-12.8.0.dist-info → arize_phoenix-12.9.0.dist-info}/METADATA +3 -1
- {arize_phoenix-12.8.0.dist-info → arize_phoenix-12.9.0.dist-info}/RECORD +70 -67
- phoenix/config.py +131 -9
- phoenix/db/engines.py +127 -14
- phoenix/db/iam_auth.py +64 -0
- phoenix/db/pg_config.py +10 -0
- phoenix/server/api/context.py +23 -0
- phoenix/server/api/dataloaders/__init__.py +6 -0
- phoenix/server/api/dataloaders/experiment_repeated_run_groups.py +0 -2
- phoenix/server/api/dataloaders/experiment_runs_by_experiment_and_example.py +44 -0
- phoenix/server/api/dataloaders/span_costs.py +3 -9
- phoenix/server/api/dataloaders/token_prices_by_model.py +30 -0
- phoenix/server/api/helpers/playground_clients.py +3 -3
- phoenix/server/api/input_types/PromptVersionInput.py +47 -1
- phoenix/server/api/mutations/annotation_config_mutations.py +2 -2
- phoenix/server/api/mutations/api_key_mutations.py +2 -15
- phoenix/server/api/mutations/chat_mutations.py +3 -2
- phoenix/server/api/mutations/dataset_label_mutations.py +12 -6
- phoenix/server/api/mutations/dataset_mutations.py +8 -8
- phoenix/server/api/mutations/dataset_split_mutations.py +13 -9
- phoenix/server/api/mutations/model_mutations.py +4 -4
- phoenix/server/api/mutations/project_session_annotations_mutations.py +4 -7
- phoenix/server/api/mutations/prompt_label_mutations.py +3 -3
- phoenix/server/api/mutations/prompt_mutations.py +24 -117
- phoenix/server/api/mutations/prompt_version_tag_mutations.py +8 -5
- phoenix/server/api/mutations/span_annotations_mutations.py +10 -5
- phoenix/server/api/mutations/trace_annotations_mutations.py +9 -4
- phoenix/server/api/mutations/user_mutations.py +4 -4
- phoenix/server/api/queries.py +65 -210
- phoenix/server/api/subscriptions.py +4 -4
- phoenix/server/api/types/Annotation.py +90 -23
- phoenix/server/api/types/ApiKey.py +13 -17
- phoenix/server/api/types/Dataset.py +88 -48
- phoenix/server/api/types/DatasetExample.py +34 -30
- phoenix/server/api/types/DatasetLabel.py +47 -13
- phoenix/server/api/types/DatasetSplit.py +87 -21
- phoenix/server/api/types/DatasetVersion.py +49 -4
- phoenix/server/api/types/DocumentAnnotation.py +182 -62
- phoenix/server/api/types/Experiment.py +146 -55
- phoenix/server/api/types/ExperimentRepeatedRunGroup.py +10 -1
- phoenix/server/api/types/ExperimentRun.py +118 -61
- phoenix/server/api/types/ExperimentRunAnnotation.py +158 -39
- phoenix/server/api/types/GenerativeModel.py +95 -42
- phoenix/server/api/types/ModelInterface.py +7 -2
- phoenix/server/api/types/PlaygroundModel.py +12 -2
- phoenix/server/api/types/Project.py +70 -75
- phoenix/server/api/types/ProjectSession.py +69 -37
- phoenix/server/api/types/ProjectSessionAnnotation.py +166 -47
- phoenix/server/api/types/ProjectTraceRetentionPolicy.py +1 -1
- phoenix/server/api/types/Prompt.py +82 -44
- phoenix/server/api/types/PromptLabel.py +47 -13
- phoenix/server/api/types/PromptVersion.py +11 -8
- phoenix/server/api/types/PromptVersionTag.py +65 -25
- phoenix/server/api/types/Span.py +116 -115
- phoenix/server/api/types/SpanAnnotation.py +189 -42
- phoenix/server/api/types/SystemApiKey.py +65 -1
- phoenix/server/api/types/Trace.py +45 -44
- phoenix/server/api/types/TraceAnnotation.py +144 -48
- phoenix/server/api/types/User.py +103 -33
- phoenix/server/api/types/UserApiKey.py +73 -26
- phoenix/server/app.py +29 -0
- phoenix/server/static/.vite/manifest.json +9 -9
- phoenix/server/static/assets/{components-Bem6_7MW.js → components-v927s3NF.js} +427 -397
- phoenix/server/static/assets/{index-NdiXbuNL.js → index-DrD9eSrN.js} +9 -5
- phoenix/server/static/assets/{pages-CEJgMVKU.js → pages-GVybXa_W.js} +489 -486
- phoenix/version.py +1 -1
- {arize_phoenix-12.8.0.dist-info → arize_phoenix-12.9.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-12.8.0.dist-info → arize_phoenix-12.9.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-12.8.0.dist-info → arize_phoenix-12.9.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-12.8.0.dist-info → arize_phoenix-12.9.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as k,o as S,ej as L}from"./vendor-D-csRHGZ.js";import{u as R,P as C}from"./vendor-arizeai-BJLCG_Gc.js";import{L as E,h as I,r as j,i as A,j as D,F,k as T,P as M,l as G,M as t,n as _,D as O,o as V,E as N,p as q,q as W,s as B,t as U,v as d,w as $,x as J,y as K,z as H,B as Q,C as X,G as Y,H as Z,I as oo,J as ao,K as lo,N as m,O as p,Q as ro,U as co,V as go,W as eo,X as bo,Y as no,Z as io,_ as so,$ as to,a0 as mo,a1 as po,a2 as uo,a3 as fo,a4 as vo,a5 as ho,a6 as yo,a7 as u,a8 as xo,a9 as zo,aa as wo,ab as Po,ac as ko,ad as f,ae as v,af as So,ag as Lo,ah as Ro,ai as Co,aj as Eo,ak as Io,al as jo,am as Ao,an as Do,ao as Fo,ap as To,aq as Mo,ar as Go,as as _o,at as Oo,au as Vo,av as No,aw as n,ax as qo,ay as Wo,az as Bo,aA as Uo,aB as $o,aC as Jo,aD as Ko,aE as Ho}from"./pages-
|
|
1
|
+
import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as k,o as S,ej as L}from"./vendor-D-csRHGZ.js";import{u as R,P as C}from"./vendor-arizeai-BJLCG_Gc.js";import{L as E,h as I,r as j,i as A,j as D,F,k as T,P as M,l as G,M as t,n as _,D as O,o as V,E as N,p as q,q as W,s as B,t as U,v as d,w as $,x as J,y as K,z as H,B as Q,C as X,G as Y,H as Z,I as oo,J as ao,K as lo,N as m,O as p,Q as ro,U as co,V as go,W as eo,X as bo,Y as no,Z as io,_ as so,$ as to,a0 as mo,a1 as po,a2 as uo,a3 as fo,a4 as vo,a5 as ho,a6 as yo,a7 as u,a8 as xo,a9 as zo,aa as wo,ab as Po,ac as ko,ad as f,ae as v,af as So,ag as Lo,ah as Ro,ai as Co,aj as Eo,ak as Io,al as jo,am as Ao,an as Do,ao as Fo,ap as To,aq as Mo,ar as Go,as as _o,at as Oo,au as Vo,av as No,aw as n,ax as qo,ay as Wo,az as Bo,aA as Uo,aB as $o,aC as Jo,aD as Ko,aE as Ho}from"./pages-GVybXa_W.js";import{gc as Qo,d9 as Xo,R as Yo,gd as Zo}from"./components-v927s3NF.js";import"./vendor-three-BtCyLs1w.js";import"./vendor-codemirror-Cr963DyP.js";import"./vendor-shiki-wYOt1s7u.js";import"./vendor-recharts-DgmPLgIp.js";(function(){const b=document.createElement("link").relList;if(b&&b.supports&&b.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const e of r)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function h(r){const e={};return r.integrity&&(e.integrity=r.integrity),r.referrerPolicy&&(e.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?e.credentials="include":r.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function s(r){if(r.ep)return;r.ep=!0;const e=h(r);fetch(r.href,e)}})();const oa=g`
|
|
2
2
|
:root,
|
|
3
3
|
.ac-theme {
|
|
4
4
|
--ac-global-dimension-scale-factor: 1;
|
|
@@ -989,8 +989,8 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
|
|
|
989
989
|
);
|
|
990
990
|
|
|
991
991
|
// Styles for menus
|
|
992
|
-
--ac-global-menu-border-color: var(--ac-global-color-grey-
|
|
993
|
-
--ac-global-menu-background-color: var(--ac-global-color-grey-
|
|
992
|
+
--ac-global-menu-border-color: var(--ac-global-color-grey-300);
|
|
993
|
+
--ac-global-menu-background-color: var(--ac-global-color-grey-50);
|
|
994
994
|
--ac-global-menu-item-background-color-hover: var(
|
|
995
995
|
--ac-global-color-grey-300
|
|
996
996
|
);
|
|
@@ -1045,6 +1045,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
|
|
|
1045
1045
|
--ac-global-card-header-height: 46px;
|
|
1046
1046
|
|
|
1047
1047
|
// Style for popovers
|
|
1048
|
+
--ac-global-popover-border-color: var(--ac-global-color-grey-300);
|
|
1048
1049
|
--ac-global-popover-background-color: var(--ac-global-color-grey-50);
|
|
1049
1050
|
|
|
1050
1051
|
--ac-global-rounding-xsmall: var(--ac-global-dimension-static-size-25);
|
|
@@ -1161,7 +1162,8 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
|
|
|
1161
1162
|
--px-section-background-color: #2f353d;
|
|
1162
1163
|
|
|
1163
1164
|
/** The color of shadows on menus etc. */
|
|
1164
|
-
--px-overlay-shadow-color: rgba(0, 0, 0, 0.
|
|
1165
|
+
--px-overlay-shadow-color: rgba(0, 0, 0, 0.1);
|
|
1166
|
+
--px-overlay-box-shadow: 0px 8px 16px var(--px-overlay-shadow-color);
|
|
1165
1167
|
|
|
1166
1168
|
/* An item is a typically something in a list */
|
|
1167
1169
|
--px-item-background-color: #1d2126;
|
|
@@ -1194,7 +1196,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
|
|
|
1194
1196
|
--ac-global-line-height-xxl: 48px;
|
|
1195
1197
|
|
|
1196
1198
|
/* Fields */
|
|
1197
|
-
--ac-global-input-field-min-width:
|
|
1199
|
+
--ac-global-input-field-min-width: 100px;
|
|
1198
1200
|
|
|
1199
1201
|
/* Modal */
|
|
1200
1202
|
--ac-global-modal-width-S: 500px;
|
|
@@ -1212,6 +1214,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
|
|
|
1212
1214
|
--px-reference-color--transparent: #baa1f982;
|
|
1213
1215
|
--px-corpus-color: #92969c;
|
|
1214
1216
|
--px-corpus-color--transparent: #92969c63;
|
|
1217
|
+
--px-overlay-shadow-color: rgba(0, 0, 0, 0.6);
|
|
1215
1218
|
}
|
|
1216
1219
|
.ac-theme--light {
|
|
1217
1220
|
--px-primary-color: #00add0;
|
|
@@ -1220,6 +1223,7 @@ import{U as g,j as o,cJ as y,ef as x,eg as z,eh as w,V as c,cA as P,ei as a,r as
|
|
|
1220
1223
|
--px-reference-color--transparent: rgba(69, 0, 217, 0.2);
|
|
1221
1224
|
--px-corpus-color: #92969c;
|
|
1222
1225
|
--px-corpus-color--transparent: #92969c63;
|
|
1226
|
+
--px-overlay-shadow-color: rgba(0, 0, 0, 0.1);
|
|
1223
1227
|
}
|
|
1224
1228
|
`,na=g`
|
|
1225
1229
|
.ac-theme--light {
|