arize-phoenix 8.31.0__py3-none-any.whl → 8.32.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 t,j as o,bp as z,l as c,P as w,R as P,E as b,cx as k,ei as S,ej as F,ek as L,bF as C,el as l,w as E,em as R}from"./vendor-BfhM_F1u.js";import{c as I,x as j,D as A,K as T,M as _}from"./vendor-arizeai-CxXYQNUl.js";import{L as D,r as O,d as G,e as M,F as N,f as V,P as q,h as K,M as m,g as U,D as W,i as B,E as H,j as J,k as Y,p as $,l as X,n as p,o as Z,q as Q,s as oo,S as lo,t as ao,v as ro,w as co,x as go,y as eo,z as bo,A as u,B as f,C as y,G as no,H as io,I as so,J as to,K as mo,N as po,O as uo,Q as fo,U as yo,V as vo,W as ho,X as xo,Y as zo,Z as wo,_ as Po,$ as ko,a0 as So,a1 as Fo,a2 as Lo,a3 as Co,a4 as Eo,a5 as Ro,a6 as Io,a7 as jo,a8 as Ao,a9 as To,aa as _o,ab as Do,ac as Oo,ad as Go,ae as Mo,af as No,ag as Vo,ah as qo}from"./pages-wYat6c3P.js";import{z as Ko,dX as Uo,bH as Wo,R as Bo,dY as Ho,dZ as Jo}from"./components-C0W7rSGA.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-B0NIFPOL.js";import"./vendor-shiki-C5bJ-RPf.js";import"./vendor-recharts-CrrDFWK1.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const g of r)if(g.type==="childList")for(const n of g.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&s(n)}).observe(document,{childList:!0,subtree:!0});function i(r){const g={};return r.integrity&&(g.integrity=r.integrity),r.referrerPolicy&&(g.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?g.credentials="include":r.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function s(r){if(r.ep)return;r.ep=!0;const g=i(r);fetch(r.href,g)}})();const v="arize-phoenix-feature-flags",d={__RESET__:!1};function Yo(){const a=localStorage.getItem(v);if(!a)return d;try{const e=JSON.parse(a);return Object.assign({},d,e)}catch{return d}}const h=t.createContext(null);function $o(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Xo(a){const[e,i]=t.useState(Yo()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Zo,{children:a.children})})}function Zo(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=$o(),[r,g]=t.useState(!1);return z("ctrl+shift+f",()=>g(!0)),c(w,{children:[e,o(A,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(I,{title:"Feature Flags",children:o(Ko,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(j,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const Qo=b`
1
+ import{r as t,j as o,bp as z,l as c,P as w,R as P,E as b,cx as k,ei as S,ej as F,ek as L,bF as C,el as l,w as E,em as R}from"./vendor-BfhM_F1u.js";import{c as I,x as j,D as A,K as T,M as _}from"./vendor-arizeai-CxXYQNUl.js";import{L as D,r as O,d as G,e as M,F as N,f as V,P as q,h as K,M as m,g as U,D as W,i as B,E as J,j as $,k as H,p as Y,l as Q,n as p,o as X,q as Z,s as oo,S as lo,t as ao,v as ro,w as co,x as go,y as eo,z as bo,A as u,B as f,C as y,G as no,H as io,I as so,J as to,K as mo,N as po,O as uo,Q as fo,U as yo,V as vo,W as ho,X as xo,Y as zo,Z as wo,_ as Po,$ as ko,a0 as So,a1 as Fo,a2 as Lo,a3 as Co,a4 as Eo,a5 as Ro,a6 as Io,a7 as jo,a8 as Ao,a9 as To,aa as _o,ab as Do,ac as Oo,ad as Go,ae as Mo,af as No,ag as Vo,ah as qo}from"./pages-BU4VdyeH.js";import{z as Ko,e1 as Uo,bI as Wo,R as Bo,e2 as Jo,e3 as $o}from"./components-x-gKFJ8C.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-B0NIFPOL.js";import"./vendor-shiki-C5bJ-RPf.js";import"./vendor-recharts-CrrDFWK1.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const g of r)if(g.type==="childList")for(const n of g.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&s(n)}).observe(document,{childList:!0,subtree:!0});function i(r){const g={};return r.integrity&&(g.integrity=r.integrity),r.referrerPolicy&&(g.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?g.credentials="include":r.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function s(r){if(r.ep)return;r.ep=!0;const g=i(r);fetch(r.href,g)}})();const v="arize-phoenix-feature-flags",d={__RESET__:!1};function Ho(){const a=localStorage.getItem(v);if(!a)return d;try{const e=JSON.parse(a);return Object.assign({},d,e)}catch{return d}}const h=t.createContext(null);function Yo(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Qo(a){const[e,i]=t.useState(Ho()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Xo,{children:a.children})})}function Xo(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=Yo(),[r,g]=t.useState(!1);return z("ctrl+shift+f",()=>g(!0)),c(w,{children:[e,o(A,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(I,{title:"Feature Flags",children:o(Ko,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(j,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const Zo=b`
2
2
  :root {
3
3
  --ac-global-dimension-scale-factor: 1;
4
4
  --ac-global-dimension-size-0: 0px;
@@ -1172,4 +1172,4 @@ import{r as t,j as o,bp as z,l as c,P as w,R as P,E as b,cx as k,ei as S,ej as F
1172
1172
  background-color: rgba(0, 0, 0, 0.2) !important;
1173
1173
  }
1174
1174
  }
1175
- `;function nl(){const{theme:a="dark"}=T();return o(k,{styles:b(ll,ol,a==="dark"?al:rl,cl(a),Qo,gl,el,bl)})}const il=S(F(c(l,{path:"/",errorElement:o(No,{}),children:[o(l,{path:"/v1/*",element:o(C,{to:"/",replace:!0})}),o(l,{path:"/login",element:o(D,{})}),o(l,{path:"/reset-password",element:o(G,{}),loader:O}),o(l,{path:"/reset-password-with-token",element:o(M,{})}),o(l,{path:"/forgot-password",element:o(N,{})}),o(l,{element:o(Mo,{}),loader:V,children:c(l,{element:o(Go,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(q,{})}),o(l,{index:!0,loader:K}),c(l,{path:"/model",handle:{crumb:()=>"model"},element:o(J,{}),children:[o(l,{index:!0,element:o(m,{})}),o(l,{element:o(m,{}),children:o(l,{path:"dimensions",children:o(l,{path:":dimensionId",element:o(W,{}),loader:U})})}),o(l,{path:"embeddings",children:o(l,{path:":embeddingDimensionId",element:o(H,{}),loader:B,handle:{crumb:a=>a.embedding.name}})})]}),c(l,{path:"/projects",handle:{crumb:()=>"projects"},element:o(eo,{}),children:[o(l,{index:!0,element:o(Y,{})}),c(l,{path:":projectId",loader:$,handle:{crumb:a=>a.project.name},element:o(go,{}),children:[o(l,{index:!0,element:o(X,{})}),c(l,{element:o(co,{}),children:[o(l,{path:"traces",element:o(Z,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"spans",element:o(Q,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"sessions",element:o(ao,{}),children:o(l,{path:":sessionId",element:o(lo,{}),loader:oo})}),o(l,{path:"config",element:o(ro,{})})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(bo,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(to,{}),loader:u,children:[o(l,{index:!0,element:o(y,{}),loader:f}),o(l,{path:"experiments",element:o(y,{}),loader:f}),o(l,{path:"examples",element:o(so,{}),loader:no,children:o(l,{path:":exampleId",element:o(io,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:mo,element:o(po,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(uo,{})}),o(l,{path:"spans/:spanId",element:o(yo,{}),loader:fo,handle:{crumb:a=>a.span.__typename==="Span"?`span ${a.span.spanId}`:"span unknown"}})]}),c(l,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(l,{index:!0,element:o(ho,{}),loader:vo}),c(l,{path:":promptId",loader:xo,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(Co,{}),children:[o(l,{index:!0,element:o(zo,{})}),o(l,{path:"versions",loader:wo,element:o(So,{}),children:o(l,{path:":versionId",loader:Po,element:o(ko,{})})}),o(l,{path:"config",element:o(Lo,{}),loader:Fo})]}),o(l,{path:"playground",element:o(Ro,{}),loader:Eo,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(Io,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(jo,{}),handle:{crumb:()=>"support"}}),c(l,{path:"/settings",element:o(Oo,{}),handle:{crumb:()=>"settings"},children:[o(l,{path:"general",loader:Ao,element:o(To,{}),handle:{crumb:()=>"general"}}),o(l,{path:"providers",loader:_o,element:o(Do,{}),handle:{crumb:()=>"providers"}})]})]})})]})),{basename:window.Config.basename});function sl(){return o(L,{router:il})}function tl(){return o(Vo,{children:o(Uo,{children:o(dl,{})})})}function dl(){const{theme:a}=Wo();return o(_,{theme:a,mountGlobalStyles:!1,children:c(E.RelayEnvironmentProvider,{environment:Bo,children:[o(nl,{}),o(Xo,{children:o(Ho,{children:o(qo,{children:o(t.Suspense,{children:o(Jo,{children:o(sl,{})})})})})})]})})}const ml=document.getElementById("root"),pl=R.createRoot(ml);pl.render(o(tl,{}));
1175
+ `;function nl(){const{theme:a="dark"}=T();return o(k,{styles:b(ll,ol,a==="dark"?al:rl,cl(a),Zo,gl,el,bl)})}const il=S(F(c(l,{path:"/",errorElement:o(No,{}),children:[o(l,{path:"/v1/*",element:o(C,{to:"/",replace:!0})}),o(l,{path:"/login",element:o(D,{})}),o(l,{path:"/reset-password",element:o(G,{}),loader:O}),o(l,{path:"/reset-password-with-token",element:o(M,{})}),o(l,{path:"/forgot-password",element:o(N,{})}),o(l,{element:o(Mo,{}),loader:V,children:c(l,{element:o(Go,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(q,{})}),o(l,{index:!0,loader:K}),c(l,{path:"/model",handle:{crumb:()=>"model"},element:o($,{}),children:[o(l,{index:!0,element:o(m,{})}),o(l,{element:o(m,{}),children:o(l,{path:"dimensions",children:o(l,{path:":dimensionId",element:o(W,{}),loader:U})})}),o(l,{path:"embeddings",children:o(l,{path:":embeddingDimensionId",element:o(J,{}),loader:B,handle:{crumb:a=>a.embedding.name}})})]}),c(l,{path:"/projects",handle:{crumb:()=>"projects"},element:o(eo,{}),children:[o(l,{index:!0,element:o(H,{})}),c(l,{path:":projectId",loader:Y,handle:{crumb:a=>a.project.name},element:o(go,{}),children:[o(l,{index:!0,element:o(Q,{})}),c(l,{element:o(co,{}),children:[o(l,{path:"traces",element:o(X,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"spans",element:o(Z,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"sessions",element:o(ao,{}),children:o(l,{path:":sessionId",element:o(lo,{}),loader:oo})}),o(l,{path:"config",element:o(ro,{})})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(bo,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(to,{}),loader:u,children:[o(l,{index:!0,element:o(y,{}),loader:f}),o(l,{path:"experiments",element:o(y,{}),loader:f}),o(l,{path:"examples",element:o(so,{}),loader:no,children:o(l,{path:":exampleId",element:o(io,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:mo,element:o(po,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(uo,{})}),o(l,{path:"spans/:spanId",element:o(yo,{}),loader:fo,handle:{crumb:a=>a.span.__typename==="Span"?`span ${a.span.spanId}`:"span unknown"}})]}),c(l,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(l,{index:!0,element:o(ho,{}),loader:vo}),c(l,{path:":promptId",loader:xo,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(Co,{}),children:[o(l,{index:!0,element:o(zo,{})}),o(l,{path:"versions",loader:wo,element:o(So,{}),children:o(l,{path:":versionId",loader:Po,element:o(ko,{})})}),o(l,{path:"config",element:o(Lo,{}),loader:Fo})]}),o(l,{path:"playground",element:o(Ro,{}),loader:Eo,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(Io,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(jo,{}),handle:{crumb:()=>"support"}}),c(l,{path:"/settings",element:o(Oo,{}),handle:{crumb:()=>"settings"},children:[o(l,{path:"general",loader:Ao,element:o(To,{}),handle:{crumb:()=>"general"}}),o(l,{path:"providers",loader:_o,element:o(Do,{}),handle:{crumb:()=>"providers"}})]})]})})]})),{basename:window.Config.basename});function sl(){return o(L,{router:il})}function tl(){return o(Vo,{children:o(Uo,{children:o(dl,{})})})}function dl(){const{theme:a}=Wo();return o(_,{theme:a,mountGlobalStyles:!1,children:c(E.RelayEnvironmentProvider,{environment:Bo,children:[o(nl,{}),o(Qo,{children:o(Jo,{children:o(qo,{children:o(t.Suspense,{children:o($o,{children:o(sl,{})})})})})})]})})}const ml=document.getElementById("root"),pl=R.createRoot(ml);pl.render(o(tl,{}));