arize-phoenix 7.4.0__py3-none-any.whl → 7.5.1__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,4 +1,4 @@
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`
1
+ import{r as c,j as e,dL as v,l as n,U as F,R as w,D as E,bq as L,dM as S,dN as R,dO as a,dP as k,t as I,dQ as A}from"./vendor-DvC8cT4X.js";import{k as C,Q as _,D as j,Y as z}from"./vendor-arizeai-Do1793cv.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 q,d as B,P as J,h as K,M as Q,e as m,D as V,f as W,g as H,i as Y,j as $,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 de,G as ce,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-BYLjwaR_.js";import{V as Pe,d0 as ye,at as ve,ab as Fe,d1 as we,d2 as Ee}from"./components-CZ-NZ1o9.js";import"./vendor-three-DwGkEfCM.js";import"./vendor-codemirror-BzwZPyJM.js";import"./vendor-shiki-Cl9QBraO.js";import"./vendor-recharts-_Jb7JjhG.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 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=c.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]=c.useState(Le()),d=t=>{localStorage.setItem(f,JSON.stringify(t)),i(t)};return e(P.Provider,{value:{featureFlags:s,setFeatureFlags:d},children:e(ke,{children:r.children})})}function ke(r){const{children:s}=r,{featureFlags:i,setFeatureFlags:d}=Se(),[t,o]=c.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=>d({...i,[l]:y}),children:l},l))})})})]})}function Ie(){return e(L,{styles:E`
2
2
  body {
3
3
  background-color: var(--ac-global-color-grey-75);
4
4
  color: var(--ac-global-text-color-900);
@@ -110,4 +110,4 @@ 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
110
110
  --px-corpus-color: #92969c;
111
111
  --px-corpus-color--transparent: #92969c63;
112
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,{}));
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:q,children:n(a,{element:e(B,{}),children:[e(a,{path:"/profile",handle:{crumb:()=>"profile"},element:e(J,{})}),e(a,{index:!0,loader:K}),n(a,{path:"/model",handle:{crumb:()=>"model"},element:e(Q,{}),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(V,{}),loader:W})})}),e(a,{path:"embeddings",children:e(a,{path:":embeddingDimensionId",element:e(H,{}),loader:Y,handle:{crumb:r=>r.embedding.name}})})]}),n(a,{path:"/projects",handle:{crumb:()=>"projects"},element:e($,{}),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:de,element:e(ce,{})})]})]}),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(c.Suspense,{children:e(Ee,{children:e(Ce,{})})})})})})]})})}const ze=document.getElementById("root"),Oe=A.createRoot(ze);Oe.render(e(_e,{}));