arize-phoenix 4.22.1__py3-none-any.whl → 4.23.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,d2 as F,v as s,F as P,R as v,w as E,aO as S,d3 as L,d4 as R,d5 as a,d6 as w,d7 as z,b as A,d8 as j}from"./vendor-CIqy43_9.js";import{S as C,j as k,Z as $,U as _,t as O,a4 as I}from"./vendor-arizeai-B1YgcWL8.js";import{L as T,E as D,h as N,M as G,a as m,D as M,d as U,b as B,e as q,P as J,c as K,T as W,p as H,f as u,g as V,i as Y,j as g,k as Z,l as h,m as b,n as Q,o as X,q as ee,r as re,s as ae,A as te,S as oe,F as ne}from"./pages-BhOnrUmC.js";import{b3 as se,d as ie,R as le,b4 as ce,b5 as de}from"./components-DBYPF96c.js";import"./vendor-three-DwGkEfCM.js";import"./vendor-recharts-C3pM_Wlg.js";import"./vendor-codemirror-_bcwCA1C.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 pe(){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 me(){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(pe()),c=t=>{localStorage.setItem(x,JSON.stringify(t)),l(t)};return e(f.Provider,{value:{featureFlags:n,setFeatureFlags:c},children:e(ge,{children:r.children})})}function ge(r){const{children:n}=r,{featureFlags:l,setFeatureFlags:c}=me(),[t,o]=d.useState(!1);return F("ctrl+shift+f",()=>o(!0)),s(P,{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 he(){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 be=L(R(s(a,{path:"/",element:e(T,{}),errorElement:e(D,{}),children:[e(a,{index:!0,loader:N}),s(a,{path:"/model",handle:{crumb:()=>"model"},element:e(G,{}),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(M,{}),loader:U})})}),e(a,{path:"embeddings",children:e(a,{path:":embeddingDimensionId",element:e(B,{}),loader:q,handle:{crumb:r=>r.embedding.name}})})]}),s(a,{path:"/projects",handle:{crumb:()=>"projects"},element:e(J,{}),children:[e(a,{index:!0,element:e(K,{})}),s(a,{path:":projectId",element:e(W,{}),loader:H,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(V,{})})})]})]}),s(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[e(a,{index:!0,element:e(Y,{})}),s(a,{path:":datasetId",loader:g,handle:{crumb:r=>r.dataset.name},children:[s(a,{element:e(Z,{}),loader:g,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(Q,{}),loader:X,children:e(a,{path:":exampleId",element:e(ee,{})})})]}),e(a,{path:"compare",handle:{crumb:()=>"compare"},loader:re,element:e(ae,{})})]})]}),e(a,{path:"/apis",element:e(te,{}),handle:{crumb:()=>"APIs"}}),e(a,{path:"/settings",element:e(oe,{}),handle:{crumb:()=>"Settings"}})]})),{basename:window.Config.basename});function xe(){return e(w,{router:be})}function fe(){return e(ne,{children:e(se,{children:e(ye,{})})})}function ye(){const{theme:r}=ie();return e(I,{theme:r,children:e(z,{theme:O,children:s(A.RelayEnvironmentProvider,{environment:le,children:[e(he,{}),e(ue,{children:e(ce,{children:e(d.Suspense,{children:e(de,{children:e(xe,{})})})})})]})})})}const Fe=document.getElementById("root"),Pe=j.createRoot(Fe);Pe.render(e(fe,{}));