arize-phoenix 5.11.0__py3-none-any.whl → 6.0.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-5.11.0.dist-info → arize_phoenix-6.0.0.dist-info}/METADATA +1 -1
- {arize_phoenix-5.11.0.dist-info → arize_phoenix-6.0.0.dist-info}/RECORD +26 -26
- phoenix/experiments/evaluators/llm_evaluators.py +2 -2
- phoenix/server/api/helpers/dataset_helpers.py +77 -40
- phoenix/server/api/helpers/playground_clients.py +40 -78
- phoenix/server/api/helpers/playground_spans.py +2 -1
- phoenix/server/api/mutations/chat_mutations.py +9 -4
- phoenix/server/api/mutations/dataset_mutations.py +10 -30
- phoenix/server/api/routers/v1/evaluations.py +1 -1
- phoenix/server/api/subscriptions.py +52 -13
- phoenix/server/api/types/Span.py +12 -49
- phoenix/server/api/types/TemplateLanguage.py +1 -0
- phoenix/server/static/.vite/manifest.json +31 -31
- phoenix/server/static/assets/{components-C_HASv83.js → components-Bo-xjXoV.js} +144 -144
- phoenix/server/static/assets/index-i2KbnOZd.js +101 -0
- phoenix/server/static/assets/{pages-DYHcAdjT.js → pages-BfYVoiUE.js} +326 -299
- phoenix/server/static/assets/{vendor-BCxsh5i3.js → vendor-UNccFYqq.js} +2 -2
- phoenix/server/static/assets/{vendor-arizeai-C2CDZgMz.js → vendor-arizeai-gSIqhzZY.js} +9 -9
- phoenix/server/static/assets/{vendor-codemirror-DYbtnCTn.js → vendor-codemirror-fSYjW3f-.js} +1 -1
- phoenix/server/static/assets/{vendor-recharts-P6W8G0Mb.js → vendor-recharts-CVVyA2X0.js} +1 -1
- phoenix/utilities/template_formatters.py +18 -0
- phoenix/version.py +1 -1
- phoenix/server/static/assets/index-D7UiCRtr.js +0 -101
- {arize_phoenix-5.11.0.dist-info → arize_phoenix-6.0.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-5.11.0.dist-info → arize_phoenix-6.0.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-5.11.0.dist-info → arize_phoenix-6.0.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-5.11.0.dist-info → arize_phoenix-6.0.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import{r as c,j as e,du as v,l as n,U as F,R as w,D as E,ba as R,dv as S,dw as L,dx as r,dy as z,dz as k,t as A,dA as $}from"./vendor-UNccFYqq.js";import{D as C,d as I,$ as _,G as j,t as T,a4 as D}from"./vendor-arizeai-gSIqhzZY.js";import{E as O,L as G,R as N,r as B,b as M,F as U,A as J,c as K,d as W,P as q,h as H,M as V,e as m,D as Y,f as Q,g as X,i as Z,j as ee,k as re,T as ae,p as te,l as g,n as oe,o as ne,q as u,s as se,t as h,v as x,w as le,x as ie,y as de,z as ce,B as pe,C as f,G as me,S as ge,H as ue,I as he,J as xe,K as fe,N as be}from"./pages-BfYVoiUE.js";import{c5 as ye,$ as Pe,R as ve,c6 as Fe,c7 as we}from"./components-Bo-xjXoV.js";import"./vendor-three-DwGkEfCM.js";import"./vendor-recharts-CVVyA2X0.js";import"./vendor-codemirror-fSYjW3f-.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 b="arize-phoenix-feature-flags",p={__RESET__:!1};function Ee(){const a=localStorage.getItem(b);if(!a)return p;try{const s=JSON.parse(a);return Object.assign({},p,s)}catch{return p}}const y=c.createContext(null);function Re(){const a=w.useContext(y);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Se(a){const[s,i]=c.useState(Ee()),d=t=>{localStorage.setItem(b,JSON.stringify(t)),i(t)};return e(y.Provider,{value:{featureFlags:s,setFeatureFlags:d},children:e(Le,{children:a.children})})}function Le(a){const{children:s}=a,{featureFlags:i,setFeatureFlags:d}=Re(),[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(I,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(l=>e(_,{isSelected:i[l],onChange:P=>d({...i,[l]:P}),children:l},l))})})})]})}function ze(){return e(R,{styles:a=>E`
|
|
2
|
+
body {
|
|
3
|
+
background-color: var(--ac-global-color-grey-75);
|
|
4
|
+
color: var(--ac-global-text-color-900);
|
|
5
|
+
font-family: "Roboto";
|
|
6
|
+
font-size: ${a.typography.sizes.medium.fontSize}px;
|
|
7
|
+
margin: 0;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
#root,
|
|
10
|
+
#root > div[data-overlay-container="true"],
|
|
11
|
+
#root > div[data-overlay-container="true"] > .ac-theme {
|
|
12
|
+
height: 100vh;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Remove list styling */
|
|
17
|
+
ul {
|
|
18
|
+
display: block;
|
|
19
|
+
list-style-type: none;
|
|
20
|
+
margin-block-start: none;
|
|
21
|
+
margin-block-end: 0;
|
|
22
|
+
padding-inline-start: 0;
|
|
23
|
+
margin-block-start: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* A reset style for buttons */
|
|
27
|
+
.button--reset {
|
|
28
|
+
background: none;
|
|
29
|
+
border: none;
|
|
30
|
+
padding: 0;
|
|
31
|
+
}
|
|
32
|
+
/* this css class is added to html via modernizr @see modernizr.js */
|
|
33
|
+
.no-hiddenscroll {
|
|
34
|
+
/* Works on Firefox */
|
|
35
|
+
* {
|
|
36
|
+
scrollbar-width: thin;
|
|
37
|
+
scrollbar-color: var(--ac-global-color-grey-300)
|
|
38
|
+
var(--ac-global-color-grey-400);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* Works on Chrome, Edge, and Safari */
|
|
42
|
+
*::-webkit-scrollbar {
|
|
43
|
+
width: 14px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
*::-webkit-scrollbar-track {
|
|
47
|
+
background: var(--ac-global-color-grey-100);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
*::-webkit-scrollbar-thumb {
|
|
51
|
+
background-color: var(--ac-global-color-grey-75);
|
|
52
|
+
border-radius: 8px;
|
|
53
|
+
border: 1px solid var(--ac-global-color-grey-300);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:root {
|
|
58
|
+
--px-blue-color: ${a.colors.arizeBlue};
|
|
59
|
+
|
|
60
|
+
--px-flex-gap-sm: ${a.spacing.margin4}px;
|
|
61
|
+
--px-flex-gap-sm: ${a.spacing.margin8}px;
|
|
62
|
+
|
|
63
|
+
--px-section-background-color: ${a.colors.gray500};
|
|
64
|
+
|
|
65
|
+
/* An item is a typically something in a list */
|
|
66
|
+
--px-item-background-color: ${a.colors.gray800};
|
|
67
|
+
--px-item-border-color: ${a.colors.gray600};
|
|
68
|
+
|
|
69
|
+
--px-spacing-sm: ${a.spacing.padding4}px;
|
|
70
|
+
--px-spacing-med: ${a.spacing.padding8}px;
|
|
71
|
+
--px-spacing-lg: ${a.spacing.padding16}px;
|
|
72
|
+
|
|
73
|
+
--px-border-radius-med: ${a.borderRadius.medium}px;
|
|
74
|
+
|
|
75
|
+
--px-font-size-sm: ${a.typography.sizes.small.fontSize}px;
|
|
76
|
+
--px-font-size-med: ${a.typography.sizes.medium.fontSize}px;
|
|
77
|
+
--px-font-size-lg: ${a.typography.sizes.large.fontSize}px;
|
|
78
|
+
|
|
79
|
+
--px-gradient-bar-height: 8px;
|
|
80
|
+
|
|
81
|
+
--px-nav-collapsed-width: 45px;
|
|
82
|
+
--px-nav-expanded-width: 200px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ac-theme--dark {
|
|
86
|
+
--px-primary-color: #9efcfd;
|
|
87
|
+
--px-primary-color--transparent: rgb(158, 252, 253, 0.2);
|
|
88
|
+
--px-reference-color: #baa1f9;
|
|
89
|
+
--px-reference-color--transparent: #baa1f982;
|
|
90
|
+
--px-corpus-color: #92969c;
|
|
91
|
+
--px-corpus-color--transparent: #92969c63;
|
|
92
|
+
}
|
|
93
|
+
.ac-theme--light {
|
|
94
|
+
--px-primary-color: #00add0;
|
|
95
|
+
--px-primary-color--transparent: rgba(0, 173, 208, 0.2);
|
|
96
|
+
--px-reference-color: #4500d9;
|
|
97
|
+
--px-reference-color--transparent: rgba(69, 0, 217, 0.2);
|
|
98
|
+
--px-corpus-color: #92969c;
|
|
99
|
+
--px-corpus-color--transparent: #92969c63;
|
|
100
|
+
}
|
|
101
|
+
`})}const ke=S(L(n(r,{path:"/",errorElement:e(O,{}),children:[e(r,{path:"/login",element:e(G,{})}),e(r,{path:"/reset-password",element:e(N,{}),loader:B}),e(r,{path:"/reset-password-with-token",element:e(M,{})}),e(r,{path:"/forgot-password",element:e(U,{})}),e(r,{element:e(J,{}),loader:K,children:n(r,{element:e(W,{}),children:[e(r,{path:"/profile",handle:{crumb:()=>"profile"},element:e(q,{})}),e(r,{index:!0,loader:H}),n(r,{path:"/model",handle:{crumb:()=>"model"},element:e(V,{}),children:[e(r,{index:!0,element:e(m,{})}),e(r,{element:e(m,{}),children:e(r,{path:"dimensions",children:e(r,{path:":dimensionId",element:e(Y,{}),loader:Q})})}),e(r,{path:"embeddings",children:e(r,{path:":embeddingDimensionId",element:e(X,{}),loader:Z,handle:{crumb:a=>a.embedding.name}})})]}),n(r,{path:"/projects",handle:{crumb:()=>"projects"},element:e(ee,{}),children:[e(r,{index:!0,element:e(re,{})}),n(r,{path:":projectId",element:e(ae,{}),loader:te,handle:{crumb:a=>a.project.name},children:[e(r,{index:!0,element:e(g,{})}),e(r,{element:e(g,{}),children:e(r,{path:"traces/:traceId",element:e(oe,{})})})]})]}),n(r,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[e(r,{index:!0,element:e(ne,{})}),n(r,{path:":datasetId",loader:u,handle:{crumb:a=>a.dataset.name},children:[n(r,{element:e(se,{}),loader:u,children:[e(r,{index:!0,element:e(h,{}),loader:x}),e(r,{path:"experiments",element:e(h,{}),loader:x}),e(r,{path:"examples",element:e(le,{}),loader:ie,children:e(r,{path:":exampleId",element:e(de,{})})})]}),e(r,{path:"compare",handle:{crumb:()=>"compare"},loader:ce,element:e(pe,{})})]})]}),n(r,{path:"/playground",handle:{crumb:()=>"Playground"},children:[e(r,{index:!0,element:e(f,{})}),e(r,{path:"datasets/:datasetId",element:e(f,{}),children:e(r,{path:"examples/:exampleId",element:e(me,{})})}),e(r,{path:"spans/:spanId",element:e(ge,{}),loader:ue,handle:{crumb:a=>a.span.__typename==="Span"?`span ${a.span.context.spanId}`:"span unknown"}})]}),e(r,{path:"/apis",element:e(he,{}),handle:{crumb:()=>"APIs"}}),e(r,{path:"/settings",element:e(xe,{}),handle:{crumb:()=>"Settings"}})]})})]})),{basename:window.Config.basename});function Ae(){return e(z,{router:ke})}function $e(){return e(fe,{children:e(ye,{children:e(Ce,{})})})}function Ce(){const{theme:a}=Pe();return e(D,{theme:a,children:e(k,{theme:T,children:n(A.RelayEnvironmentProvider,{environment:ve,children:[e(ze,{}),e(Se,{children:e(Fe,{children:e(be,{children:e(c.Suspense,{children:e(we,{children:e(Ae,{})})})})})})]})})})}const Ie=document.getElementById("root"),_e=$.createRoot(Ie);_e.render(e($e,{}));
|