arize-phoenix 8.3.0__py3-none-any.whl → 8.4.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.
- {arize_phoenix-8.3.0.dist-info → arize_phoenix-8.4.1.dist-info}/METADATA +2 -1
- {arize_phoenix-8.3.0.dist-info → arize_phoenix-8.4.1.dist-info}/RECORD +25 -24
- phoenix/db/models.py +68 -2
- phoenix/server/api/context.py +2 -0
- phoenix/server/api/dataloaders/__init__.py +2 -0
- phoenix/server/api/dataloaders/num_child_spans.py +35 -0
- phoenix/server/api/dataloaders/span_descendants.py +71 -34
- phoenix/server/api/input_types/SpanSort.py +1 -1
- phoenix/server/api/queries.py +72 -3
- phoenix/server/api/types/Span.py +31 -4
- phoenix/server/app.py +2 -0
- phoenix/server/static/.vite/manifest.json +40 -40
- phoenix/server/static/assets/{components-T5K9z49d.js → components-CRlSj2mp.js} +166 -167
- phoenix/server/static/assets/{index-DvHwFF8e.js → index-YUNmSSFA.js} +9 -9
- phoenix/server/static/assets/{pages-CY3ZXSHj.js → pages-o_YaLL0c.js} +635 -609
- phoenix/server/static/assets/{vendor-Cqfydjep.js → vendor-CRRq3WgM.js} +116 -116
- phoenix/server/static/assets/{vendor-arizeai-WnerlUPN.js → vendor-arizeai-Dq64X_0o.js} +1 -1
- phoenix/server/static/assets/{vendor-codemirror-D-ZZKLFq.js → vendor-codemirror-C1oevlym.js} +1 -1
- phoenix/server/static/assets/{vendor-recharts-KY97ZPfK.js → vendor-recharts-CPj01S89.js} +1 -1
- phoenix/server/static/assets/{vendor-shiki-D5K9GnFn.js → vendor-shiki-aY7rz1pm.js} +1 -1
- phoenix/version.py +1 -1
- {arize_phoenix-8.3.0.dist-info → arize_phoenix-8.4.1.dist-info}/WHEEL +0 -0
- {arize_phoenix-8.3.0.dist-info → arize_phoenix-8.4.1.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-8.3.0.dist-info → arize_phoenix-8.4.1.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-8.3.0.dist-info → arize_phoenix-8.4.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -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,
|
|
1
|
+
import{r as t,j as o,ba as z,l as c,O as w,R as P,E as b,cm as k,e1 as S,e2 as F,e3 as L,e4 as l,v as C,e5 as E}from"./vendor-CRRq3WgM.js";import{d as R,J as I,D as T,V as j,W as _}from"./vendor-arizeai-Dq64X_0o.js";import{L as A,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,k as $,p as H,l as Y,n as p,o as Q,q as X,s as Z,S as oo,t as lo,v as ao,w as ro,x as co,y as u,z as f,A as y,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 ho,X as vo,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 Io,a8 as To,a9 as jo,aa as _o,ab as Ao,ac as Do}from"./pages-o_YaLL0c.js";import{W as Oo,dB as Go,b9 as No,U as Vo,dC as Mo,dD as Wo}from"./components-CRlSj2mp.js";import"./vendor-three-C-AGeJYv.js";import"./vendor-codemirror-C1oevlym.js";import"./vendor-shiki-aY7rz1pm.js";import"./vendor-recharts-CPj01S89.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 h="arize-phoenix-feature-flags",d={__RESET__:!1};function Uo(){const a=localStorage.getItem(h);if(!a)return d;try{const e=JSON.parse(a);return Object.assign({},d,e)}catch{return d}}const v=t.createContext(null);function qo(){const a=P.useContext(v);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Bo(a){const[e,i]=t.useState(Uo()),s=r=>{localStorage.setItem(h,JSON.stringify(r)),i(r)};return o(v.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Jo,{children:a.children})})}function Jo(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=qo(),[r,g]=t.useState(!1);return z("ctrl+shift+f",()=>g(!0)),c(w,{children:[e,o(T,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(R,{title:"Feature Flags",children:o(Oo,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(n=>o(I,{isSelected:i[n],onChange:x=>s({...i,[n]:x}),children:n},n))})})})]})}const Ko=b`
|
|
2
2
|
:root {
|
|
3
3
|
--ac-global-dimension-scale-factor: 1;
|
|
4
4
|
--ac-global-dimension-size-0: 0px;
|
|
@@ -53,7 +53,7 @@ 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
|
|
|
53
53
|
--ac-global-dimension-size-5000: 400px;
|
|
54
54
|
--ac-global-dimension-size-6000: 480px;
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
`,$o=b`
|
|
57
57
|
:root {
|
|
58
58
|
// static colors
|
|
59
59
|
--ac-global-static-color-white-900: rgba(255, 255, 255, 0.9);
|
|
@@ -63,7 +63,7 @@ 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
|
|
|
63
63
|
--ac-global-static-color-black-700: rgba(0, 0, 0, 0.7);
|
|
64
64
|
--ac-global-static-color-black-300: rgba(0, 0, 0, 0.3);
|
|
65
65
|
}
|
|
66
|
-
`,
|
|
66
|
+
`,Ho=b`
|
|
67
67
|
:root {
|
|
68
68
|
--ac-global-dimension-static-size-0: 0px;
|
|
69
69
|
--ac-global-dimension-static-size-10: 1px;
|
|
@@ -143,7 +143,7 @@ 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
|
|
|
143
143
|
--ac-global-dimension-font-size-1200: 50px;
|
|
144
144
|
--ac-global-dimension-font-size-1300: 60px;
|
|
145
145
|
}
|
|
146
|
-
|
|
146
|
+
`,Yo=b`
|
|
147
147
|
:root,
|
|
148
148
|
.ac-theme--dark {
|
|
149
149
|
/* Colors */
|
|
@@ -662,7 +662,7 @@ 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
|
|
|
662
662
|
--ac-global-text-color-500: rgba(255, 255, 255, 0.5);
|
|
663
663
|
--ac-global-text-color-300: rgba(255, 255, 255, 0.3);
|
|
664
664
|
}
|
|
665
|
-
`,
|
|
665
|
+
`,Qo=b`
|
|
666
666
|
:root,
|
|
667
667
|
.ac-theme--light {
|
|
668
668
|
/* Colors */
|
|
@@ -908,7 +908,7 @@ 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
|
|
|
908
908
|
--ac-global-text-color-500: rgba(0, 0, 0, 0.5);
|
|
909
909
|
--ac-global-text-color-300: rgba(0, 0, 0, 0.3);
|
|
910
910
|
}
|
|
911
|
-
`,
|
|
911
|
+
`,Xo=a=>b`
|
|
912
912
|
:root,
|
|
913
913
|
.ac-theme--${a} {
|
|
914
914
|
--ac-global-background-color-default: var(--ac-global-color-grey-100);
|
|
@@ -1004,9 +1004,9 @@ 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
|
|
|
1004
1004
|
--ac-alias-single-line-height: var(--ac-global-dimension-size-400);
|
|
1005
1005
|
--ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
|
|
1006
1006
|
}
|
|
1007
|
-
`,
|
|
1007
|
+
`,Zo=b`
|
|
1008
1008
|
--ac-opacity-disabled: 0.6;
|
|
1009
|
-
`,
|
|
1009
|
+
`,ol=b`
|
|
1010
1010
|
body {
|
|
1011
1011
|
background-color: var(--ac-global-color-grey-75);
|
|
1012
1012
|
color: var(--ac-global-text-color-900);
|
|
@@ -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
|
|
1125
|
+
`;function ll(){const{theme:a="dark"}=j();return o(k,{styles:b(Ho,$o,a==="dark"?Yo:Qo,Xo(a),Ko,Zo,ol)})}const al=S(F(c(l,{path:"/",errorElement:o(_o,{}),children:[o(l,{path:"/login",element:o(A,{})}),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(jo,{}),loader:V,children:c(l,{element:o(To,{}),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(K,{}),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(ro,{}),children:[o(l,{index:!0,element:o($,{})}),c(l,{path:":projectId",loader:H,handle:{crumb:a=>a.project.name},children:[o(l,{index:!0,element:o(Y,{})}),c(l,{element:o(ao,{}),children:[o(l,{path:"traces",element:o(Q,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"spans",element:o(X,{}),children:o(l,{path:":traceId",element:o(p,{})})}),o(l,{path:"sessions",element:o(lo,{}),children:o(l,{path:":sessionId",element:o(oo,{}),loader:Z})})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(co,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(no,{}),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(bo,{}),loader:go,children:o(l,{path:":exampleId",element:o(eo,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:io,element:o(so,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(to,{})}),o(l,{path:"spans/:spanId",element:o(po,{}),loader:mo,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(fo,{}),loader:uo}),c(l,{path:":promptId",loader:yo,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(So,{}),children:[o(l,{index:!0,element:o(ho,{})}),o(l,{path:"versions",loader:vo,element:o(wo,{}),children:o(l,{path:":versionId",loader:xo,element:o(zo,{})})}),o(l,{path:"config",element:o(ko,{}),loader:Po})]}),o(l,{path:"playground",element:o(Lo,{}),loader:Fo,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(Co,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(Eo,{}),handle:{crumb:()=>"support"}}),o(l,{path:"/settings",element:o(Io,{}),loader:Ro,handle:{crumb:()=>"settings"}})]})})]})),{basename:window.Config.basename});function rl(){return o(L,{router:al})}function cl(){return o(Ao,{children:o(Go,{children:o(gl,{})})})}function gl(){const{theme:a}=No();return o(_,{theme:a,mountGlobalStyles:!1,children:c(C.RelayEnvironmentProvider,{environment:Vo,children:[o(ll,{}),o(Bo,{children:o(Mo,{children:o(Do,{children:o(t.Suspense,{children:o(Wo,{children:o(rl,{})})})})})})]})})}const el=document.getElementById("root"),bl=E.createRoot(el);bl.render(o(cl,{}));
|