arize-phoenix 4.12.1rc1__py3-none-any.whl → 4.14.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.

Files changed (51) hide show
  1. {arize_phoenix-4.12.1rc1.dist-info → arize_phoenix-4.14.1.dist-info}/METADATA +12 -9
  2. {arize_phoenix-4.12.1rc1.dist-info → arize_phoenix-4.14.1.dist-info}/RECORD +48 -49
  3. phoenix/db/bulk_inserter.py +3 -1
  4. phoenix/experiments/evaluators/base.py +4 -0
  5. phoenix/experiments/evaluators/code_evaluators.py +80 -0
  6. phoenix/experiments/evaluators/llm_evaluators.py +77 -1
  7. phoenix/experiments/evaluators/utils.py +70 -21
  8. phoenix/experiments/functions.py +14 -14
  9. phoenix/server/api/context.py +7 -3
  10. phoenix/server/api/dataloaders/average_experiment_run_latency.py +23 -23
  11. phoenix/server/api/dataloaders/experiment_error_rates.py +30 -10
  12. phoenix/server/api/dataloaders/experiment_run_counts.py +18 -5
  13. phoenix/server/api/input_types/{CreateSpanAnnotationsInput.py → CreateSpanAnnotationInput.py} +4 -2
  14. phoenix/server/api/input_types/{CreateTraceAnnotationsInput.py → CreateTraceAnnotationInput.py} +4 -2
  15. phoenix/server/api/input_types/{PatchAnnotationsInput.py → PatchAnnotationInput.py} +4 -2
  16. phoenix/server/api/mutations/span_annotations_mutations.py +12 -6
  17. phoenix/server/api/mutations/trace_annotations_mutations.py +12 -6
  18. phoenix/server/api/openapi/main.py +2 -18
  19. phoenix/server/api/openapi/schema.py +12 -12
  20. phoenix/server/api/routers/v1/__init__.py +83 -36
  21. phoenix/server/api/routers/v1/dataset_examples.py +123 -102
  22. phoenix/server/api/routers/v1/datasets.py +506 -390
  23. phoenix/server/api/routers/v1/evaluations.py +66 -73
  24. phoenix/server/api/routers/v1/experiment_evaluations.py +91 -68
  25. phoenix/server/api/routers/v1/experiment_runs.py +155 -98
  26. phoenix/server/api/routers/v1/experiments.py +181 -132
  27. phoenix/server/api/routers/v1/spans.py +173 -144
  28. phoenix/server/api/routers/v1/traces.py +128 -115
  29. phoenix/server/api/types/Experiment.py +2 -2
  30. phoenix/server/api/types/Inferences.py +1 -2
  31. phoenix/server/api/types/Model.py +1 -2
  32. phoenix/server/app.py +177 -152
  33. phoenix/server/openapi/docs.py +221 -0
  34. phoenix/server/static/.vite/manifest.json +31 -31
  35. phoenix/server/static/assets/{components-C8sm_r1F.js → components-DeS0YEmv.js} +2 -2
  36. phoenix/server/static/assets/index-CQgXRwU0.js +100 -0
  37. phoenix/server/static/assets/{pages-bN7juCjh.js → pages-hdjlFZhO.js} +275 -198
  38. phoenix/server/static/assets/{vendor-CUDAPm8e.js → vendor-DPvSDRn3.js} +1 -1
  39. phoenix/server/static/assets/{vendor-arizeai-Do2HOmcL.js → vendor-arizeai-CkvPT67c.js} +2 -2
  40. phoenix/server/static/assets/{vendor-codemirror-CrdxOlMs.js → vendor-codemirror-Cqwpwlua.js} +1 -1
  41. phoenix/server/static/assets/{vendor-recharts-PKRvByVe.js → vendor-recharts-5jlNaZuF.js} +1 -1
  42. phoenix/server/thread_server.py +2 -2
  43. phoenix/session/client.py +9 -8
  44. phoenix/trace/dsl/filter.py +40 -25
  45. phoenix/version.py +1 -1
  46. phoenix/server/api/routers/v1/pydantic_compat.py +0 -78
  47. phoenix/server/api/routers/v1/utils.py +0 -95
  48. phoenix/server/static/assets/index-BEKPzgQs.js +0 -100
  49. {arize_phoenix-4.12.1rc1.dist-info → arize_phoenix-4.14.1.dist-info}/WHEEL +0 -0
  50. {arize_phoenix-4.12.1rc1.dist-info → arize_phoenix-4.14.1.dist-info}/licenses/IP_NOTICE +0 -0
  51. {arize_phoenix-4.12.1rc1.dist-info → arize_phoenix-4.14.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,32 +1,32 @@
1
1
  {
2
- "_components-C8sm_r1F.js": {
3
- "file": "assets/components-C8sm_r1F.js",
2
+ "_components-DeS0YEmv.js": {
3
+ "file": "assets/components-DeS0YEmv.js",
4
4
  "name": "components",
5
5
  "imports": [
6
- "_vendor-CUDAPm8e.js",
7
- "_vendor-arizeai-Do2HOmcL.js",
8
- "_pages-bN7juCjh.js",
6
+ "_vendor-DPvSDRn3.js",
7
+ "_vendor-arizeai-CkvPT67c.js",
8
+ "_pages-hdjlFZhO.js",
9
9
  "_vendor-three-DwGkEfCM.js",
10
- "_vendor-codemirror-CrdxOlMs.js"
10
+ "_vendor-codemirror-Cqwpwlua.js"
11
11
  ]
12
12
  },
13
- "_pages-bN7juCjh.js": {
14
- "file": "assets/pages-bN7juCjh.js",
13
+ "_pages-hdjlFZhO.js": {
14
+ "file": "assets/pages-hdjlFZhO.js",
15
15
  "name": "pages",
16
16
  "imports": [
17
- "_vendor-CUDAPm8e.js",
18
- "_components-C8sm_r1F.js",
19
- "_vendor-arizeai-Do2HOmcL.js",
20
- "_vendor-recharts-PKRvByVe.js",
21
- "_vendor-codemirror-CrdxOlMs.js"
17
+ "_vendor-DPvSDRn3.js",
18
+ "_components-DeS0YEmv.js",
19
+ "_vendor-arizeai-CkvPT67c.js",
20
+ "_vendor-recharts-5jlNaZuF.js",
21
+ "_vendor-codemirror-Cqwpwlua.js"
22
22
  ]
23
23
  },
24
24
  "_vendor-!~{003}~.js": {
25
25
  "file": "assets/vendor-DxkFTwjz.css",
26
26
  "src": "_vendor-!~{003}~.js"
27
27
  },
28
- "_vendor-CUDAPm8e.js": {
29
- "file": "assets/vendor-CUDAPm8e.js",
28
+ "_vendor-DPvSDRn3.js": {
29
+ "file": "assets/vendor-DPvSDRn3.js",
30
30
  "name": "vendor",
31
31
  "imports": [
32
32
  "_vendor-three-DwGkEfCM.js"
@@ -35,25 +35,25 @@
35
35
  "assets/vendor-DxkFTwjz.css"
36
36
  ]
37
37
  },
38
- "_vendor-arizeai-Do2HOmcL.js": {
39
- "file": "assets/vendor-arizeai-Do2HOmcL.js",
38
+ "_vendor-arizeai-CkvPT67c.js": {
39
+ "file": "assets/vendor-arizeai-CkvPT67c.js",
40
40
  "name": "vendor-arizeai",
41
41
  "imports": [
42
- "_vendor-CUDAPm8e.js"
42
+ "_vendor-DPvSDRn3.js"
43
43
  ]
44
44
  },
45
- "_vendor-codemirror-CrdxOlMs.js": {
46
- "file": "assets/vendor-codemirror-CrdxOlMs.js",
45
+ "_vendor-codemirror-Cqwpwlua.js": {
46
+ "file": "assets/vendor-codemirror-Cqwpwlua.js",
47
47
  "name": "vendor-codemirror",
48
48
  "imports": [
49
- "_vendor-CUDAPm8e.js"
49
+ "_vendor-DPvSDRn3.js"
50
50
  ]
51
51
  },
52
- "_vendor-recharts-PKRvByVe.js": {
53
- "file": "assets/vendor-recharts-PKRvByVe.js",
52
+ "_vendor-recharts-5jlNaZuF.js": {
53
+ "file": "assets/vendor-recharts-5jlNaZuF.js",
54
54
  "name": "vendor-recharts",
55
55
  "imports": [
56
- "_vendor-CUDAPm8e.js"
56
+ "_vendor-DPvSDRn3.js"
57
57
  ]
58
58
  },
59
59
  "_vendor-three-DwGkEfCM.js": {
@@ -61,18 +61,18 @@
61
61
  "name": "vendor-three"
62
62
  },
63
63
  "index.tsx": {
64
- "file": "assets/index-BEKPzgQs.js",
64
+ "file": "assets/index-CQgXRwU0.js",
65
65
  "name": "index",
66
66
  "src": "index.tsx",
67
67
  "isEntry": true,
68
68
  "imports": [
69
- "_vendor-CUDAPm8e.js",
70
- "_vendor-arizeai-Do2HOmcL.js",
71
- "_components-C8sm_r1F.js",
72
- "_pages-bN7juCjh.js",
69
+ "_vendor-DPvSDRn3.js",
70
+ "_vendor-arizeai-CkvPT67c.js",
71
+ "_pages-hdjlFZhO.js",
72
+ "_components-DeS0YEmv.js",
73
73
  "_vendor-three-DwGkEfCM.js",
74
- "_vendor-codemirror-CrdxOlMs.js",
75
- "_vendor-recharts-PKRvByVe.js"
74
+ "_vendor-recharts-5jlNaZuF.js",
75
+ "_vendor-codemirror-Cqwpwlua.js"
76
76
  ]
77
77
  }
78
78
  }
@@ -1,4 +1,4 @@
1
- import{c as He,p as xt,d as je,r as p,j as n,R as j,n as Dn,a as xe,C as Ie,b as q,s as St,e as wt,f as re,g as Se,h as Oe,i as Me,k as ge,l as Mt,m as Tt,o as ee,q as It,t as Dt,u as Et,v as s,w as u,x as Ee,$ as E,L as En,y as Ft,z as Pt,A as _t,B as Nt,D as ln,F as Fe,E as oe,G as Vt,H as Rt,I as Fn,S as Ot,J as Kt,Q as on,K as zt,M as At,N as $t,P as Ke,O as Pn,T as Gt,U as Bt,V as Qt,W as Ut,X as Ht,Y as jt,Z as qt,_ as Zt,a0 as Wt,a1 as qe,a2 as B,a3 as Xt,a4 as Jt,a5 as Yt,a6 as ea,a7 as na}from"./vendor-CUDAPm8e.js";import{u as ta,_ as te,a as Pe,b as ae,c as R,T as $,F as _n,d as Q,I,e as M,f as H,A as aa,g as Nn,h as k,i as F,j as V,k as ra,l as ia,P as la,R as A,m as _e,n as oa,o as sa,L as Ze,p as Z,q as W,r as Ne,s as ca,t as da,E as ua,v as ma,w as pa,x as ga,y as ha,z as fa}from"./vendor-arizeai-Do2HOmcL.js";import{u as ya,T as Vn}from"./pages-bN7juCjh.js";import{V as va}from"./vendor-three-DwGkEfCM.js";import{j as Rn,E as On,l as Kn,a as zn,R as We,n as Xe,p as ba}from"./vendor-codemirror-CrdxOlMs.js";const La=e=>{const t=a=>({...e,markdownDisplayMode:"text",setMarkdownDisplayMode:r=>{a({markdownDisplayMode:r})}});return He()(xt(je(t),{name:"arize-phoenix-preferences"}))},An=p.createContext(null);function ll({children:e,...t}){const a=p.useRef();return a.current||(a.current=La(t)),n(An.Provider,{value:a.current,children:e})}function sn(e,t){const a=j.useContext(An);if(!a)throw new Error("Missing PreferencesContext.Provider in the tree");return Dn(a,e,t)}var z=(e=>(e.primary="primary",e.reference="reference",e.corpus="corpus",e))(z||{});function P(e){throw new Error("Unreachable")}function Je(e){return typeof e=="number"||e===null}function ka(e){return typeof e=="string"||e===null}function ol(e){return Array.isArray(e)?e.every(t=>typeof t=="string"):!1}function Ca(e){return typeof e=="object"&&e!==null}const Ye=p.createContext(null);function Ve(){const e=j.useContext(Ye);if(e===null)throw new Error("useInferences must be used within a InferencesProvider");return e}function sl(e){return n(Ye.Provider,{value:{primaryInferences:e.primaryInferences,referenceInferences:e.referenceInferences,corpusInferences:e.corpusInferences,getInferencesNameByRole:t=>{var a,r;switch(t){case z.primary:return e.primaryInferences.name;case z.reference:return((a=e.referenceInferences)==null?void 0:a.name)??"reference";case z.corpus:return((r=e.corpusInferences)==null?void 0:r.name)??"corpus";default:P()}}},children:e.children})}const $n=function(){var e={defaultValue:null,kind:"LocalArgument",name:"clusters"},t={defaultValue:null,kind:"LocalArgument",name:"dataQualityMetricColumnName"},a={defaultValue:null,kind:"LocalArgument",name:"fetchDataQualityMetric"},r={defaultValue:null,kind:"LocalArgument",name:"fetchPerformanceMetric"},i={defaultValue:null,kind:"LocalArgument",name:"performanceMetric"},l=[{alias:null,args:null,kind:"ScalarField",name:"primaryValue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"referenceValue",storageKey:null}],o=[{alias:null,args:[{kind:"Variable",name:"clusters",variableName:"clusters"}],concreteType:"Cluster",kind:"LinkedField",name:"clusters",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"eventIds",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"driftRatio",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primaryToCorpusRatio",storageKey:null},{condition:"fetchDataQualityMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"columnName",variableName:"dataQualityMetricColumnName"},{kind:"Literal",name:"metric",value:"mean"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"dataQualityMetric",plural:!1,selections:l,storageKey:null}]},{condition:"fetchPerformanceMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"metric",variableName:"performanceMetric"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"performanceMetric",plural:!1,selections:l,storageKey:null}]}],storageKey:null}];return{fragment:{argumentDefinitions:[e,t,a,r,i],kind:"Fragment",metadata:null,name:"pointCloudStore_clusterMetricsQuery",selections:o,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,a,t,r,i],kind:"Operation",name:"pointCloudStore_clusterMetricsQuery",selections:o},params:{cacheID:"86666967012812887ac0a0149d2d2535",id:null,metadata:{},name:"pointCloudStore_clusterMetricsQuery",operationKind:"query",text:`query pointCloudStore_clusterMetricsQuery(
1
+ import{c as He,p as xt,d as je,r as p,j as n,R as j,n as Dn,a as xe,C as Ie,b as q,s as St,e as wt,f as re,g as Se,h as Oe,i as Me,k as ge,l as Mt,m as Tt,o as ee,q as It,t as Dt,u as Et,v as s,w as u,x as Ee,$ as E,L as En,y as Ft,z as Pt,A as _t,B as Nt,D as ln,F as Fe,E as oe,G as Vt,H as Rt,I as Fn,S as Ot,J as Kt,Q as on,K as zt,M as At,N as $t,P as Ke,O as Pn,T as Gt,U as Bt,V as Qt,W as Ut,X as Ht,Y as jt,Z as qt,_ as Zt,a0 as Wt,a1 as qe,a2 as B,a3 as Xt,a4 as Jt,a5 as Yt,a6 as ea,a7 as na}from"./vendor-DPvSDRn3.js";import{u as ta,_ as te,a as Pe,b as ae,c as R,T as $,F as _n,d as Q,I,e as M,f as H,A as aa,g as Nn,h as k,i as F,j as V,k as ra,l as ia,P as la,R as A,m as _e,n as oa,o as sa,L as Ze,p as Z,q as W,r as Ne,s as ca,t as da,E as ua,v as ma,w as pa,x as ga,y as ha,z as fa}from"./vendor-arizeai-CkvPT67c.js";import{u as ya,T as Vn}from"./pages-hdjlFZhO.js";import{V as va}from"./vendor-three-DwGkEfCM.js";import{j as Rn,E as On,l as Kn,a as zn,R as We,n as Xe,p as ba}from"./vendor-codemirror-Cqwpwlua.js";const La=e=>{const t=a=>({...e,markdownDisplayMode:"text",setMarkdownDisplayMode:r=>{a({markdownDisplayMode:r})}});return He()(xt(je(t),{name:"arize-phoenix-preferences"}))},An=p.createContext(null);function ll({children:e,...t}){const a=p.useRef();return a.current||(a.current=La(t)),n(An.Provider,{value:a.current,children:e})}function sn(e,t){const a=j.useContext(An);if(!a)throw new Error("Missing PreferencesContext.Provider in the tree");return Dn(a,e,t)}var z=(e=>(e.primary="primary",e.reference="reference",e.corpus="corpus",e))(z||{});function P(e){throw new Error("Unreachable")}function Je(e){return typeof e=="number"||e===null}function ka(e){return typeof e=="string"||e===null}function ol(e){return Array.isArray(e)?e.every(t=>typeof t=="string"):!1}function Ca(e){return typeof e=="object"&&e!==null}const Ye=p.createContext(null);function Ve(){const e=j.useContext(Ye);if(e===null)throw new Error("useInferences must be used within a InferencesProvider");return e}function sl(e){return n(Ye.Provider,{value:{primaryInferences:e.primaryInferences,referenceInferences:e.referenceInferences,corpusInferences:e.corpusInferences,getInferencesNameByRole:t=>{var a,r;switch(t){case z.primary:return e.primaryInferences.name;case z.reference:return((a=e.referenceInferences)==null?void 0:a.name)??"reference";case z.corpus:return((r=e.corpusInferences)==null?void 0:r.name)??"corpus";default:P()}}},children:e.children})}const $n=function(){var e={defaultValue:null,kind:"LocalArgument",name:"clusters"},t={defaultValue:null,kind:"LocalArgument",name:"dataQualityMetricColumnName"},a={defaultValue:null,kind:"LocalArgument",name:"fetchDataQualityMetric"},r={defaultValue:null,kind:"LocalArgument",name:"fetchPerformanceMetric"},i={defaultValue:null,kind:"LocalArgument",name:"performanceMetric"},l=[{alias:null,args:null,kind:"ScalarField",name:"primaryValue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"referenceValue",storageKey:null}],o=[{alias:null,args:[{kind:"Variable",name:"clusters",variableName:"clusters"}],concreteType:"Cluster",kind:"LinkedField",name:"clusters",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"eventIds",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"driftRatio",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primaryToCorpusRatio",storageKey:null},{condition:"fetchDataQualityMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"columnName",variableName:"dataQualityMetricColumnName"},{kind:"Literal",name:"metric",value:"mean"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"dataQualityMetric",plural:!1,selections:l,storageKey:null}]},{condition:"fetchPerformanceMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"metric",variableName:"performanceMetric"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"performanceMetric",plural:!1,selections:l,storageKey:null}]}],storageKey:null}];return{fragment:{argumentDefinitions:[e,t,a,r,i],kind:"Fragment",metadata:null,name:"pointCloudStore_clusterMetricsQuery",selections:o,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[e,a,t,r,i],kind:"Operation",name:"pointCloudStore_clusterMetricsQuery",selections:o},params:{cacheID:"86666967012812887ac0a0149d2d2535",id:null,metadata:{},name:"pointCloudStore_clusterMetricsQuery",operationKind:"query",text:`query pointCloudStore_clusterMetricsQuery(
2
2
  $clusters: [ClusterInput!]!
3
3
  $fetchDataQualityMetric: Boolean!
4
4
  $dataQualityMetricColumnName: String
@@ -1139,4 +1139,4 @@ fragment ModelEmbeddingsTable_embeddingDimensions_4sIU9C on Query {
1139
1139
  align-items: center;
1140
1140
  color: var(--ac-global-color-primary);
1141
1141
  gap: var(--ac-global-dimension-size-50);
1142
- `,children:[n(I,{svg:n(M.InfoOutline,{})}),n("span",{children:"Click to view evaluator trace"})]})}):null]})]})}function wo({sequenceNumber:e}){return s(Ze,{color:"yellow-1000",children:["#",e]})}export{Ol as $,ke as A,xl as B,Gl as C,Fa as D,Yl as E,fe as F,dt as G,ce as H,Jl as I,Vl as J,nn as K,ir as L,El as M,Rl as N,Kl as O,bl as P,dl as Q,Le as R,ne as S,vl as T,cl as U,ul as V,ml as W,Fl as X,zl as Y,Il as Z,Nl as _,Qa as a,Al as a0,_l as a1,Za as a2,Hl as a3,Xl as a4,lt as a5,Wa as a6,Dl as a7,ye as a8,or as a9,go as aA,uo as aB,Co as aC,bo as aD,vo as aE,ko as aF,fo as aG,ho as aH,yo as aI,Lo as aJ,pl as aK,sl as aL,co as aM,xo as aN,_a as aO,So as aP,oo as aQ,wl as aR,Yi as aS,Ji as aT,wo as aU,Ja as aV,tr as aW,kl as aX,yl as aY,ll as aZ,gl as a_,ja as aa,Sl as ab,fl as ac,so as ad,lo as ae,io as af,Mi as ag,ht as ah,gt as ai,ro as aj,ol as ak,Oi as al,no as am,ao as an,to as ao,eo as ap,Qi as aq,qa as ar,Pl as as,hl as at,Cl as au,mo as av,wi as aw,tt as ax,po as ay,Ki as az,Ll as b,Ml as c,G as d,Ea as e,v as f,Xn as g,P as h,sr as i,jl as j,ql as k,Zl as l,Ql as m,Ul as n,Wl as o,Qe as p,Bl as q,$l as r,bn as s,at as t,Ve as u,Sr as v,wr as w,Un as x,Fr as y,Tl as z};
1142
+ `,children:[n(I,{svg:n(M.InfoOutline,{})}),n("span",{children:"Click to view evaluator trace"})]})}):null]})]})}function wo({sequenceNumber:e}){return s(Ze,{color:"yellow-1000",children:["#",e]})}export{Ol as $,ke as A,xl as B,Gl as C,Fa as D,Yl as E,fe as F,dt as G,ce as H,Jl as I,Vl as J,nn as K,ir as L,El as M,Rl as N,Kl as O,bl as P,dl as Q,Le as R,ne as S,vl as T,cl as U,ul as V,ml as W,Fl as X,zl as Y,Il as Z,Nl as _,Qa as a,Al as a0,_l as a1,Za as a2,Hl as a3,Xl as a4,lt as a5,Wa as a6,Dl as a7,ye as a8,fl as a9,go as aA,uo as aB,Co as aC,bo as aD,vo as aE,ko as aF,fo as aG,ho as aH,yo as aI,Lo as aJ,pl as aK,sl as aL,co as aM,xo as aN,_a as aO,So as aP,oo as aQ,wl as aR,Yi as aS,Ji as aT,wo as aU,Ja as aV,tr as aW,kl as aX,yl as aY,ll as aZ,gl as a_,or as aa,ja as ab,Sl as ac,so as ad,lo as ae,io as af,Mi as ag,ht as ah,gt as ai,ro as aj,ol as ak,Oi as al,no as am,ao as an,to as ao,eo as ap,Qi as aq,qa as ar,Pl as as,hl as at,Cl as au,mo as av,wi as aw,tt as ax,po as ay,Ki as az,Ll as b,Ml as c,G as d,Ea as e,v as f,Xn as g,P as h,sr as i,jl as j,ql as k,Zl as l,Ql as m,Ul as n,Wl as o,Qe as p,Bl as q,$l as r,bn as s,at as t,Ve as u,Sr as v,wr as w,Un as x,Fr as y,Tl as z};
@@ -0,0 +1,100 @@
1
+ import{j as e,w as h,aO as x,d3 as b,d4 as f,v as n,d5 as r,d6 as y,d7 as P,r as v,b as E,d8 as R}from"./vendor-DPvSDRn3.js";import{t as z,a4 as L}from"./vendor-arizeai-CkvPT67c.js";import{L as $,E as j,h as k,M as w,a as d,D as I,d as A,b as S,e as O,P as C,c as F,f as T,p as D,g as c,i as M,j as N,k as p,l as B,m,n as g,o as q,q as G,r as W,s as K,t as Y,A as Z,F as _}from"./pages-hdjlFZhO.js";import{aY as H,d as J,R as Q,aZ as U,a_ as V}from"./components-DeS0YEmv.js";import"./vendor-three-DwGkEfCM.js";import"./vendor-recharts-5jlNaZuF.js";import"./vendor-codemirror-Cqwpwlua.js";(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const t of a)if(t.type==="childList")for(const l of t.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function u(a){const t={};return a.integrity&&(t.integrity=a.integrity),a.referrerPolicy&&(t.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?t.credentials="include":a.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function i(a){if(a.ep)return;a.ep=!0;const t=u(a);fetch(a.href,t)}})();function X(){return e(x,{styles:o=>h`
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: ${o.typography.sizes.medium.fontSize}px;
7
+ margin: 0;
8
+ #root,
9
+ #root > div[data-overlay-container="true"],
10
+ #root > div[data-overlay-container="true"] > .ac-theme {
11
+ height: 100vh;
12
+ }
13
+ }
14
+
15
+ /* Remove list styling */
16
+ ul {
17
+ display: block;
18
+ list-style-type: none;
19
+ margin-block-start: none;
20
+ margin-block-end: 0;
21
+ padding-inline-start: 0;
22
+ margin-block-start: 0;
23
+ }
24
+
25
+ /* A reset style for buttons */
26
+ .button--reset {
27
+ background: none;
28
+ border: none;
29
+ padding: 0;
30
+ }
31
+ /* this css class is added to html via modernizr @see modernizr.js */
32
+ .no-hiddenscroll {
33
+ /* Works on Firefox */
34
+ * {
35
+ scrollbar-width: thin;
36
+ scrollbar-color: var(--ac-global-color-grey-300)
37
+ var(--ac-global-color-grey-400);
38
+ }
39
+
40
+ /* Works on Chrome, Edge, and Safari */
41
+ *::-webkit-scrollbar {
42
+ width: 14px;
43
+ }
44
+
45
+ *::-webkit-scrollbar-track {
46
+ background: var(--ac-global-color-grey-100);
47
+ }
48
+
49
+ *::-webkit-scrollbar-thumb {
50
+ background-color: var(--ac-global-color-grey-75);
51
+ border-radius: 8px;
52
+ border: 1px solid var(--ac-global-color-grey-300);
53
+ }
54
+ }
55
+
56
+ :root {
57
+ --px-blue-color: ${o.colors.arizeBlue};
58
+
59
+ --px-flex-gap-sm: ${o.spacing.margin4}px;
60
+ --px-flex-gap-sm: ${o.spacing.margin8}px;
61
+
62
+ --px-section-background-color: ${o.colors.gray500};
63
+
64
+ /* An item is a typically something in a list */
65
+ --px-item-background-color: ${o.colors.gray800};
66
+ --px-item-border-color: ${o.colors.gray600};
67
+
68
+ --px-spacing-sm: ${o.spacing.padding4}px;
69
+ --px-spacing-med: ${o.spacing.padding8}px;
70
+ --px-spacing-lg: ${o.spacing.padding16}px;
71
+
72
+ --px-border-radius-med: ${o.borderRadius.medium}px;
73
+
74
+ --px-font-size-sm: ${o.typography.sizes.small.fontSize}px;
75
+ --px-font-size-med: ${o.typography.sizes.medium.fontSize}px;
76
+ --px-font-size-lg: ${o.typography.sizes.large.fontSize}px;
77
+
78
+ --px-gradient-bar-height: 8px;
79
+
80
+ --px-nav-collapsed-width: 45px;
81
+ --px-nav-expanded-width: 200px;
82
+ }
83
+
84
+ .ac-theme--dark {
85
+ --px-primary-color: #9efcfd;
86
+ --px-primary-color--transparent: rgb(158, 252, 253, 0.2);
87
+ --px-reference-color: #baa1f9;
88
+ --px-reference-color--transparent: #baa1f982;
89
+ --px-corpus-color: #92969c;
90
+ --px-corpus-color--transparent: #92969c63;
91
+ }
92
+ .ac-theme--light {
93
+ --px-primary-color: #00add0;
94
+ --px-primary-color--transparent: rgba(0, 173, 208, 0.2);
95
+ --px-reference-color: #4500d9;
96
+ --px-reference-color--transparent: rgba(69, 0, 217, 0.2);
97
+ --px-corpus-color: #92969c;
98
+ --px-corpus-color--transparent: #92969c63;
99
+ }
100
+ `})}const ee=b(f(n(r,{path:"/",element:e($,{}),errorElement:e(j,{}),children:[e(r,{index:!0,loader:k}),n(r,{path:"/model",handle:{crumb:()=>"model"},element:e(w,{}),children:[e(r,{index:!0,element:e(d,{})}),e(r,{element:e(d,{}),children:e(r,{path:"dimensions",children:e(r,{path:":dimensionId",element:e(I,{}),loader:A})})}),e(r,{path:"embeddings",children:e(r,{path:":embeddingDimensionId",element:e(S,{}),loader:O,handle:{crumb:o=>o.embedding.name}})})]}),n(r,{path:"/projects",handle:{crumb:()=>"projects"},element:e(C,{}),children:[e(r,{index:!0,element:e(F,{})}),n(r,{path:":projectId",element:e(T,{}),loader:D,handle:{crumb:o=>o.project.name},children:[e(r,{index:!0,element:e(c,{})}),e(r,{element:e(c,{}),children:e(r,{path:"traces/:traceId",element:e(M,{})})})]})]}),n(r,{path:"/datasets",handle:{crumb:()=>"datasets"},children:[e(r,{index:!0,element:e(N,{})}),n(r,{path:":datasetId",loader:p,handle:{crumb:o=>o.dataset.name},children:[n(r,{element:e(B,{}),loader:p,children:[e(r,{index:!0,element:e(m,{}),loader:g}),e(r,{path:"experiments",element:e(m,{}),loader:g}),e(r,{path:"examples",element:e(q,{}),loader:G,children:e(r,{path:":exampleId",element:e(W,{})})})]}),e(r,{path:"compare",handle:{crumb:()=>"compare"},loader:K,element:e(Y,{})})]})]}),e(r,{path:"/apis",element:e(Z,{}),handle:{crumb:()=>"APIs"}})]})),{basename:window.Config.basename});function re(){return e(y,{router:ee})}function oe(){return e(H,{children:e(ae,{})})}function ae(){const{theme:o}=J();return e(L,{theme:o,children:e(P,{theme:z,children:n(E.RelayEnvironmentProvider,{environment:Q,children:[e(X,{}),e(_,{children:e(U,{children:e(v.Suspense,{children:e(V,{children:e(re,{})})})})})]})})})}const te=document.getElementById("root"),ne=R.createRoot(te);ne.render(e(oe,{}));