arize-phoenix 4.17.0__py3-none-any.whl → 4.19.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-4.17.0.dist-info → arize_phoenix-4.19.0.dist-info}/METADATA +5 -5
- {arize_phoenix-4.17.0.dist-info → arize_phoenix-4.19.0.dist-info}/RECORD +24 -21
- phoenix/server/api/context.py +2 -0
- phoenix/server/api/dataloaders/__init__.py +8 -0
- phoenix/server/api/dataloaders/annotation_summaries.py +146 -0
- phoenix/server/api/mutations/span_annotations_mutations.py +1 -0
- phoenix/server/api/types/AnnotationSummary.py +55 -0
- phoenix/server/api/types/EvaluationSummary.py +1 -6
- phoenix/server/api/types/LabelFraction.py +7 -0
- phoenix/server/api/types/Project.py +24 -0
- phoenix/server/app.py +7 -0
- phoenix/server/static/.vite/manifest.json +31 -31
- phoenix/server/static/assets/{components-BNoCl9Xw.js → components-CAummAJx.js} +1 -1
- phoenix/server/static/assets/index-Cg5hdf3g.js +100 -0
- phoenix/server/static/assets/{pages-o-BYa9N_.js → pages-BU__X1UX.js} +269 -235
- phoenix/server/static/assets/{vendor-NMeSJQMc.js → vendor-BMWfu6zp.js} +1 -1
- phoenix/server/static/assets/{vendor-arizeai-kKu-QXar.js → vendor-arizeai-CkyzG9Wl.js} +2 -2
- phoenix/server/static/assets/{vendor-codemirror-kTDOhxo_.js → vendor-codemirror-DO3VqEcD.js} +1 -1
- phoenix/server/static/assets/{vendor-recharts-ZLJ4kstR.js → vendor-recharts-BGN0SxgJ.js} +1 -1
- phoenix/session/session.py +11 -8
- phoenix/version.py +1 -1
- phoenix/server/static/assets/index-BjNuXOcr.js +0 -100
- {arize_phoenix-4.17.0.dist-info → arize_phoenix-4.19.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-4.17.0.dist-info → arize_phoenix-4.19.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-4.17.0.dist-info → arize_phoenix-4.19.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import{r as d,j as e,d2 as F,v as s,F as P,R as v,w as E,aN as L,d3 as R,d4 as S,d5 as a,d6 as w,d7 as z,b as A,d8 as j}from"./vendor-BMWfu6zp.js";import{S as C,j as k,Z as $,U as _,t as I,a4 as O}from"./vendor-arizeai-CkyzG9Wl.js";import{b2 as T,d as D,R as N,b3 as G,b4 as M}from"./components-CAummAJx.js";import{L as U,E as B,h as q,M as J,a as m,D as K,d as W,b as H,e as V,P as Y,c as Z,T as Q,p as X,f as u,g as ee,i as re,j as g,k as ae,l as h,m as x,n as oe,o as te,q as ne,r as se,s as le,A as ie}from"./pages-BU__X1UX.js";import"./vendor-three-DwGkEfCM.js";import"./vendor-codemirror-DO3VqEcD.js";import"./vendor-recharts-BGN0SxgJ.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))c(o);new MutationObserver(o=>{for(const t of o)if(t.type==="childList")for(const l of t.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&c(l)}).observe(document,{childList:!0,subtree:!0});function i(o){const t={};return o.integrity&&(t.integrity=o.integrity),o.referrerPolicy&&(t.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?t.credentials="include":o.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function c(o){if(o.ep)return;o.ep=!0;const t=i(o);fetch(o.href,t)}})();const b="arize-phoenix-feature-flags",p={__CLEAR__:!0};function ce(){const r=localStorage.getItem(b);if(!r)return p;try{const n=JSON.parse(r);return Object.assign({},p,n)}catch{return p}}const f=d.createContext(null);function de(){const r=v.useContext(f);if(r===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return r}function pe(r){const[n,i]=d.useState(ce()),c=o=>{localStorage.setItem(b,JSON.stringify(o)),i(o)};return e(f.Provider,{value:{featureFlags:n,setFeatureFlags:c},children:e(me,{children:r.children})})}function me(r){const{children:n}=r,{featureFlags:i,setFeatureFlags:c}=de(),[o,t]=d.useState(!1);return F("ctrl+shift+f",()=>t(!0)),s(P,{children:[n,e(_,{type:"modal",isDismissable:!0,onDismiss:()=>t(!1),children:o&&e(C,{title:"Feature Flags",children:e(k,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(l=>e($,{isSelected:i[l],onChange:y=>c({...i,[l]:y}),children:l},l))})})})]})}function ue(){return e(L,{styles:r=>E`
|
|
2
|
+
body {
|
|
3
|
+
background-color: var(--ac-global-color-grey-75);
|
|
4
|
+
color: var(--ac-global-text-color-900);
|
|
5
|
+
font-family: "Roboto";
|
|
6
|
+
font-size: ${r.typography.sizes.medium.fontSize}px;
|
|
7
|
+
margin: 0;
|
|
8
|
+
#root,
|
|
9
|
+
#root > div[data-overlay-container="true"],
|
|
10
|
+
#root > div[data-overlay-container="true"] > .ac-theme {
|
|
11
|
+
height: 100vh;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Remove list styling */
|
|
16
|
+
ul {
|
|
17
|
+
display: block;
|
|
18
|
+
list-style-type: none;
|
|
19
|
+
margin-block-start: none;
|
|
20
|
+
margin-block-end: 0;
|
|
21
|
+
padding-inline-start: 0;
|
|
22
|
+
margin-block-start: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* A reset style for buttons */
|
|
26
|
+
.button--reset {
|
|
27
|
+
background: none;
|
|
28
|
+
border: none;
|
|
29
|
+
padding: 0;
|
|
30
|
+
}
|
|
31
|
+
/* this css class is added to html via modernizr @see modernizr.js */
|
|
32
|
+
.no-hiddenscroll {
|
|
33
|
+
/* Works on Firefox */
|
|
34
|
+
* {
|
|
35
|
+
scrollbar-width: thin;
|
|
36
|
+
scrollbar-color: var(--ac-global-color-grey-300)
|
|
37
|
+
var(--ac-global-color-grey-400);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Works on Chrome, Edge, and Safari */
|
|
41
|
+
*::-webkit-scrollbar {
|
|
42
|
+
width: 14px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
*::-webkit-scrollbar-track {
|
|
46
|
+
background: var(--ac-global-color-grey-100);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
*::-webkit-scrollbar-thumb {
|
|
50
|
+
background-color: var(--ac-global-color-grey-75);
|
|
51
|
+
border-radius: 8px;
|
|
52
|
+
border: 1px solid var(--ac-global-color-grey-300);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:root {
|
|
57
|
+
--px-blue-color: ${r.colors.arizeBlue};
|
|
58
|
+
|
|
59
|
+
--px-flex-gap-sm: ${r.spacing.margin4}px;
|
|
60
|
+
--px-flex-gap-sm: ${r.spacing.margin8}px;
|
|
61
|
+
|
|
62
|
+
--px-section-background-color: ${r.colors.gray500};
|
|
63
|
+
|
|
64
|
+
/* An item is a typically something in a list */
|
|
65
|
+
--px-item-background-color: ${r.colors.gray800};
|
|
66
|
+
--px-item-border-color: ${r.colors.gray600};
|
|
67
|
+
|
|
68
|
+
--px-spacing-sm: ${r.spacing.padding4}px;
|
|
69
|
+
--px-spacing-med: ${r.spacing.padding8}px;
|
|
70
|
+
--px-spacing-lg: ${r.spacing.padding16}px;
|
|
71
|
+
|
|
72
|
+
--px-border-radius-med: ${r.borderRadius.medium}px;
|
|
73
|
+
|
|
74
|
+
--px-font-size-sm: ${r.typography.sizes.small.fontSize}px;
|
|
75
|
+
--px-font-size-med: ${r.typography.sizes.medium.fontSize}px;
|
|
76
|
+
--px-font-size-lg: ${r.typography.sizes.large.fontSize}px;
|
|
77
|
+
|
|
78
|
+
--px-gradient-bar-height: 8px;
|
|
79
|
+
|
|
80
|
+
--px-nav-collapsed-width: 45px;
|
|
81
|
+
--px-nav-expanded-width: 200px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ac-theme--dark {
|
|
85
|
+
--px-primary-color: #9efcfd;
|
|
86
|
+
--px-primary-color--transparent: rgb(158, 252, 253, 0.2);
|
|
87
|
+
--px-reference-color: #baa1f9;
|
|
88
|
+
--px-reference-color--transparent: #baa1f982;
|
|
89
|
+
--px-corpus-color: #92969c;
|
|
90
|
+
--px-corpus-color--transparent: #92969c63;
|
|
91
|
+
}
|
|
92
|
+
.ac-theme--light {
|
|
93
|
+
--px-primary-color: #00add0;
|
|
94
|
+
--px-primary-color--transparent: rgba(0, 173, 208, 0.2);
|
|
95
|
+
--px-reference-color: #4500d9;
|
|
96
|
+
--px-reference-color--transparent: rgba(69, 0, 217, 0.2);
|
|
97
|
+
--px-corpus-color: #92969c;
|
|
98
|
+
--px-corpus-color--transparent: #92969c63;
|
|
99
|
+
}
|
|
100
|
+
`})}const ge=R(S(s(a,{path:"/",element:e(U,{}),errorElement:e(B,{}),children:[e(a,{index:!0,loader:q}),s(a,{path:"/model",handle:{crumb:()=>"model"},element:e(J,{}),children:[e(a,{index:!0,element:e(m,{})}),e(a,{element:e(m,{}),children:e(a,{path:"dimensions",children:e(a,{path:":dimensionId",element:e(K,{}),loader:W})})}),e(a,{path:"embeddings",children:e(a,{path:":embeddingDimensionId",element:e(H,{}),loader:V,handle:{crumb:r=>r.embedding.name}})})]}),s(a,{path:"/projects",handle:{crumb:()=>"projects"},element:e(Y,{}),children:[e(a,{index:!0,element:e(Z,{})}),s(a,{path:":projectId",element:e(Q,{}),loader:X,handle:{crumb:r=>r.project.name},children:[e(a,{index:!0,element:e(u,{})}),e(a,{element:e(u,{}),children:e(a,{path:"traces/:traceId",element:e(ee,{})})})]})]}),s(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[e(a,{index:!0,element:e(re,{})}),s(a,{path:":datasetId",loader:g,handle:{crumb:r=>r.dataset.name},children:[s(a,{element:e(ae,{}),loader:g,children:[e(a,{index:!0,element:e(h,{}),loader:x}),e(a,{path:"experiments",element:e(h,{}),loader:x}),e(a,{path:"examples",element:e(oe,{}),loader:te,children:e(a,{path:":exampleId",element:e(ne,{})})})]}),e(a,{path:"compare",handle:{crumb:()=>"compare"},loader:se,element:e(le,{})})]})]}),e(a,{path:"/apis",element:e(ie,{}),handle:{crumb:()=>"APIs"}})]})),{basename:window.Config.basename});function he(){return e(w,{router:ge})}function xe(){return e(T,{children:e(be,{})})}function be(){const{theme:r}=D();return e(O,{theme:r,children:e(z,{theme:I,children:s(A.RelayEnvironmentProvider,{environment:N,children:[e(ue,{}),e(pe,{children:e(G,{children:e(d.Suspense,{children:e(M,{children:e(he,{})})})})})]})})})}const fe=document.getElementById("root"),ye=j.createRoot(fe);ye.render(e(xe,{}));
|