arize-phoenix 8.2.0__py3-none-any.whl → 8.2.2__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,ba as z,l as c,O as w,R as P,E as b,ck as k,d$ as S,e0 as F,e1 as L,e2 as l,v as C,e3 as E}from"./vendor-Cqfydjep.js";import{d as R,J as T,D as A,V as I,W as _}from"./vendor-arizeai-WnerlUPN.js";import{L as j,r as D,d as O,e as G,F as N,f as V,P as M,h as W,M as m,g as U,D as q,i as B,E as J,j as $,k as K,p as H,l as p,n as Y,s as Q,S as X,o as Z,q as oo,t as lo,v as u,w as f,x as y,y as ao,z as ro,A as co,B as go,C as eo,G as bo,H as no,I as io,J as so,K as to,N as mo,O as po,Q as uo,U as fo,V as yo,W as vo,X as ho,Y as xo,Z as zo,_ as wo,$ as Po,a0 as ko,a1 as So,a2 as Fo,a3 as Lo,a4 as Co,a5 as Eo,a6 as Ro,a7 as To,a8 as Ao,a9 as Io}from"./pages-sERWyBWu.js";import{W as _o,dA as jo,b9 as Do,U as Oo,dB as Go,dC as No}from"./components-C48uRczp.js";import"./vendor-three-C-AGeJYv.js";import"./vendor-codemirror-D-ZZKLFq.js";import"./vendor-shiki-D5K9GnFn.js";import"./vendor-recharts-KY97ZPfK.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 Vo(){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 Mo(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Wo(a){const[e,i]=t.useState(Vo()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Uo,{children:a.children})})}function Uo(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=Mo(),[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(R,{title:"Feature Flags",children:o(_o,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(T,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const qo=b`
1
+ import{r as t,j as o,ba as z,l as c,O as w,R as P,E as b,ck as k,d$ as S,e0 as F,e1 as L,e2 as l,v as C,e3 as E}from"./vendor-Cqfydjep.js";import{d as R,J as T,D as I,V as _,W as A}from"./vendor-arizeai-WnerlUPN.js";import{L as D,r as j,d as O,e as G,F as N,f as V,P as M,h as W,M as m,g as U,D as q,i as B,E as J,j as $,k as K,p as H,l as p,n as Y,s as Q,S as X,o as Z,q as oo,t as lo,v as u,w as f,x as y,y as ao,z as ro,A as co,B as go,C as eo,G as bo,H as no,I as io,J as so,K as to,N as mo,O as po,Q as uo,U as fo,V as yo,W as vo,X as ho,Y as xo,Z as zo,_ as wo,$ as Po,a0 as ko,a1 as So,a2 as Fo,a3 as Lo,a4 as Co,a5 as Eo,a6 as Ro,a7 as To,a8 as Io,a9 as _o}from"./pages-NrL4hb9q.js";import{W as Ao,dB as Do,b9 as jo,U as Oo,dC as Go,dD as No}from"./components-MeFAEc1z.js";import"./vendor-three-C-AGeJYv.js";import"./vendor-codemirror-D-ZZKLFq.js";import"./vendor-shiki-D5K9GnFn.js";import"./vendor-recharts-KY97ZPfK.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 Vo(){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 Mo(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Wo(a){const[e,i]=t.useState(Vo()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Uo,{children:a.children})})}function Uo(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=Mo(),[r,g]=t.useState(!1);return z("ctrl+shift+f",()=>g(!0)),c(w,{children:[e,o(I,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(R,{title:"Feature Flags",children:o(Ao,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(T,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const qo=b`
2
2
  :root {
3
3
  --ac-global-dimension-scale-factor: 1;
4
4
  --ac-global-dimension-size-0: 0px;
@@ -1122,4 +1122,4 @@ import{r as t,j as o,ba as z,l as c,O as w,R as P,E as b,ck as k,d$ as S,e0 as F
1122
1122
  --px-corpus-color: #92969c;
1123
1123
  --px-corpus-color--transparent: #92969c63;
1124
1124
  }
1125
- `;function Xo(){const{theme:a="dark"}=I();return o(k,{styles:b(Jo,Bo,a==="dark"?$o:Ko,Ho(a),qo,Yo,Qo)})}const Zo=S(F(c(l,{path:"/",errorElement:o(To,{}),children:[o(l,{path:"/login",element:o(j,{})}),o(l,{path:"/reset-password",element:o(O,{}),loader:D}),o(l,{path:"/reset-password-with-token",element:o(G,{})}),o(l,{path:"/forgot-password",element:o(N,{})}),o(l,{element:o(Ro,{}),loader:V,children:c(l,{element:o(Eo,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(M,{})}),o(l,{index:!0,loader:W}),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(q,{}),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(oo,{}),children:[o(l,{index:!0,element:o(K,{})}),c(l,{path:":projectId",element:o(Z,{}),loader:H,handle:{crumb:a=>a.project.name},children:[o(l,{index:!0,element:o(p,{})}),c(l,{element:o(p,{}),children:[o(l,{path:"traces/:traceId",element:o(Y,{})}),o(l,{path:"sessions/:sessionId",element:o(X,{}),loader:Q})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(lo,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(go,{}),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(co,{}),loader:ao,children:o(l,{path:":exampleId",element:o(ro,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:eo,element:o(bo,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(no,{})}),o(l,{path:"spans/:spanId",element:o(so,{}),loader:io,handle:{crumb:a=>a.span.__typename==="Span"?`span ${a.span.context.spanId}`:"span unknown"}})]}),c(l,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(l,{index:!0,element:o(mo,{}),loader:to}),c(l,{path:":promptId",loader:po,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(wo,{}),children:[o(l,{index:!0,element:o(uo,{})}),o(l,{path:"versions",loader:fo,element:o(ho,{}),children:o(l,{path:":versionId",loader:yo,element:o(vo,{})})}),o(l,{path:"config",element:o(zo,{}),loader:xo})]}),o(l,{path:"playground",element:o(ko,{}),loader:Po,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(So,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(Fo,{}),handle:{crumb:()=>"support"}}),o(l,{path:"/settings",element:o(Co,{}),loader:Lo,handle:{crumb:()=>"settings"}})]})})]})),{basename:window.Config.basename});function ol(){return o(L,{router:Zo})}function ll(){return o(Ao,{children:o(jo,{children:o(al,{})})})}function al(){const{theme:a}=Do();return o(_,{theme:a,mountGlobalStyles:!1,children:c(C.RelayEnvironmentProvider,{environment:Oo,children:[o(Xo,{}),o(Wo,{children:o(Go,{children:o(Io,{children:o(t.Suspense,{children:o(No,{children:o(ol,{})})})})})})]})})}const rl=document.getElementById("root"),cl=E.createRoot(rl);cl.render(o(ll,{}));
1125
+ `;function Xo(){const{theme:a="dark"}=_();return o(k,{styles:b(Jo,Bo,a==="dark"?$o:Ko,Ho(a),qo,Yo,Qo)})}const Zo=S(F(c(l,{path:"/",errorElement:o(To,{}),children:[o(l,{path:"/login",element:o(D,{})}),o(l,{path:"/reset-password",element:o(O,{}),loader:j}),o(l,{path:"/reset-password-with-token",element:o(G,{})}),o(l,{path:"/forgot-password",element:o(N,{})}),o(l,{element:o(Ro,{}),loader:V,children:c(l,{element:o(Eo,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(M,{})}),o(l,{index:!0,loader:W}),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(q,{}),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(oo,{}),children:[o(l,{index:!0,element:o(K,{})}),c(l,{path:":projectId",element:o(Z,{}),loader:H,handle:{crumb:a=>a.project.name},children:[o(l,{index:!0,element:o(p,{})}),c(l,{element:o(p,{}),children:[o(l,{path:"traces/:traceId",element:o(Y,{})}),o(l,{path:"sessions/:sessionId",element:o(X,{}),loader:Q})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(lo,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(go,{}),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(co,{}),loader:ao,children:o(l,{path:":exampleId",element:o(ro,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:eo,element:o(bo,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(no,{})}),o(l,{path:"spans/:spanId",element:o(so,{}),loader:io,handle:{crumb:a=>a.span.__typename==="Span"?`span ${a.span.context.spanId}`:"span unknown"}})]}),c(l,{path:"/prompts",handle:{crumb:()=>"prompts"},children:[o(l,{index:!0,element:o(mo,{}),loader:to}),c(l,{path:":promptId",loader:po,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(wo,{}),children:[o(l,{index:!0,element:o(uo,{})}),o(l,{path:"versions",loader:fo,element:o(ho,{}),children:o(l,{path:":versionId",loader:yo,element:o(vo,{})})}),o(l,{path:"config",element:o(zo,{}),loader:xo})]}),o(l,{path:"playground",element:o(ko,{}),loader:Po,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(So,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(Fo,{}),handle:{crumb:()=>"support"}}),o(l,{path:"/settings",element:o(Co,{}),loader:Lo,handle:{crumb:()=>"settings"}})]})})]})),{basename:window.Config.basename});function ol(){return o(L,{router:Zo})}function ll(){return o(Io,{children:o(Do,{children:o(al,{})})})}function al(){const{theme:a}=jo();return o(A,{theme:a,mountGlobalStyles:!1,children:c(C.RelayEnvironmentProvider,{environment:Oo,children:[o(Xo,{}),o(Wo,{children:o(Go,{children:o(_o,{children:o(t.Suspense,{children:o(No,{children:o(ol,{})})})})})})]})})}const rl=document.getElementById("root"),cl=E.createRoot(rl);cl.render(o(ll,{}));