arize-phoenix 8.22.1__py3-none-any.whl → 8.24.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.
- {arize_phoenix-8.22.1.dist-info → arize_phoenix-8.24.0.dist-info}/METADATA +22 -2
- {arize_phoenix-8.22.1.dist-info → arize_phoenix-8.24.0.dist-info}/RECORD +31 -29
- phoenix/config.py +65 -3
- phoenix/db/facilitator.py +118 -85
- phoenix/db/helpers.py +16 -0
- phoenix/server/api/context.py +2 -0
- phoenix/server/api/mutations/user_mutations.py +10 -0
- phoenix/server/api/queries.py +3 -14
- phoenix/server/api/routers/v1/__init__.py +2 -0
- phoenix/server/api/routers/v1/projects.py +393 -0
- phoenix/server/api/subscriptions.py +1 -1
- phoenix/server/app.py +17 -0
- phoenix/server/email/sender.py +74 -47
- phoenix/server/email/templates/welcome.html +12 -0
- phoenix/server/email/types.py +16 -1
- phoenix/server/main.py +8 -1
- phoenix/server/static/.vite/manifest.json +36 -36
- phoenix/server/static/assets/{components-BAc4OPED.js → components-B6cljCxu.js} +82 -82
- phoenix/server/static/assets/{index-Du53xkjY.js → index-DfHKoAV9.js} +2 -2
- phoenix/server/static/assets/{pages-Dz-gbBPF.js → pages-Dhitcl5V.js} +342 -339
- phoenix/server/static/assets/{vendor-CEisxXSv.js → vendor-C3H3sezv.js} +1 -1
- phoenix/server/static/assets/{vendor-arizeai-BCTsSnvS.js → vendor-arizeai-DT8pwHfH.js} +1 -1
- phoenix/server/static/assets/{vendor-codemirror-DIWnRs_7.js → vendor-codemirror-DvimrGxD.js} +1 -1
- phoenix/server/static/assets/{vendor-recharts-Bame54mG.js → vendor-recharts-DuSQBcYW.js} +1 -1
- phoenix/server/static/assets/{vendor-shiki-Cc73E4D-.js → vendor-shiki-i05Hmswh.js} +1 -1
- phoenix/session/session.py +10 -0
- phoenix/version.py +1 -1
- {arize_phoenix-8.22.1.dist-info → arize_phoenix-8.24.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-8.22.1.dist-info → arize_phoenix-8.24.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-8.22.1.dist-info → arize_phoenix-8.24.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-8.22.1.dist-info → arize_phoenix-8.24.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -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,cy as k,ej as S,ek as F,el as L,em as l,w as C,en as E}from"./vendor-
|
|
1
|
+
import{r as t,j as o,bp as z,l as c,P as w,R as P,E as b,cy as k,ej as S,ek as F,el as L,em as l,w as C,en as E}from"./vendor-C3H3sezv.js";import{c as R,x as I,D as j,K as A,M as T}from"./vendor-arizeai-DT8pwHfH.js";import{L as _,r as D,d as O,e as G,F as M,f as N,P as V,h as W,M as m,g as q,D as K,i as U,E as B,j as J,k as Y,p as $,l as H,n as p,o as X,q as Q,s as Z,S as oo,t as lo,v as ao,w as ro,x as co,y as go,z as eo,A as u,B as f,C as y,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 Io,a8 as jo,a9 as Ao,aa as To,ab as _o,ac as Do,ad as Oo,ae as Go,af as Mo,ag as No,ah as Vo}from"./pages-Dhitcl5V.js";import{z as Wo,dW as qo,bG as Ko,R as Uo,dX as Bo,dY as Jo}from"./components-B6cljCxu.js";import"./vendor-three-C5WAXd5r.js";import"./vendor-codemirror-DvimrGxD.js";import"./vendor-shiki-i05Hmswh.js";import"./vendor-recharts-DuSQBcYW.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 Ho(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(Xo,{children:a.children})})}function Xo(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(j,{type:"modal",isDismissable:!0,onDismiss:()=>g(!1),children:r&&o(R,{title:"Feature Flags",children:o(Wo,{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 Qo=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,cy as k,ej as S,ek as F
|
|
|
1172
1172
|
background-color: rgba(0, 0, 0, 0.2) !important;
|
|
1173
1173
|
}
|
|
1174
1174
|
}
|
|
1175
|
-
`;function bl(){const{theme:a="dark"}=A();return o(k,{styles:b(ol,Zo,a==="dark"?ll:al,rl(a),
|
|
1175
|
+
`;function bl(){const{theme:a="dark"}=A();return o(k,{styles:b(ol,Zo,a==="dark"?ll:al,rl(a),Qo,cl,gl,el)})}const nl=S(F(c(l,{path:"/",errorElement:o(Mo,{}),children:[o(l,{path:"/login",element:o(_,{})}),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(M,{})}),o(l,{element:o(Go,{}),loader:N,children:c(l,{element:o(Oo,{}),children:[o(l,{path:"/profile",handle:{crumb:()=>"profile"},element:o(V,{})}),o(l,{index:!0,loader:W}),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(K,{}),loader:q})})}),o(l,{path:"embeddings",children:o(l,{path:":embeddingDimensionId",element:o(B,{}),loader:U,handle:{crumb:a=>a.embedding.name}})})]}),c(l,{path:"/projects",handle:{crumb:()=>"projects"},element:o(go,{}),children:[o(l,{index:!0,element:o(Y,{})}),c(l,{path:":projectId",loader:$,handle:{crumb:a=>a.project.name},element:o(co,{}),children:[o(l,{index:!0,element:o(H,{})}),c(l,{element:o(ro,{}),children:[o(l,{path:"traces",element:o(X,{}),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(lo,{}),children:o(l,{path:":sessionId",element:o(oo,{}),loader:Z})}),o(l,{path:"config",element:o(ao,{})})]})]})]}),c(l,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[o(l,{index:!0,element:o(eo,{})}),c(l,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[c(l,{element:o(so,{}),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(io,{}),loader:bo,children:o(l,{path:":exampleId",element:o(no,{})})})]}),o(l,{path:"compare",handle:{crumb:()=>"compare"},loader:to,element:o(mo,{})})]})]}),c(l,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(l,{index:!0,element:o(po,{})}),o(l,{path:"spans/:spanId",element:o(fo,{}),loader:uo,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(vo,{}),loader:yo}),c(l,{path:":promptId",loader:ho,shouldRevalidate:()=>!0,handle:{crumb:a=>a.prompt.__typename==="Prompt"?a.prompt.name:"unknown"},children:[c(l,{element:o(Lo,{}),children:[o(l,{index:!0,element:o(xo,{})}),o(l,{path:"versions",loader:zo,element:o(ko,{}),children:o(l,{path:":versionId",loader:wo,element:o(Po,{})})}),o(l,{path:"config",element:o(Fo,{}),loader:So})]}),o(l,{path:"playground",element:o(Eo,{}),loader:Co,handle:{crumb:()=>"playground"}})]})]}),o(l,{path:"/apis",element:o(Ro,{}),handle:{crumb:()=>"APIs"}}),o(l,{path:"/support",element:o(Io,{}),handle:{crumb:()=>"support"}}),c(l,{path:"/settings",element:o(Do,{}),handle:{crumb:()=>"settings"},children:[o(l,{path:"general",loader:jo,element:o(Ao,{}),handle:{crumb:()=>"general"}}),o(l,{path:"providers",loader:To,element:o(_o,{}),handle:{crumb:()=>"providers"}})]})]})})]})),{basename:window.Config.basename});function il(){return o(L,{router:nl})}function sl(){return o(No,{children:o(qo,{children:o(tl,{})})})}function tl(){const{theme:a}=Ko();return o(T,{theme:a,mountGlobalStyles:!1,children:c(C.RelayEnvironmentProvider,{environment:Uo,children:[o(bl,{}),o(Ho,{children:o(Bo,{children:o(Vo,{children:o(t.Suspense,{children:o(Jo,{children:o(il,{})})})})})})]})})}const dl=document.getElementById("root"),ml=E.createRoot(dl);ml.render(o(sl,{}));
|