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.

@@ -1,93 +0,0 @@
1
- import{r as c,j as e,dG as v,l as n,O as F,R as w,D as E,bl as L,dH as R,dI as S,dJ as r,dK as I,dL as k,t as A,dM as C}from"./vendor-DwOx_a-2.js";import{p as _,d as j,$ as O,D as T,t as D,a4 as z}from"./vendor-arizeai-BWSsCZNG.js";import{E as $,L as G,R as N,r as M,b as U,F as B,A as J,c as K,d as H,P as W,h as q,M as Q,e as m,D as V,f as Y,g as X,i as Z,j as ee,k as re,l as ae,p as te,n as u,o as oe,S as ne,s as se,q as le,t as h,v as ie,w as g,x as f,y as de,z as ce,B as pe,C as me,G as ue,H as b,I as he,J as ge,K as fe,N as be,O as xe,Q as ye,U as Pe}from"./pages-B-fbd0DU.js";import{c8 as ve,a5 as Fe,U as we,c9 as Ee,ca as Le}from"./components-CTfaHD1U.js";import"./vendor-three-DwGkEfCM.js";import"./vendor-codemirror-WrxmCiOZ.js";import"./vendor-shiki-RnWcZtzE.js";import"./vendor-recharts-Bj7q9ORc.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"]'))d(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"&&d(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 d(t){if(t.ep)return;t.ep=!0;const o=i(t);fetch(t.href,o)}})();const x="arize-phoenix-feature-flags",p={__RESET__:!1};function Re(){const a=localStorage.getItem(x);if(!a)return p;try{const s=JSON.parse(a);return Object.assign({},p,s)}catch{return p}}const y=c.createContext(null);function Se(){const a=w.useContext(y);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Ie(a){const[s,i]=c.useState(Re()),d=t=>{localStorage.setItem(x,JSON.stringify(t)),i(t)};return e(y.Provider,{value:{featureFlags:s,setFeatureFlags:d},children:e(ke,{children:a.children})})}function ke(a){const{children:s}=a,{featureFlags:i,setFeatureFlags:d}=Se(),[t,o]=c.useState(!1);return v("ctrl+shift+f",()=>o(!0)),n(F,{children:[s,e(T,{type:"modal",isDismissable:!0,onDismiss:()=>o(!1),children:t&&e(_,{title:"Feature Flags",children:e(j,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(l=>e(O,{isSelected:i[l],onChange:P=>d({...i,[l]:P}),children:l},l))})})})]})}function Ae(){return e(L,{styles:a=>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: ${a.typography.sizes.medium.fontSize}px;
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-blue-color: ${a.colors.arizeBlue};
59
-
60
- --px-section-background-color: ${a.colors.gray500};
61
-
62
- /** The color of shadows on menus etc. */
63
- --px-overlay-shadow-color: rgba(0, 0, 0, 0.4);
64
-
65
- /* An item is a typically something in a list */
66
- --px-item-background-color: ${a.colors.gray800};
67
- --px-item-border-color: ${a.colors.gray600};
68
-
69
- --px-font-weight-heavy: 600;
70
-
71
- --px-gradient-bar-height: 8px;
72
-
73
- --px-nav-collapsed-width: 45px;
74
- --px-nav-expanded-width: 200px;
75
- }
76
-
77
- .ac-theme--dark {
78
- --px-primary-color: #9efcfd;
79
- --px-primary-color--transparent: rgb(158, 252, 253, 0.2);
80
- --px-reference-color: #baa1f9;
81
- --px-reference-color--transparent: #baa1f982;
82
- --px-corpus-color: #92969c;
83
- --px-corpus-color--transparent: #92969c63;
84
- }
85
- .ac-theme--light {
86
- --px-primary-color: #00add0;
87
- --px-primary-color--transparent: rgba(0, 173, 208, 0.2);
88
- --px-reference-color: #4500d9;
89
- --px-reference-color--transparent: rgba(69, 0, 217, 0.2);
90
- --px-corpus-color: #92969c;
91
- --px-corpus-color--transparent: #92969c63;
92
- }
93
- `})}const Ce=R(S(n(r,{path:"/",errorElement:e($,{}),children:[e(r,{path:"/login",element:e(G,{})}),e(r,{path:"/reset-password",element:e(N,{}),loader:M}),e(r,{path:"/reset-password-with-token",element:e(U,{})}),e(r,{path:"/forgot-password",element:e(B,{})}),e(r,{element:e(J,{}),loader:K,children:n(r,{element:e(H,{}),children:[e(r,{path:"/profile",handle:{crumb:()=>"profile"},element:e(W,{})}),e(r,{index:!0,loader:q}),n(r,{path:"/model",handle:{crumb:()=>"model"},element:e(Q,{}),children:[e(r,{index:!0,element:e(m,{})}),e(r,{element:e(m,{}),children:e(r,{path:"dimensions",children:e(r,{path:":dimensionId",element:e(V,{}),loader:Y})})}),e(r,{path:"embeddings",children:e(r,{path:":embeddingDimensionId",element:e(X,{}),loader:Z,handle:{crumb:a=>a.embedding.name}})})]}),n(r,{path:"/projects",handle:{crumb:()=>"projects"},element:e(ee,{}),children:[e(r,{index:!0,element:e(re,{})}),n(r,{path:":projectId",element:e(ae,{}),loader:te,handle:{crumb:a=>a.project.name},children:[e(r,{index:!0,element:e(u,{})}),n(r,{element:e(u,{}),children:[e(r,{path:"traces/:traceId",element:e(oe,{})}),e(r,{path:"sessions/:sessionId",element:e(ne,{}),loader:se})]})]})]}),n(r,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[e(r,{index:!0,element:e(le,{})}),n(r,{path:":datasetId",loader:h,handle:{crumb:a=>a.dataset.name},children:[n(r,{element:e(ie,{}),loader:h,children:[e(r,{index:!0,element:e(g,{}),loader:f}),e(r,{path:"experiments",element:e(g,{}),loader:f}),e(r,{path:"examples",element:e(de,{}),loader:ce,children:e(r,{path:":exampleId",element:e(pe,{})})})]}),e(r,{path:"compare",handle:{crumb:()=>"compare"},loader:me,element:e(ue,{})})]})]}),n(r,{path:"/playground",handle:{crumb:()=>"Playground"},children:[e(r,{index:!0,element:e(b,{})}),e(r,{path:"datasets/:datasetId",element:e(b,{}),children:e(r,{path:"examples/:exampleId",element:e(he,{})})}),e(r,{path:"spans/:spanId",element:e(ge,{}),loader:fe,handle:{crumb:a=>a.span.__typename==="Span"?`span ${a.span.context.spanId}`:"span unknown"}})]}),e(r,{path:"/apis",element:e(be,{}),handle:{crumb:()=>"APIs"}}),e(r,{path:"/settings",element:e(xe,{}),handle:{crumb:()=>"Settings"}})]})})]})),{basename:window.Config.basename});function _e(){return e(I,{router:Ce})}function je(){return e(ye,{children:e(ve,{children:e(Oe,{})})})}function Oe(){const{theme:a}=Fe();return e(z,{theme:a,children:e(k,{theme:D,children:n(A.RelayEnvironmentProvider,{environment:we,children:[e(Ae,{}),e(Ie,{children:e(Ee,{children:e(Pe,{children:e(c.Suspense,{children:e(Le,{children:e(_e,{})})})})})})]})})})}const Te=document.getElementById("root"),De=C.createRoot(Te);De.render(e(je,{}));