arize-phoenix 4.25.0__py3-none-any.whl → 4.27.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.

@@ -0,0 +1,100 @@
1
+ import{r as d,j as e,d3 as P,v as s,F,R as v,w as E,aP as S,d4 as L,d5 as R,d6 as a,d7 as w,d8 as z,b as A,d9 as j}from"./vendor-aSQri0vz.js";import{S as C,j as k,Z as $,U as _,t as I,a4 as O}from"./vendor-arizeai-CsdcB1NH.js";import{E as T,L as D,a as N,h as G,M,b as m,D as U,d as B,c as q,e as J,P as K,f as W,T as H,p as V,g,i as Y,j as Z,k as u,l as Q,m as h,n as b,o as X,q as ee,r as re,s as ae,t as te,A as oe,S as ne,F as se}from"./pages-CqZDVx20.js";import{b4 as ie,d as le,R as ce,b5 as de,b6 as pe}from"./components-1MfQimGx.js";import"./vendor-three-DwGkEfCM.js";import"./vendor-recharts-B0sannek.js";import"./vendor-codemirror-CYHkhs7D.js";(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))c(t);new MutationObserver(t=>{for(const o of t)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&c(i)}).observe(document,{childList:!0,subtree:!0});function l(t){const o={};return t.integrity&&(o.integrity=t.integrity),t.referrerPolicy&&(o.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?o.credentials="include":t.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function c(t){if(t.ep)return;t.ep=!0;const o=l(t);fetch(t.href,o)}})();const x="arize-phoenix-feature-flags",p={__CLEAR__:!0};function me(){const r=localStorage.getItem(x);if(!r)return p;try{const n=JSON.parse(r);return Object.assign({},p,n)}catch{return p}}const f=d.createContext(null);function ge(){const r=v.useContext(f);if(r===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return r}function ue(r){const[n,l]=d.useState(me()),c=t=>{localStorage.setItem(x,JSON.stringify(t)),l(t)};return e(f.Provider,{value:{featureFlags:n,setFeatureFlags:c},children:e(he,{children:r.children})})}function he(r){const{children:n}=r,{featureFlags:l,setFeatureFlags:c}=ge(),[t,o]=d.useState(!1);return P("ctrl+shift+f",()=>o(!0)),s(F,{children:[n,e(_,{type:"modal",isDismissable:!0,onDismiss:()=>o(!1),children:t&&e(C,{title:"Feature Flags",children:e(k,{height:"size-1000",padding:"size-100",children:Object.keys(l).map(i=>e($,{isSelected:l[i],onChange:y=>c({...l,[i]:y}),children:i},i))})})})]})}function be(){return e(S,{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 xe=L(R(s(a,{path:"/",errorElement:e(T,{}),children:[e(a,{path:"/login",element:e(D,{})}),s(a,{element:e(N,{}),children:[e(a,{index:!0,loader:G}),s(a,{path:"/model",handle:{crumb:()=>"model"},element:e(M,{}),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(U,{}),loader:B})})}),e(a,{path:"embeddings",children:e(a,{path:":embeddingDimensionId",element:e(q,{}),loader:J,handle:{crumb:r=>r.embedding.name}})})]}),s(a,{path:"/projects",handle:{crumb:()=>"projects"},element:e(K,{}),children:[e(a,{index:!0,element:e(W,{})}),s(a,{path:":projectId",element:e(H,{}),loader:V,handle:{crumb:r=>r.project.name},children:[e(a,{index:!0,element:e(g,{})}),e(a,{element:e(g,{}),children:e(a,{path:"traces/:traceId",element:e(Y,{})})})]})]}),s(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[e(a,{index:!0,element:e(Z,{})}),s(a,{path:":datasetId",loader:u,handle:{crumb:r=>r.dataset.name},children:[s(a,{element:e(Q,{}),loader:u,children:[e(a,{index:!0,element:e(h,{}),loader:b}),e(a,{path:"experiments",element:e(h,{}),loader:b}),e(a,{path:"examples",element:e(X,{}),loader:ee,children:e(a,{path:":exampleId",element:e(re,{})})})]}),e(a,{path:"compare",handle:{crumb:()=>"compare"},loader:ae,element:e(te,{})})]})]}),e(a,{path:"/apis",element:e(oe,{}),handle:{crumb:()=>"APIs"}}),e(a,{path:"/settings",element:e(ne,{}),handle:{crumb:()=>"Settings"}})]})]})),{basename:window.Config.basename});function fe(){return e(w,{router:xe})}function ye(){return e(se,{children:e(ie,{children:e(Pe,{})})})}function Pe(){const{theme:r}=le();return e(O,{theme:r,children:e(z,{theme:I,children:s(A.RelayEnvironmentProvider,{environment:ce,children:[e(be,{}),e(ue,{children:e(de,{children:e(d.Suspense,{children:e(pe,{children:e(fe,{})})})})})]})})})}const Fe=document.getElementById("root"),ve=j.createRoot(Fe);ve.render(e(ye,{}));