arize-phoenix 4.12.0rc1__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 (36) hide show
  1. {arize_phoenix-4.12.0rc1.dist-info → arize_phoenix-4.14.1.dist-info}/METADATA +10 -6
  2. {arize_phoenix-4.12.0rc1.dist-info → arize_phoenix-4.14.1.dist-info}/RECORD +35 -35
  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/dataloaders/average_experiment_run_latency.py +23 -23
  10. phoenix/server/api/dataloaders/experiment_error_rates.py +30 -10
  11. phoenix/server/api/dataloaders/experiment_run_counts.py +18 -5
  12. phoenix/server/api/input_types/{CreateSpanAnnotationsInput.py → CreateSpanAnnotationInput.py} +4 -2
  13. phoenix/server/api/input_types/{CreateTraceAnnotationsInput.py → CreateTraceAnnotationInput.py} +4 -2
  14. phoenix/server/api/input_types/{PatchAnnotationsInput.py → PatchAnnotationInput.py} +4 -2
  15. phoenix/server/api/mutations/span_annotations_mutations.py +12 -6
  16. phoenix/server/api/mutations/trace_annotations_mutations.py +12 -6
  17. phoenix/server/api/types/Experiment.py +2 -2
  18. phoenix/server/api/types/Inferences.py +1 -2
  19. phoenix/server/api/types/Model.py +1 -2
  20. phoenix/server/app.py +3 -7
  21. phoenix/server/static/.vite/manifest.json +31 -31
  22. phoenix/server/static/assets/{components-C8sm_r1F.js → components-DeS0YEmv.js} +2 -2
  23. phoenix/server/static/assets/index-CQgXRwU0.js +100 -0
  24. phoenix/server/static/assets/{pages-bN7juCjh.js → pages-hdjlFZhO.js} +275 -198
  25. phoenix/server/static/assets/{vendor-CUDAPm8e.js → vendor-DPvSDRn3.js} +1 -1
  26. phoenix/server/static/assets/{vendor-arizeai-Do2HOmcL.js → vendor-arizeai-CkvPT67c.js} +2 -2
  27. phoenix/server/static/assets/{vendor-codemirror-CrdxOlMs.js → vendor-codemirror-Cqwpwlua.js} +1 -1
  28. phoenix/server/static/assets/{vendor-recharts-PKRvByVe.js → vendor-recharts-5jlNaZuF.js} +1 -1
  29. phoenix/server/templates/index.html +51 -43
  30. phoenix/session/client.py +7 -5
  31. phoenix/trace/dsl/filter.py +40 -25
  32. phoenix/version.py +1 -1
  33. phoenix/server/static/assets/index-BEKPzgQs.js +0 -100
  34. {arize_phoenix-4.12.0rc1.dist-info → arize_phoenix-4.14.1.dist-info}/WHEEL +0 -0
  35. {arize_phoenix-4.12.0rc1.dist-info → arize_phoenix-4.14.1.dist-info}/licenses/IP_NOTICE +0 -0
  36. {arize_phoenix-4.12.0rc1.dist-info → arize_phoenix-4.14.1.dist-info}/licenses/LICENSE +0 -0
@@ -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,{}));