arize-phoenix 7.3.2__py3-none-any.whl → 7.4.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,113 @@
1
+ import{r as d,j as e,dI as v,l as n,O as F,R as w,D as E,bn as L,dJ as S,dK as R,dL as a,dM as k,t as I,dN as A}from"./vendor-CWRhhGDN.js";import{k as C,U as _,D as j,$ as z}from"./vendor-arizeai-vJqkHl1R.js";import{E as O,L as T,R as D,r as N,b as G,F as M,A as U,c as J,d as K,P as B,h as V,M as W,e as m,D as q,f as H,g as Y,i as $,j as Q,k as X,l as Z,p as ee,n as h,o as ae,S as re,s as te,q as oe,t as g,v as ne,w as u,x as b,y as se,z as le,B as ie,C as ce,G as de,H as x,I as pe,J as me,K as he,N as ge,O as ue,Q as be,U as xe,V as fe}from"./pages-DVqjOWjF.js";import{V as Pe,cX as ye,ap as ve,ab as Fe,cY as we,cZ as Ee}from"./components-BNfFAbcy.js";import"./vendor-three-DwGkEfCM.js";import"./vendor-codemirror-CTVsZGio.js";import"./vendor-shiki-I2dgBsrk.js";import"./vendor-recharts-HTtOx4y1.js";(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.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 l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&c(l)}).observe(document,{childList:!0,subtree:!0});function i(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=i(t);fetch(t.href,o)}})();const f="arize-phoenix-feature-flags",p={__RESET__:!1};function Le(){const r=localStorage.getItem(f);if(!r)return p;try{const s=JSON.parse(r);return Object.assign({},p,s)}catch{return p}}const P=d.createContext(null);function Se(){const r=w.useContext(P);if(r===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return r}function Re(r){const[s,i]=d.useState(Le()),c=t=>{localStorage.setItem(f,JSON.stringify(t)),i(t)};return e(P.Provider,{value:{featureFlags:s,setFeatureFlags:c},children:e(ke,{children:r.children})})}function ke(r){const{children:s}=r,{featureFlags:i,setFeatureFlags:c}=Se(),[t,o]=d.useState(!1);return v("ctrl+shift+f",()=>o(!0)),n(F,{children:[s,e(j,{type:"modal",isDismissable:!0,onDismiss:()=>o(!1),children:t&&e(C,{title:"Feature Flags",children:e(Pe,{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 Ie(){return e(L,{styles: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: var(--ac-global-font-size-s);
7
+ margin: 0;
8
+ overflow: hidden;
9
+ #root,
10
+ #root > div[data-overlay-container="true"],
11
+ #root > div[data-overlay-container="true"] > .ac-theme {
12
+ height: 100vh;
13
+ }
14
+ }
15
+
16
+ /* Remove list styling */
17
+ ul {
18
+ display: block;
19
+ list-style-type: none;
20
+ margin-block-start: none;
21
+ margin-block-end: 0;
22
+ padding-inline-start: 0;
23
+ margin-block-start: 0;
24
+ }
25
+
26
+ /* A reset style for buttons */
27
+ .button--reset {
28
+ background: none;
29
+ border: none;
30
+ padding: 0;
31
+ }
32
+ /* this css class is added to html via modernizr @see modernizr.js */
33
+ .no-hiddenscroll {
34
+ /* Works on Firefox */
35
+ * {
36
+ scrollbar-width: thin;
37
+ scrollbar-color: var(--ac-global-color-grey-300)
38
+ var(--ac-global-color-grey-400);
39
+ }
40
+
41
+ /* Works on Chrome, Edge, and Safari */
42
+ *::-webkit-scrollbar {
43
+ width: 14px;
44
+ }
45
+
46
+ *::-webkit-scrollbar-track {
47
+ background: var(--ac-global-color-grey-100);
48
+ }
49
+
50
+ *::-webkit-scrollbar-thumb {
51
+ background-color: var(--ac-global-color-grey-75);
52
+ border-radius: 8px;
53
+ border: 1px solid var(--ac-global-color-grey-300);
54
+ }
55
+ }
56
+
57
+ :root {
58
+ --px-section-background-color: #2f353d;
59
+
60
+ /** The color of shadows on menus etc. */
61
+ --px-overlay-shadow-color: rgba(0, 0, 0, 0.4);
62
+
63
+ /* An item is a typically something in a list */
64
+ --px-item-background-color: #1d2126;
65
+ --px-item-border-color: #282e35;
66
+
67
+ --px-font-weight-heavy: 600;
68
+
69
+ --px-gradient-bar-height: 8px;
70
+
71
+ --px-nav-collapsed-width: 45px;
72
+ --px-nav-expanded-width: 200px;
73
+
74
+ --ac-global-opacity-disabled: 0.6;
75
+
76
+ /* Text */
77
+ --ac-global-font-size-xxs: 10px;
78
+ --ac-global-font-size-xs: 12px;
79
+ --ac-global-font-size-s: 14px;
80
+ --ac-global-font-size-m: 16px;
81
+ --ac-global-font-size-l: 18px;
82
+ --ac-global-font-size-xl: 24px;
83
+ --ac-global-font-size-xxl: 32px;
84
+
85
+ --ac-global-line-height-xxs: 12px;
86
+ --ac-global-line-height-xs: 16px;
87
+ --ac-global-line-height-s: 20px;
88
+ --ac-global-line-height-m: 24px;
89
+ --ac-global-line-height-l: 28px;
90
+ --ac-global-line-height-xl: 36px;
91
+ --ac-global-line-height-xxl: 48px;
92
+
93
+ /* Fields */
94
+ --ac-global-input-field-min-width: 200px;
95
+ }
96
+
97
+ .ac-theme--dark {
98
+ --px-primary-color: #9efcfd;
99
+ --px-primary-color--transparent: rgb(158, 252, 253, 0.2);
100
+ --px-reference-color: #baa1f9;
101
+ --px-reference-color--transparent: #baa1f982;
102
+ --px-corpus-color: #92969c;
103
+ --px-corpus-color--transparent: #92969c63;
104
+ }
105
+ .ac-theme--light {
106
+ --px-primary-color: #00add0;
107
+ --px-primary-color--transparent: rgba(0, 173, 208, 0.2);
108
+ --px-reference-color: #4500d9;
109
+ --px-reference-color--transparent: rgba(69, 0, 217, 0.2);
110
+ --px-corpus-color: #92969c;
111
+ --px-corpus-color--transparent: #92969c63;
112
+ }
113
+ `})}const Ae=S(R(n(a,{path:"/",errorElement:e(O,{}),children:[e(a,{path:"/login",element:e(T,{})}),e(a,{path:"/reset-password",element:e(D,{}),loader:N}),e(a,{path:"/reset-password-with-token",element:e(G,{})}),e(a,{path:"/forgot-password",element:e(M,{})}),e(a,{element:e(U,{}),loader:J,children:n(a,{element:e(K,{}),children:[e(a,{path:"/profile",handle:{crumb:()=>"profile"},element:e(B,{})}),e(a,{index:!0,loader:V}),n(a,{path:"/model",handle:{crumb:()=>"model"},element:e(W,{}),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(q,{}),loader:H})})}),e(a,{path:"embeddings",children:e(a,{path:":embeddingDimensionId",element:e(Y,{}),loader:$,handle:{crumb:r=>r.embedding.name}})})]}),n(a,{path:"/projects",handle:{crumb:()=>"projects"},element:e(Q,{}),children:[e(a,{index:!0,element:e(X,{})}),n(a,{path:":projectId",element:e(Z,{}),loader:ee,handle:{crumb:r=>r.project.name},children:[e(a,{index:!0,element:e(h,{})}),n(a,{element:e(h,{}),children:[e(a,{path:"traces/:traceId",element:e(ae,{})}),e(a,{path:"sessions/:sessionId",element:e(re,{}),loader:te})]})]})]}),n(a,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[e(a,{index:!0,element:e(oe,{})}),n(a,{path:":datasetId",loader:g,handle:{crumb:r=>r.dataset.name},children:[n(a,{element:e(ne,{}),loader:g,children:[e(a,{index:!0,element:e(u,{}),loader:b}),e(a,{path:"experiments",element:e(u,{}),loader:b}),e(a,{path:"examples",element:e(se,{}),loader:le,children:e(a,{path:":exampleId",element:e(ie,{})})})]}),e(a,{path:"compare",handle:{crumb:()=>"compare"},loader:ce,element:e(de,{})})]})]}),n(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[e(a,{index:!0,element:e(x,{})}),e(a,{path:"datasets/:datasetId",element:e(x,{}),children:e(a,{path:"examples/:exampleId",element:e(pe,{})})}),e(a,{path:"spans/:spanId",element:e(me,{}),loader:he,handle:{crumb:r=>r.span.__typename==="Span"?`span ${r.span.context.spanId}`:"span unknown"}})]}),e(a,{path:"/apis",element:e(ge,{}),handle:{crumb:()=>"APIs"}}),e(a,{path:"/support",element:e(ue,{}),handle:{crumb:()=>"Support"}}),e(a,{path:"/settings",element:e(be,{}),handle:{crumb:()=>"Settings"}})]})})]})),{basename:window.Config.basename});function Ce(){return e(k,{router:Ae})}function _e(){return e(xe,{children:e(ye,{children:e(je,{})})})}function je(){const{theme:r}=ve();return e(z,{theme:r,children:n(I.RelayEnvironmentProvider,{environment:Fe,children:[e(Ie,{}),e(Re,{children:e(we,{children:e(fe,{children:e(d.Suspense,{children:e(Ee,{children:e(Ce,{})})})})})})]})})}const ze=document.getElementById("root"),Oe=A.createRoot(ze);Oe.render(e(_e,{}));