arize-phoenix 7.9.2__py3-none-any.whl → 7.9.4__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-7.9.2.dist-info → arize_phoenix-7.9.4.dist-info}/METADATA +3 -4
- {arize_phoenix-7.9.2.dist-info → arize_phoenix-7.9.4.dist-info}/RECORD +13 -13
- phoenix/server/api/helpers/playground_clients.py +2 -0
- phoenix/server/api/input_types/TimeRange.py +2 -0
- phoenix/server/static/.vite/manifest.json +9 -9
- phoenix/server/static/assets/{components-CN9dra1h.js → components-DOevqttF.js} +1 -1
- phoenix/server/static/assets/{index-DcnHbEy5.js → index-DEWan9NY.js} +1 -1
- phoenix/server/static/assets/{pages-nMcybglv.js → pages-iAiRxguB.js} +70 -70
- phoenix/version.py +1 -1
- {arize_phoenix-7.9.2.dist-info → arize_phoenix-7.9.4.dist-info}/WHEEL +0 -0
- {arize_phoenix-7.9.2.dist-info → arize_phoenix-7.9.4.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-7.9.2.dist-info → arize_phoenix-7.9.4.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-7.9.2.dist-info → arize_phoenix-7.9.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: arize-phoenix
|
|
3
|
-
Version: 7.9.
|
|
3
|
+
Version: 7.9.4
|
|
4
4
|
Summary: AI Observability and Evaluation
|
|
5
5
|
Project-URL: Documentation, https://docs.arize.com/phoenix/
|
|
6
6
|
Project-URL: Issues, https://github.com/Arize-ai/phoenix/issues
|
|
@@ -52,10 +52,9 @@ Requires-Dist: tqdm
|
|
|
52
52
|
Requires-Dist: typing-extensions>=4.6
|
|
53
53
|
Requires-Dist: uvicorn
|
|
54
54
|
Requires-Dist: websockets
|
|
55
|
-
Requires-Dist: wrapt
|
|
56
|
-
Requires-Dist: wrapt>=1.17; sys_platform != 'darwin' or platform_machine != 'x86_64'
|
|
55
|
+
Requires-Dist: wrapt>=1.17.2
|
|
57
56
|
Provides-Extra: container
|
|
58
|
-
Requires-Dist: anthropic; extra == 'container'
|
|
57
|
+
Requires-Dist: anthropic>=0.45.2; extra == 'container'
|
|
59
58
|
Requires-Dist: fast-hdbscan>=0.2.0; extra == 'container'
|
|
60
59
|
Requires-Dist: google-generativeai; extra == 'container'
|
|
61
60
|
Requires-Dist: numba>=0.60.0; extra == 'container'
|
|
@@ -6,7 +6,7 @@ phoenix/exceptions.py,sha256=n2L2KKuecrdflB9MsCdAYCiSEvGJptIsfRkXMoJle7A,169
|
|
|
6
6
|
phoenix/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
7
7
|
phoenix/services.py,sha256=kpW1WL0kiB8XJsO6XycvZVJ-lBkNoenhQ7atCvBoSe8,5365
|
|
8
8
|
phoenix/settings.py,sha256=ht-0oN-sMV6SPXrk7Tu1EZlngpAYkGNLYPhO8DyrdQI,661
|
|
9
|
-
phoenix/version.py,sha256=
|
|
9
|
+
phoenix/version.py,sha256=gXpiGD95etHJBoLtm8Ou9WzXU9xwu4-1qgbCn6UVjtI,22
|
|
10
10
|
phoenix/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
phoenix/core/embedding_dimension.py,sha256=zKGbcvwOXgLf-yrJBpQyKtd-LEOPRKHnUToyAU8Owis,87
|
|
12
12
|
phoenix/core/model.py,sha256=qBFraOtmwCCnWJltKNP18DDG0mULXigytlFsa6YOz6k,4837
|
|
@@ -135,7 +135,7 @@ phoenix/server/api/dataloaders/cache/two_tier_cache.py,sha256=cmo8FUT3E91R139IEz
|
|
|
135
135
|
phoenix/server/api/helpers/__init__.py,sha256=m2-xaSPqUiSs91k62JaRDjFNfl-1byxBfY-m_Vxw16U,272
|
|
136
136
|
phoenix/server/api/helpers/dataset_helpers.py,sha256=AMlKY9_e0wnTrTSSQemM5NHfnpwARSytx-m9YK6f6bY,8421
|
|
137
137
|
phoenix/server/api/helpers/experiment_run_filters.py,sha256=DOnVwrmn39eAkk2mwuZP8kIcAnR5jrOgllEwWSjsw94,29893
|
|
138
|
-
phoenix/server/api/helpers/playground_clients.py,sha256=
|
|
138
|
+
phoenix/server/api/helpers/playground_clients.py,sha256=JoMYwhCd8AyRFG58y6PkUZBJnKMFLptIx5jnE2lY7r0,38955
|
|
139
139
|
phoenix/server/api/helpers/playground_registry.py,sha256=CPLMziFB2wmr-dfbx7VbzO2f8YIG_k5RftzvGXYGQ1w,2570
|
|
140
140
|
phoenix/server/api/helpers/playground_spans.py,sha256=qGk7V7IZK7EkRE1mvZyROpLN5kgOahOZifFzUWmqYFc,16546
|
|
141
141
|
phoenix/server/api/input_types/AddExamplesToDatasetInput.py,sha256=mIQz0S_z8YdrktKIY6RCvtNJ2yZF9pYvTGgasUsI-54,430
|
|
@@ -169,7 +169,7 @@ phoenix/server/api/input_types/ProjectSessionSort.py,sha256=qFgLmKYeyFpx7An9ZNdD
|
|
|
169
169
|
phoenix/server/api/input_types/SpanAnnotationSort.py,sha256=T5pAGzmh4MiJp9JMAzNDByFVTczfw02FH4WFWwFezyI,361
|
|
170
170
|
phoenix/server/api/input_types/SpanSort.py,sha256=Dhvl8BIoV52yHoqntfOax_gUc15uH8ITI_00Ha7PvYc,5959
|
|
171
171
|
phoenix/server/api/input_types/TemplateOptions.py,sha256=BrKozr604QwthBdKhlsHbxJc5oZ7eHnwviVubW2i0jA,220
|
|
172
|
-
phoenix/server/api/input_types/TimeRange.py,sha256=
|
|
172
|
+
phoenix/server/api/input_types/TimeRange.py,sha256=pwhC2jx6dFIgT0qFfnO68qiJp9-m7Je5QkNscNsuVxA,700
|
|
173
173
|
phoenix/server/api/input_types/TraceAnnotationSort.py,sha256=BzwiUnMh2VsgQYnhDlbJ6ljHugqIS4YDUlYzvq_tl3o,365
|
|
174
174
|
phoenix/server/api/input_types/UserRoleInput.py,sha256=xxhFe0ITZOgRVEJbVem_W6F1Ip_H6xDENdQqMMx-kKE,129
|
|
175
175
|
phoenix/server/api/input_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -287,10 +287,10 @@ phoenix/server/static/apple-touch-icon-76x76.png,sha256=CT_xT12I0u2i0WU8JzBZBuOQ
|
|
|
287
287
|
phoenix/server/static/apple-touch-icon.png,sha256=fOfpjqGpWYbJ0eAurKsyoZP1EAs6ZVooBJ_SGk2ZkDs,3801
|
|
288
288
|
phoenix/server/static/favicon.ico,sha256=bY0vvCKRftemZfPShwZtE93DiiQdaYaozkPGwNFr6H8,34494
|
|
289
289
|
phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_wcU9c,2564
|
|
290
|
-
phoenix/server/static/.vite/manifest.json,sha256=
|
|
291
|
-
phoenix/server/static/assets/components-
|
|
292
|
-
phoenix/server/static/assets/index-
|
|
293
|
-
phoenix/server/static/assets/pages-
|
|
290
|
+
phoenix/server/static/.vite/manifest.json,sha256=s6u7joWl3foLAUDiN6VPjyv0Yu0RpbEZG5xxNxAoOmo,2163
|
|
291
|
+
phoenix/server/static/assets/components-DOevqttF.js,sha256=ngQTLIfMdg1Ylg7hOnsDp5oDX8AAltGMD4Bee0bDmg8,390205
|
|
292
|
+
phoenix/server/static/assets/index-DEWan9NY.js,sha256=jkFJECR5YMzEO6fP4okbWTVQCMUvvqvQovnd3rEGGoA,8711
|
|
293
|
+
phoenix/server/static/assets/pages-iAiRxguB.js,sha256=-2uBkfXmIhBNtfMd3TBWX1Rh1YPdqGxO-g_QWs1d9sA,680657
|
|
294
294
|
phoenix/server/static/assets/vendor-DvC8cT4X.js,sha256=-EzJrg6BeYa58JPfaZC6KS5gvkJ8gC1n-Sb7lP-pOkw,2159677
|
|
295
295
|
phoenix/server/static/assets/vendor-DxkFTwjz.css,sha256=nZrkr0u6NNElFGvpWHk9GTHeGoibCXCli1bE7mXZGZg,1816
|
|
296
296
|
phoenix/server/static/assets/vendor-arizeai-Do1793cv.js,sha256=IFADVVEZ8VY9o4iqYighRedZTXSyi1uZMTFFsBeIYis,305184
|
|
@@ -337,9 +337,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
|
|
|
337
337
|
phoenix/utilities/re.py,sha256=6YyUWIkv0zc2SigsxfOWIHzdpjKA_TZo2iqKq7zJKvw,2081
|
|
338
338
|
phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
339
339
|
phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
|
|
340
|
-
arize_phoenix-7.9.
|
|
341
|
-
arize_phoenix-7.9.
|
|
342
|
-
arize_phoenix-7.9.
|
|
343
|
-
arize_phoenix-7.9.
|
|
344
|
-
arize_phoenix-7.9.
|
|
345
|
-
arize_phoenix-7.9.
|
|
340
|
+
arize_phoenix-7.9.4.dist-info/METADATA,sha256=YnZR0pVt7yoNByDcbS5KfXfWgHnlPwzQeuKtrxwOXvw,23389
|
|
341
|
+
arize_phoenix-7.9.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
342
|
+
arize_phoenix-7.9.4.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
|
|
343
|
+
arize_phoenix-7.9.4.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
|
|
344
|
+
arize_phoenix-7.9.4.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
|
|
345
|
+
arize_phoenix-7.9.4.dist-info/RECORD,,
|
|
@@ -794,6 +794,8 @@ class AnthropicStreamingClient(PlaygroundStreamingClient):
|
|
|
794
794
|
pass
|
|
795
795
|
elif isinstance(event, anthropic_streaming.InputJsonEvent):
|
|
796
796
|
raise NotImplementedError
|
|
797
|
+
elif isinstance(event, anthropic_streaming._types.CitationEvent):
|
|
798
|
+
raise NotImplementedError
|
|
797
799
|
else:
|
|
798
800
|
assert_never(event)
|
|
799
801
|
|
|
@@ -7,9 +7,11 @@ import strawberry
|
|
|
7
7
|
@strawberry.input
|
|
8
8
|
class TimeRange:
|
|
9
9
|
start: Optional[datetime] = strawberry.field(
|
|
10
|
+
default=None,
|
|
10
11
|
description="The start of the time range",
|
|
11
12
|
)
|
|
12
13
|
end: Optional[datetime] = strawberry.field(
|
|
14
|
+
default=None,
|
|
13
15
|
description="The end of the time range. Right exclusive.",
|
|
14
16
|
)
|
|
15
17
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_components-
|
|
3
|
-
"file": "assets/components-
|
|
2
|
+
"_components-DOevqttF.js": {
|
|
3
|
+
"file": "assets/components-DOevqttF.js",
|
|
4
4
|
"name": "components",
|
|
5
5
|
"imports": [
|
|
6
6
|
"_vendor-DvC8cT4X.js",
|
|
7
|
-
"_pages-
|
|
7
|
+
"_pages-iAiRxguB.js",
|
|
8
8
|
"_vendor-arizeai-Do1793cv.js",
|
|
9
9
|
"_vendor-codemirror-BzwZPyJM.js",
|
|
10
10
|
"_vendor-three-DwGkEfCM.js"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
|
-
"_pages-
|
|
14
|
-
"file": "assets/pages-
|
|
13
|
+
"_pages-iAiRxguB.js": {
|
|
14
|
+
"file": "assets/pages-iAiRxguB.js",
|
|
15
15
|
"name": "pages",
|
|
16
16
|
"imports": [
|
|
17
17
|
"_vendor-DvC8cT4X.js",
|
|
18
18
|
"_vendor-arizeai-Do1793cv.js",
|
|
19
|
-
"_components-
|
|
19
|
+
"_components-DOevqttF.js",
|
|
20
20
|
"_vendor-codemirror-BzwZPyJM.js",
|
|
21
21
|
"_vendor-recharts-_Jb7JjhG.js"
|
|
22
22
|
]
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"name": "vendor-three"
|
|
70
70
|
},
|
|
71
71
|
"index.tsx": {
|
|
72
|
-
"file": "assets/index-
|
|
72
|
+
"file": "assets/index-DEWan9NY.js",
|
|
73
73
|
"name": "index",
|
|
74
74
|
"src": "index.tsx",
|
|
75
75
|
"isEntry": true,
|
|
76
76
|
"imports": [
|
|
77
77
|
"_vendor-DvC8cT4X.js",
|
|
78
78
|
"_vendor-arizeai-Do1793cv.js",
|
|
79
|
-
"_pages-
|
|
80
|
-
"_components-
|
|
79
|
+
"_pages-iAiRxguB.js",
|
|
80
|
+
"_components-DOevqttF.js",
|
|
81
81
|
"_vendor-three-DwGkEfCM.js",
|
|
82
82
|
"_vendor-codemirror-BzwZPyJM.js",
|
|
83
83
|
"_vendor-shiki-Cl9QBraO.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as p,R as G,j as e,n as Wn,a as we,e as Xe,s as T1,b as e1,c as ke,d as N1,f as Da,g as ge,h as Pa,i as Oa,k as R1,l,m as _a,o as Se,C as t1,p as Be,q as $e,t as N,u as Fa,v as Na,L as Un,w as jn,x as Qn,y as oe,z as w,A as u1,B as qn,D as m,E as Xn,F as Yn,G as Ze,$ as Ra,H as Ha,I as Ka,J as Z1,K as Jn,M as a1,N as i1,O as et,P as r1,Q as Ba,S as $a,T as Za,U,V as Ga,W as Wa,X as Ua,Y as nt,Z as ja,_ as Qa,a0 as tt,a1 as qa,a2 as V,a3 as at,a4 as Te,a5 as m1,a6 as Ee,a7 as F,a8 as Xa,a9 as Ya,aa as Ja,ab as ei,ac as hn,ad as ni,ae as ti,af as ai,ag as gn,ah as ii,ai as ri,aj as oi,ak as I1,al as G1,am as li,an as si,ao as ci,ap as di,aq as ui,ar as mi,as as pi,at as hi,au as gi,av as fi,aw as Ci,ax as bi,ay as Li,az as vi,aA as yi,aB as wi,aC as ki}from"./vendor-DvC8cT4X.js";import{m as Si,T as xi,a as fn,u as Mi}from"./pages-
|
|
1
|
+
import{r as p,R as G,j as e,n as Wn,a as we,e as Xe,s as T1,b as e1,c as ke,d as N1,f as Da,g as ge,h as Pa,i as Oa,k as R1,l,m as _a,o as Se,C as t1,p as Be,q as $e,t as N,u as Fa,v as Na,L as Un,w as jn,x as Qn,y as oe,z as w,A as u1,B as qn,D as m,E as Xn,F as Yn,G as Ze,$ as Ra,H as Ha,I as Ka,J as Z1,K as Jn,M as a1,N as i1,O as et,P as r1,Q as Ba,S as $a,T as Za,U,V as Ga,W as Wa,X as Ua,Y as nt,Z as ja,_ as Qa,a0 as tt,a1 as qa,a2 as V,a3 as at,a4 as Te,a5 as m1,a6 as Ee,a7 as F,a8 as Xa,a9 as Ya,aa as Ja,ab as ei,ac as hn,ad as ni,ae as ti,af as ai,ag as gn,ah as ii,ai as ri,aj as oi,ak as I1,al as G1,am as li,an as si,ao as ci,ap as di,aq as ui,ar as mi,as as pi,at as hi,au as gi,av as fi,aw as Ci,ax as bi,ay as Li,az as vi,aA as yi,aB as wi,aC as ki}from"./vendor-DvC8cT4X.js";import{m as Si,T as xi,a as fn,u as Mi}from"./pages-iAiRxguB.js";import{u as Ti,_ as it,a as te,T as j,b as Ii,c as Ai,R as J,d as Ge,e as ne,f as zi,E as rt,g as B,h as W1,i as Ve,j as ot,k as ve,D as p1,l as o1,I as U1,m as j1,n as lt,P as Q1,C as h1,o as g1,A as We,L as Ce,p as Ei,q as ye,F as st,r as Vi,s as Di,t as Pi,v as ce,w as de,x as Oi,y as _i,z as Cn,B as Fi}from"./vendor-arizeai-Do1793cv.js";import{L as ct,a as dt,l as H1,j as ut,h as Ni,b as Ri,c as Hi,d as Ki,e as Bi,f as $i,s as Zi,R as Ue,g as mt,n as je,i as pt,E as q1,p as Gi,k as Wi}from"./vendor-codemirror-BzwZPyJM.js";import{V as Ui}from"./vendor-three-DwGkEfCM.js";const ht=function(){var n={defaultValue:null,kind:"LocalArgument",name:"clusters"},t={defaultValue:null,kind:"LocalArgument",name:"dataQualityMetricColumnName"},a={defaultValue:null,kind:"LocalArgument",name:"fetchDataQualityMetric"},i={defaultValue:null,kind:"LocalArgument",name:"fetchPerformanceMetric"},r={defaultValue:null,kind:"LocalArgument",name:"performanceMetric"},o=[{alias:null,args:null,kind:"ScalarField",name:"primaryValue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"referenceValue",storageKey:null}],s=[{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:o,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:o,storageKey:null}]}],storageKey:null}];return{fragment:{argumentDefinitions:[n,t,a,i,r],kind:"Fragment",metadata:null,name:"pointCloudStore_clusterMetricsQuery",selections:s,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,a,t,i,r],kind:"Operation",name:"pointCloudStore_clusterMetricsQuery",selections:s},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
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as c,j as e,dL as v,l as n,U as F,R as w,D as E,bq as L,dM as S,dN as R,dO as a,dP as k,t as I,dQ as A}from"./vendor-DvC8cT4X.js";import{k as C,Q as _,D as j,Y as z}from"./vendor-arizeai-Do1793cv.js";import{E as O,L as T,R as D,r as N,b as G,F as M,A as U,c as q,d as B,P as J,h as K,M as Q,e as m,D as V,f as W,g as H,i as Y,j as $,k as X,l as Z,p as ee,n as h,o as ae,S as re,s as te,q as oe,t as g,v as ne,w as u,x as b,y as se,z as le,B as ie,C as de,G as ce,H as x,I as pe,J as me,K as he,N as ge,O as ue,Q as be,U as xe,V as fe}from"./pages-
|
|
1
|
+
import{r as c,j as e,dL as v,l as n,U as F,R as w,D as E,bq as L,dM as S,dN as R,dO as a,dP as k,t as I,dQ as A}from"./vendor-DvC8cT4X.js";import{k as C,Q as _,D as j,Y as z}from"./vendor-arizeai-Do1793cv.js";import{E as O,L as T,R as D,r as N,b as G,F as M,A as U,c as q,d as B,P as J,h as K,M as Q,e as m,D as V,f as W,g as H,i as Y,j as $,k as X,l as Z,p as ee,n as h,o as ae,S as re,s as te,q as oe,t as g,v as ne,w as u,x as b,y as se,z as le,B as ie,C as de,G as ce,H as x,I as pe,J as me,K as he,N as ge,O as ue,Q as be,U as xe,V as fe}from"./pages-iAiRxguB.js";import{V as Pe,d2 as ye,at as ve,ab as Fe,d3 as we,d4 as Ee}from"./components-DOevqttF.js";import"./vendor-three-DwGkEfCM.js";import"./vendor-codemirror-BzwZPyJM.js";import"./vendor-shiki-Cl9QBraO.js";import"./vendor-recharts-_Jb7JjhG.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 f="arize-phoenix-feature-flags",p={__RESET__:!1};function Le(){const r=localStorage.getItem(f);if(!r)return p;try{const s=JSON.parse(r);return Object.assign({},p,s)}catch{return p}}const P=c.createContext(null);function Se(){const r=w.useContext(P);if(r===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return r}function Re(r){const[s,i]=c.useState(Le()),d=t=>{localStorage.setItem(f,JSON.stringify(t)),i(t)};return e(P.Provider,{value:{featureFlags:s,setFeatureFlags:d},children:e(ke,{children:r.children})})}function ke(r){const{children:s}=r,{featureFlags:i,setFeatureFlags:d}=Se(),[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(Pe,{height:"size-1000",padding:"size-100",children:Object.keys(i).map(l=>e(_,{isSelected:i[l],onChange:y=>d({...i,[l]:y}),children:l},l))})})})]})}function Ie(){return e(L,{styles:E`
|
|
2
2
|
body {
|
|
3
3
|
background-color: var(--ac-global-color-grey-75);
|
|
4
4
|
color: var(--ac-global-text-color-900);
|