arize-phoenix 8.13.0__py3-none-any.whl → 8.13.2__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.13.0.dist-info → arize_phoenix-8.13.2.dist-info}/METADATA +2 -1
- {arize_phoenix-8.13.0.dist-info → arize_phoenix-8.13.2.dist-info}/RECORD +12 -12
- phoenix/server/api/helpers/playground_clients.py +23 -7
- phoenix/server/static/.vite/manifest.json +9 -9
- phoenix/server/static/assets/{components-Igx2_EFY.js → components-BwK8mVUO.js} +3 -3
- phoenix/server/static/assets/{index-C2-HcjQo.js → index-Dp1bkaPS.js} +1 -1
- phoenix/server/static/assets/{pages-x8AxTGd1.js → pages-CZ1DOKbD.js} +260 -256
- phoenix/version.py +1 -1
- {arize_phoenix-8.13.0.dist-info → arize_phoenix-8.13.2.dist-info}/WHEEL +0 -0
- {arize_phoenix-8.13.0.dist-info → arize_phoenix-8.13.2.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-8.13.0.dist-info → arize_phoenix-8.13.2.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-8.13.0.dist-info → arize_phoenix-8.13.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: arize-phoenix
|
|
3
|
-
Version: 8.13.
|
|
3
|
+
Version: 8.13.2
|
|
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
|
|
@@ -56,6 +56,7 @@ Requires-Dist: websockets
|
|
|
56
56
|
Requires-Dist: wrapt>=1.17.2
|
|
57
57
|
Provides-Extra: container
|
|
58
58
|
Requires-Dist: anthropic>=0.49.0; extra == 'container'
|
|
59
|
+
Requires-Dist: azure-identity; extra == 'container'
|
|
59
60
|
Requires-Dist: fast-hdbscan>=0.2.0; extra == 'container'
|
|
60
61
|
Requires-Dist: google-generativeai; extra == 'container'
|
|
61
62
|
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=UQM39htvDTXlfOubkm8PAIdfKpb4JR8WAVna9x3IAgA,23
|
|
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
|
|
@@ -144,7 +144,7 @@ phoenix/server/api/dataloaders/cache/two_tier_cache.py,sha256=cmo8FUT3E91R139IEz
|
|
|
144
144
|
phoenix/server/api/helpers/__init__.py,sha256=m2-xaSPqUiSs91k62JaRDjFNfl-1byxBfY-m_Vxw16U,272
|
|
145
145
|
phoenix/server/api/helpers/dataset_helpers.py,sha256=DoMBTg-qXTnC_K4Evx1WKpCCYgRbITpVqyY-8efJRf0,8984
|
|
146
146
|
phoenix/server/api/helpers/experiment_run_filters.py,sha256=DOnVwrmn39eAkk2mwuZP8kIcAnR5jrOgllEwWSjsw94,29893
|
|
147
|
-
phoenix/server/api/helpers/playground_clients.py,sha256=
|
|
147
|
+
phoenix/server/api/helpers/playground_clients.py,sha256=T0LkpZJRj3r0Mz6rE7xDx4DP2gZzA6naQCszTTLnpqE,41527
|
|
148
148
|
phoenix/server/api/helpers/playground_registry.py,sha256=CPLMziFB2wmr-dfbx7VbzO2f8YIG_k5RftzvGXYGQ1w,2570
|
|
149
149
|
phoenix/server/api/helpers/playground_spans.py,sha256=PjGNDc7cpqn5lmRM6TO_J1eVRGlgsNdQ8IT--5JVz0o,16881
|
|
150
150
|
phoenix/server/api/helpers/prompts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -314,10 +314,10 @@ phoenix/server/static/apple-touch-icon-76x76.png,sha256=CT_xT12I0u2i0WU8JzBZBuOQ
|
|
|
314
314
|
phoenix/server/static/apple-touch-icon.png,sha256=fOfpjqGpWYbJ0eAurKsyoZP1EAs6ZVooBJ_SGk2ZkDs,3801
|
|
315
315
|
phoenix/server/static/favicon.ico,sha256=bY0vvCKRftemZfPShwZtE93DiiQdaYaozkPGwNFr6H8,34494
|
|
316
316
|
phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_wcU9c,2564
|
|
317
|
-
phoenix/server/static/.vite/manifest.json,sha256=
|
|
318
|
-
phoenix/server/static/assets/components-
|
|
319
|
-
phoenix/server/static/assets/index-
|
|
320
|
-
phoenix/server/static/assets/pages-
|
|
317
|
+
phoenix/server/static/.vite/manifest.json,sha256=yUpSCy8Y-wW0K001Du_XY_4sRgHDZwwx86NlA4IzIjg,2165
|
|
318
|
+
phoenix/server/static/assets/components-BwK8mVUO.js,sha256=65KaXz_CWxv5mziYAwihL2hGC_DmoayqK8xohnsEwJQ,435893
|
|
319
|
+
phoenix/server/static/assets/index-Dp1bkaPS.js,sha256=znU2U5YvE11ilVFZYTh_gIQyQGK-9vPlQpIDVjEsxNo,59755
|
|
320
|
+
phoenix/server/static/assets/pages-CZ1DOKbD.js,sha256=i4ZUBSYqVmtu2qh_tYt8IbBm_IYT1UVWHEnWAdlijyg,846468
|
|
321
321
|
phoenix/server/static/assets/vendor-Cg6lcjUC.css,sha256=nZrkr0u6NNElFGvpWHk9GTHeGoibCXCli1bE7mXZGZg,1816
|
|
322
322
|
phoenix/server/static/assets/vendor-CwOvppSU.js,sha256=zorIsWgg0PkDjHxKCG-oYmme0wYQaIg_7qA54v4HOYM,2421407
|
|
323
323
|
phoenix/server/static/assets/vendor-arizeai-bw-hz0cw.js,sha256=2HKtN3-Kx959BVQ4cv_wH9hGNZBHvRB7zET_fAWNMx0,194761
|
|
@@ -364,9 +364,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
|
|
|
364
364
|
phoenix/utilities/re.py,sha256=6YyUWIkv0zc2SigsxfOWIHzdpjKA_TZo2iqKq7zJKvw,2081
|
|
365
365
|
phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
366
366
|
phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
|
|
367
|
-
arize_phoenix-8.13.
|
|
368
|
-
arize_phoenix-8.13.
|
|
369
|
-
arize_phoenix-8.13.
|
|
370
|
-
arize_phoenix-8.13.
|
|
371
|
-
arize_phoenix-8.13.
|
|
372
|
-
arize_phoenix-8.13.
|
|
367
|
+
arize_phoenix-8.13.2.dist-info/METADATA,sha256=206NWBKB5Uw7U2AFi3tZXkQsCJjUIYoWpWnPeM8TYCM,23791
|
|
368
|
+
arize_phoenix-8.13.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
369
|
+
arize_phoenix-8.13.2.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
|
|
370
|
+
arize_phoenix-8.13.2.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
|
|
371
|
+
arize_phoenix-8.13.2.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
|
|
372
|
+
arize_phoenix-8.13.2.dist-info/RECORD,,
|
|
@@ -659,17 +659,33 @@ class AzureOpenAIStreamingClient(OpenAIBaseStreamingClient):
|
|
|
659
659
|
):
|
|
660
660
|
from openai import AsyncAzureOpenAI
|
|
661
661
|
|
|
662
|
-
if not (api_key := api_key or getenv("AZURE_OPENAI_API_KEY")):
|
|
663
|
-
raise BadRequest("An Azure API key is required for Azure OpenAI models")
|
|
664
662
|
if not (endpoint := model.endpoint or getenv("AZURE_OPENAI_ENDPOINT")):
|
|
665
663
|
raise BadRequest("An Azure endpoint is required for Azure OpenAI models")
|
|
666
664
|
if not (api_version := model.api_version or getenv("OPENAI_API_VERSION")):
|
|
667
665
|
raise BadRequest("An OpenAI API version is required for Azure OpenAI models")
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
666
|
+
if api_key := api_key or getenv("AZURE_OPENAI_API_KEY"):
|
|
667
|
+
client = AsyncAzureOpenAI(
|
|
668
|
+
api_key=api_key,
|
|
669
|
+
azure_endpoint=endpoint,
|
|
670
|
+
api_version=api_version,
|
|
671
|
+
)
|
|
672
|
+
else:
|
|
673
|
+
try:
|
|
674
|
+
from azure.identity.aio import DefaultAzureCredential, get_bearer_token_provider
|
|
675
|
+
except ImportError:
|
|
676
|
+
raise BadRequest(
|
|
677
|
+
"Provide an API key for Azure OpenAI models or use azure-identity, see. e.g. "
|
|
678
|
+
"https://learn.microsoft.com/en-us/python/api/azure-identity/azure.identity.environmentcredential?view=azure-python" # noqa: E501
|
|
679
|
+
)
|
|
680
|
+
|
|
681
|
+
client = AsyncAzureOpenAI(
|
|
682
|
+
azure_ad_token_provider=get_bearer_token_provider(
|
|
683
|
+
DefaultAzureCredential(),
|
|
684
|
+
"https://cognitiveservices.azure.com/.default",
|
|
685
|
+
),
|
|
686
|
+
azure_endpoint=endpoint,
|
|
687
|
+
api_version=api_version,
|
|
688
|
+
)
|
|
673
689
|
super().__init__(client=client, model=model, api_key=api_key)
|
|
674
690
|
self._attributes[LLM_PROVIDER] = OpenInferenceLLMProviderValues.AZURE.value
|
|
675
691
|
self._attributes[LLM_SYSTEM] = OpenInferenceLLMSystemValues.OPENAI.value
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_components-
|
|
3
|
-
"file": "assets/components-
|
|
2
|
+
"_components-BwK8mVUO.js": {
|
|
3
|
+
"file": "assets/components-BwK8mVUO.js",
|
|
4
4
|
"name": "components",
|
|
5
5
|
"imports": [
|
|
6
6
|
"_vendor-CwOvppSU.js",
|
|
7
|
-
"_pages-
|
|
7
|
+
"_pages-CZ1DOKbD.js",
|
|
8
8
|
"_vendor-arizeai-bw-hz0cw.js",
|
|
9
9
|
"_vendor-codemirror-Du5cjwoZ.js",
|
|
10
10
|
"_vendor-three-C-AGeJYv.js"
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
|
-
"_pages-
|
|
14
|
-
"file": "assets/pages-
|
|
13
|
+
"_pages-CZ1DOKbD.js": {
|
|
14
|
+
"file": "assets/pages-CZ1DOKbD.js",
|
|
15
15
|
"name": "pages",
|
|
16
16
|
"imports": [
|
|
17
17
|
"_vendor-CwOvppSU.js",
|
|
18
18
|
"_vendor-arizeai-bw-hz0cw.js",
|
|
19
|
-
"_components-
|
|
19
|
+
"_components-BwK8mVUO.js",
|
|
20
20
|
"_vendor-codemirror-Du5cjwoZ.js",
|
|
21
21
|
"_vendor-recharts-BMT-13Pz.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-Dp1bkaPS.js",
|
|
73
73
|
"name": "index",
|
|
74
74
|
"src": "index.tsx",
|
|
75
75
|
"isEntry": true,
|
|
76
76
|
"imports": [
|
|
77
77
|
"_vendor-CwOvppSU.js",
|
|
78
78
|
"_vendor-arizeai-bw-hz0cw.js",
|
|
79
|
-
"_pages-
|
|
80
|
-
"_components-
|
|
79
|
+
"_pages-CZ1DOKbD.js",
|
|
80
|
+
"_components-BwK8mVUO.js",
|
|
81
81
|
"_vendor-three-C-AGeJYv.js",
|
|
82
82
|
"_vendor-codemirror-Du5cjwoZ.js",
|
|
83
83
|
"_vendor-shiki-CevgDqNV.js",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as p,R as U,j as e,u as Ca,a as Te,e as t1,s as E1,b as V1,c as Ke,d as W1,f as fi,g as Ce,h as bi,i as Ci,k as Q1,l as s,m as vi,n as ze,C as l1,o as We,p as Qe,q as yi,t as Li,v as N,w as ln,L as va,x as ya,y as La,z as ce,A as v,B as p1,D as sn,E as m,F as wa,$ as wi,G as xa,H as ka,I as q,J as xi,K as cn,M as ki,N as Si,O as B,P as q1,Q as P,S as H,T as R,U as Sa,V as Ma,W as Mi,X as h1,Y as Ta,Z as Ti,_ as zi,a0 as Ii,a1 as Ai,a2 as Ei,a3 as Vi,a4 as Di,a5 as Pi,a6 as Oi,a7 as f1,a8 as _i,a9 as Fi,aa as Ni,ab as Ri,ac as ke,ad as X1,ae as Y1,af as J1,ag as F,ah as _e,ai as _n,aj as $i,ak as Hi,al as za,am as Ki,an as Bi,ao as Zi,ap as Gi,aq as ji,ar as Ui,as as Wi,at as Qi,au as qi,av as Xi,aw as Yi,ax as Ia,ay as Ji,az as _,aA as Aa,aB as er,aC as Ee,aD as dn,aE as nr,aF as un,aG as ar,aH as tr,aI as ir,aJ as rr,aK as or,aL as lr,aM as Fn,aN as sr,aO as cr,aP as dr,aQ as Nn,aR as ur,aS as gr,aT as mr,aU as D1,aV as pr,aW as hr,aX as fr,aY as br,aZ as Cr,a_ as vr,a$ as yr,b0 as Lr,b1 as wr,b2 as xr}from"./vendor-CwOvppSU.js";import{a as Rn,R as kr,b as Sr,c as Mr,m as Tr,T as zr,u as Ir}from"./pages-
|
|
1
|
+
import{r as p,R as U,j as e,u as Ca,a as Te,e as t1,s as E1,b as V1,c as Ke,d as W1,f as fi,g as Ce,h as bi,i as Ci,k as Q1,l as s,m as vi,n as ze,C as l1,o as We,p as Qe,q as yi,t as Li,v as N,w as ln,L as va,x as ya,y as La,z as ce,A as v,B as p1,D as sn,E as m,F as wa,$ as wi,G as xa,H as ka,I as q,J as xi,K as cn,M as ki,N as Si,O as B,P as q1,Q as P,S as H,T as R,U as Sa,V as Ma,W as Mi,X as h1,Y as Ta,Z as Ti,_ as zi,a0 as Ii,a1 as Ai,a2 as Ei,a3 as Vi,a4 as Di,a5 as Pi,a6 as Oi,a7 as f1,a8 as _i,a9 as Fi,aa as Ni,ab as Ri,ac as ke,ad as X1,ae as Y1,af as J1,ag as F,ah as _e,ai as _n,aj as $i,ak as Hi,al as za,am as Ki,an as Bi,ao as Zi,ap as Gi,aq as ji,ar as Ui,as as Wi,at as Qi,au as qi,av as Xi,aw as Yi,ax as Ia,ay as Ji,az as _,aA as Aa,aB as er,aC as Ee,aD as dn,aE as nr,aF as un,aG as ar,aH as tr,aI as ir,aJ as rr,aK as or,aL as lr,aM as Fn,aN as sr,aO as cr,aP as dr,aQ as Nn,aR as ur,aS as gr,aT as mr,aU as D1,aV as pr,aW as hr,aX as fr,aY as br,aZ as Cr,a_ as vr,a$ as yr,b0 as Lr,b1 as wr,b2 as xr}from"./vendor-CwOvppSU.js";import{a as Rn,R as kr,b as Sr,c as Mr,m as Tr,T as zr,u as Ir}from"./pages-CZ1DOKbD.js";import{u as Ar,_ as Ea,a as ge,T as re,E as Va,b as Er,c as Vr,d as Se,D as b1,e as me,f as Dr,g as Fe,A as qe,C as C1,P as gn,h as Da,i as Pr,F as Pa,I as Or,j as _r,k as Fr,l as Nr,m as Rr,n as $r,o as Hr,p as Kr,q as Oa,r as _a,s as Br,t as Zr}from"./vendor-arizeai-bw-hz0cw.js";import{L as Fa,a as Na,j as Ra,E as mn,k as $a,d as Ha,l as en,b as Ka,h as Gr,c as jr,e as Ur,f as Wr,g as Qr,i as qr,s as Xr,m as Xe,n as Ye,R as Je,p as Yr,o as Jr}from"./vendor-codemirror-Du5cjwoZ.js";import{V as eo}from"./vendor-three-C-AGeJYv.js";const Ba=function(){var n={defaultValue:null,kind:"LocalArgument",name:"clusters"},a={defaultValue:null,kind:"LocalArgument",name:"dataQualityMetricColumnName"},t={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}],l=[{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,a,t,i,r],kind:"Fragment",metadata:null,name:"pointCloudStore_clusterMetricsQuery",selections:l,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,t,a,i,r],kind:"Operation",name:"pointCloudStore_clusterMetricsQuery",selections:l},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
|
|
@@ -3063,7 +3063,7 @@ chat_completion = client.chat.completions.create(
|
|
|
3063
3063
|
tracer_provider = register(
|
|
3064
3064
|
project_name="${a}",
|
|
3065
3065
|
endpoint="${(n?Dn:e1)+"/v1/traces"}"
|
|
3066
|
-
)`;function E9(n){const a=ui,t=window.Config.authenticationEnabled,i=i3({isAuthEnabled:t,isHosted:a}),r=n.projectName||"your-next-llm-project";return s("div",{children:[e(w,{paddingTop:"size-200",paddingBottom:"size-100",children:e(K,{level:2,weight:"heavy",children:"Install Dependencies"})}),e(w,{paddingBottom:"size-100",children:s(y,{children:["Use the Phoenix OTEL or"," ",e(j,{href:e3,children:"OpenTelemetry"})," to configure your application to send traces to Phoenix."]})}),e(Y,{children:e(ae,{value:a3})}),e(w,{paddingTop:"size-200",paddingBottom:"size-100",children:e(K,{level:2,weight:"heavy",children:"Setup your Environment"})}),e(w,{paddingBottom:"size-100",children:s(y,{children:[e("b",{children:"arize-phoenix-otel"})," automatically picks up your configuration from",e(j,{href:n3,children:"environment variables"})]})}),e(Y,{children:e(ae,{value:i})}),t?e(w,{paddingBottom:"size-100",paddingTop:"size-100",children:e(di,{fallback:s(y,{children:["Personal API keys can be created and managed on your"," ",e(j,{href:"/profile",children:"Profile"})]}),children:s(y,{children:["System API keys can be created and managed in"," ",e(j,{href:"/settings",children:"Settings"})]})})}):null,e(w,{paddingTop:"size-200",paddingBottom:"size-100",children:e(K,{level:2,weight:"heavy",children:"Setup OpenTelemetry"})}),e(w,{paddingBottom:"size-100",children:s(y,{children:["Register your application to send traces to this project. The code below should be added ",e("b",{children:"BEFORE"})," any code execution."]})}),e(w,{paddingBottom:"size-100",children:e(Y,{children:e(ae,{value:l3({projectName:r,isHosted:a})})})}),a?null:e(w,{paddingBottom:"size-100",children:s(y,{children:["To configure gRPC and batching, see our"," ",e(j,{href:Jd,children:"setup guide"}),"."]})}),e(w,{paddingTop:"size-200",paddingBottom:"size-100",children:e(K,{level:2,weight:"heavy",children:"Setup Instrumentation"})}),e(w,{paddingBottom:"size-100",children:e(y,{children:"Add instrumentation to your application so that your application code is traces."})}),e(Zr,{variant:"compact",children:s(v2,{children:[s(L2,{children:[e(ia,{id:"instrumentation",children:"Instrumentation"}),e(ia,{id:"openai-example",children:"OpenAI Example"})]}),e(rn,{id:"instrumentation",children:s(w,{padding:"size-200",children:[s(y,{children:["Trace your application using"," ",e(j,{href:"https://github.com/Arize-ai/openinference",children:"OpenInference"})," ","instrumentation and OpenTelemetry"]}),e(w,{paddingTop:"size-200",paddingBottom:"size-200",children:e(Ud,{})}),s(y,{children:["For more integrations, checkout our"," ",e(j,{href:"https://docs.arize.com/phoenix/tracing/integrations-tracing",children:"comprehensive guide"})]})]})}),e(rn,{id:"openai-example",children:s(w,{padding:"size-200",children:[s("p",{children:["Install"," ",e(j,{href:"https://github.com/Arize-ai/openinference",children:"OpenInference"})," ","instrumentation as well as ",e("b",{children:"openai"})]}),e(Y,{children:e(ae,{value:t3})}),s("p",{children:["Instrument ",e("b",{children:"openai"})," at the beginning of your code"]}),e(w,{paddingBottom:"size-50",children:e(Y,{children:e(ae,{value:r3})})}),s("p",{children:["Use ",e("b",{children:"openai"})," as you normally and traces will be sent to Phoenix"]}),e(w,{paddingBottom:"size-50",children:e(Y,{children:e(ae,{value:o3})})})]})})]})})]})}const s3="https://docs.arize.com/phoenix/tracing/how-to-tracing/setup-tracing",c3=n=>`import { Resource } from '@opentelemetry/resources';
|
|
3066
|
+
)`;function E9(n){const a=ui,t=window.Config.authenticationEnabled,i=i3({isAuthEnabled:t,isHosted:a}),r=n.projectName||"your-next-llm-project";return s("div",{children:[e(w,{paddingTop:"size-200",paddingBottom:"size-100",children:e(K,{level:2,weight:"heavy",children:"Install Dependencies"})}),e(w,{paddingBottom:"size-100",children:s(y,{children:["Use the Phoenix OTEL or"," ",e(j,{href:e3,children:"OpenTelemetry"})," to configure your application to send traces to Phoenix."]})}),e(Y,{children:e(ae,{value:a3})}),e(w,{paddingTop:"size-200",paddingBottom:"size-100",children:e(K,{level:2,weight:"heavy",children:"Setup your Environment"})}),e(w,{paddingBottom:"size-100",children:s(y,{children:[e("b",{children:"arize-phoenix-otel"})," automatically picks up your configuration from"," ",e(j,{href:n3,children:"environment variables"})]})}),e(Y,{children:e(ae,{value:i})}),t?e(w,{paddingBottom:"size-100",paddingTop:"size-100",children:e(di,{fallback:s(y,{children:["Personal API keys can be created and managed on your"," ",e(j,{href:"/profile",children:"Profile"})]}),children:s(y,{children:["System API keys can be created and managed in"," ",e(j,{href:"/settings",children:"Settings"})]})})}):null,e(w,{paddingTop:"size-200",paddingBottom:"size-100",children:e(K,{level:2,weight:"heavy",children:"Setup OpenTelemetry"})}),e(w,{paddingBottom:"size-100",children:s(y,{children:["Register your application to send traces to this project. The code below should be added ",e("b",{children:"BEFORE"})," any code execution."]})}),e(w,{paddingBottom:"size-100",children:e(Y,{children:e(ae,{value:l3({projectName:r,isHosted:a})})})}),a?null:e(w,{paddingBottom:"size-100",children:s(y,{children:["To configure gRPC and batching, see our"," ",e(j,{href:Jd,children:"setup guide"}),"."]})}),e(w,{paddingTop:"size-200",paddingBottom:"size-100",children:e(K,{level:2,weight:"heavy",children:"Setup Instrumentation"})}),e(w,{paddingBottom:"size-100",children:e(y,{children:"Add instrumentation to your application so that your application code is traces."})}),e(Zr,{variant:"compact",children:s(v2,{children:[s(L2,{children:[e(ia,{id:"instrumentation",children:"Instrumentation"}),e(ia,{id:"openai-example",children:"OpenAI Example"})]}),e(rn,{id:"instrumentation",children:s(w,{padding:"size-200",children:[s(y,{children:["Trace your application using"," ",e(j,{href:"https://github.com/Arize-ai/openinference",children:"OpenInference"})," ","instrumentation and OpenTelemetry"]}),e(w,{paddingTop:"size-200",paddingBottom:"size-200",children:e(Ud,{})}),s(y,{children:["For more integrations, checkout our"," ",e(j,{href:"https://docs.arize.com/phoenix/tracing/integrations-tracing",children:"comprehensive guide"})]})]})}),e(rn,{id:"openai-example",children:s(w,{padding:"size-200",children:[s("p",{children:["Install"," ",e(j,{href:"https://github.com/Arize-ai/openinference",children:"OpenInference"})," ","instrumentation as well as ",e("b",{children:"openai"})]}),e(Y,{children:e(ae,{value:t3})}),s("p",{children:["Instrument ",e("b",{children:"openai"})," at the beginning of your code"]}),e(w,{paddingBottom:"size-50",children:e(Y,{children:e(ae,{value:r3})})}),s("p",{children:["Use ",e("b",{children:"openai"})," as you normally and traces will be sent to Phoenix"]}),e(w,{paddingBottom:"size-50",children:e(Y,{children:e(ae,{value:o3})})})]})})]})})]})}const s3="https://docs.arize.com/phoenix/tracing/how-to-tracing/setup-tracing",c3=n=>`import { Resource } from '@opentelemetry/resources';
|
|
3067
3067
|
import { SEMRESATTRS_PROJECT_NAME } from '@arizeai/openinference-semantic-conventions';
|
|
3068
3068
|
|
|
3069
3069
|
resource: new Resource({
|
|
@@ -3089,4 +3089,4 @@ resource: new Resource({
|
|
|
3089
3089
|
width: 100%;
|
|
3090
3090
|
}
|
|
3091
3091
|
}
|
|
3092
|
-
`,children:s(_e,{onSubmit:c(n),children:[e(w,{padding:"size-200",children:s(k,{direction:"column",gap:"size-100",children:[e(F,{name:"email",control:l,rules:{required:"Email is required",pattern:{value:/^[^@\s]+@[^@\s]+[.][^@\s]+$/,message:"Invalid email format"}},render:({field:{name:g,onChange:u,onBlur:h,value:f},fieldState:{invalid:b,error:C}})=>s($,{type:"email",name:g,isRequired:!0,onChange:u,isInvalid:b,onBlur:h,value:f,children:[e(P,{children:"Email"}),e(H,{}),C?e(R,{children:C==null?void 0:C.message}):e(y,{slot:"description",children:"The user's email address. Must be unique."})]})}),e(F,{name:"username",control:l,rules:{required:"Email is required"},render:({field:{name:g,onChange:u,onBlur:h,value:f},fieldState:{invalid:b,error:C}})=>s($,{name:g,isRequired:!0,onChange:u,isInvalid:b,onBlur:h,value:f,children:[e(P,{children:"Username"}),e(H,{}),C?e(R,{children:C==null?void 0:C.message}):e(y,{slot:"description",children:"A unique username."})]})}),e(F,{name:"password",control:l,rules:{required:"Password is required",minLength:{value:r1,message:`Password must be at least ${r1} characters`}},render:({field:{name:g,onChange:u,onBlur:h,value:f},fieldState:{invalid:b,error:C}})=>s($,{type:"password",isRequired:!0,name:g,isInvalid:b,onChange:u,onBlur:h,defaultValue:f,autoComplete:"new-password",children:[e(P,{children:"Password"}),e(H,{}),C?e(R,{children:C==null?void 0:C.message}):e(y,{slot:"description",children:"Password must be at least 4 characters"})]})}),e(F,{name:"confirmPassword",control:l,rules:{required:"Please confirm your password",minLength:{value:r1,message:`Password must be at least ${r1} characters`},validate:(g,u)=>g===u.password||"Passwords do not match"},render:({field:{name:g,onChange:u,onBlur:h,value:f},fieldState:{invalid:b,error:C}})=>s($,{isRequired:!0,type:"password",name:g,isInvalid:b,onChange:u,onBlur:h,defaultValue:f??void 0,autoComplete:"new-password",children:[e(P,{children:"Confirm Password"}),e(H,{}),C?e(R,{children:C==null?void 0:C.message}):e(y,{slot:"description",children:"Confirm the new password"})]})}),e(F,{name:"role",control:l,render:({field:{onChange:g,value:u},fieldState:{invalid:h,error:f}})=>e(g3,{onChange:g,role:u,validationState:h?"invalid":"valid",errorMessage:f==null?void 0:f.message})})]})}),e(w,{paddingStart:"size-200",paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderColor:"dark",borderTopWidth:"thin",children:e(k,{direction:"row",gap:"size-100",justifyContent:"end",children:e(O,{variant:d?"primary":"default",type:"submit",size:"S",isDisabled:o,children:o?"Adding...":"Add User"})})})]})})}export{m5 as $,A5 as A,m4 as B,T5 as C,ot as D,M5 as E,u4 as F,R5 as G,H5 as H,z as I,g4 as J,j5 as K,Tl as L,Z5 as M,C4 as N,b4 as O,U5 as P,B5 as Q,h4 as R,Y5 as S,ue as T,n1 as U,y as V,w as W,h5 as X,O3 as Y,p5 as Z,k as _,x1 as a,cs as a$,zt as a0,B3 as a1,K3 as a2,c5 as a3,g5 as a4,y1 as a5,R2 as a6,O as a7,K as a8,$ as a9,$o as aA,t5 as aB,al as aC,A2 as aD,K5 as aE,q5 as aF,D5 as aG,O4 as aH,V4 as aI,D4 as aJ,ns as aK,A4 as aL,I4 as aM,wt as aN,k0 as aO,M4 as aP,C5 as aQ,Gl as aR,j as aS,F4 as aT,yt as aU,vt as aV,o5 as aW,xe as aX,X2 as aY,j2 as aZ,U4 as a_,t4 as aa,Y3 as ab,J3 as ac,e5 as ad,w4 as ae,L4 as af,Q3 as ag,k1 as ah,S1 as ai,ol as aj,Mn as ak,v4 as al,V2 as am,E2 as an,Le as ao,k4 as ap,x4 as aq,ht as ar,V5 as as,P5 as at,v2 as au,L2 as av,ia as aw,c4 as ax,d4 as ay,kl as az,dt as b,
|
|
3092
|
+
`,children:s(_e,{onSubmit:c(n),children:[e(w,{padding:"size-200",children:s(k,{direction:"column",gap:"size-100",children:[e(F,{name:"email",control:l,rules:{required:"Email is required",pattern:{value:/^[^@\s]+@[^@\s]+[.][^@\s]+$/,message:"Invalid email format"}},render:({field:{name:g,onChange:u,onBlur:h,value:f},fieldState:{invalid:b,error:C}})=>s($,{type:"email",name:g,isRequired:!0,onChange:u,isInvalid:b,onBlur:h,value:f,children:[e(P,{children:"Email"}),e(H,{}),C?e(R,{children:C==null?void 0:C.message}):e(y,{slot:"description",children:"The user's email address. Must be unique."})]})}),e(F,{name:"username",control:l,rules:{required:"Email is required"},render:({field:{name:g,onChange:u,onBlur:h,value:f},fieldState:{invalid:b,error:C}})=>s($,{name:g,isRequired:!0,onChange:u,isInvalid:b,onBlur:h,value:f,children:[e(P,{children:"Username"}),e(H,{}),C?e(R,{children:C==null?void 0:C.message}):e(y,{slot:"description",children:"A unique username."})]})}),e(F,{name:"password",control:l,rules:{required:"Password is required",minLength:{value:r1,message:`Password must be at least ${r1} characters`}},render:({field:{name:g,onChange:u,onBlur:h,value:f},fieldState:{invalid:b,error:C}})=>s($,{type:"password",isRequired:!0,name:g,isInvalid:b,onChange:u,onBlur:h,defaultValue:f,autoComplete:"new-password",children:[e(P,{children:"Password"}),e(H,{}),C?e(R,{children:C==null?void 0:C.message}):e(y,{slot:"description",children:"Password must be at least 4 characters"})]})}),e(F,{name:"confirmPassword",control:l,rules:{required:"Please confirm your password",minLength:{value:r1,message:`Password must be at least ${r1} characters`},validate:(g,u)=>g===u.password||"Passwords do not match"},render:({field:{name:g,onChange:u,onBlur:h,value:f},fieldState:{invalid:b,error:C}})=>s($,{isRequired:!0,type:"password",name:g,isInvalid:b,onChange:u,onBlur:h,defaultValue:f??void 0,autoComplete:"new-password",children:[e(P,{children:"Confirm Password"}),e(H,{}),C?e(R,{children:C==null?void 0:C.message}):e(y,{slot:"description",children:"Confirm the new password"})]})}),e(F,{name:"role",control:l,render:({field:{onChange:g,value:u},fieldState:{invalid:h,error:f}})=>e(g3,{onChange:g,role:u,validationState:h?"invalid":"valid",errorMessage:f==null?void 0:f.message})})]})}),e(w,{paddingStart:"size-200",paddingEnd:"size-200",paddingTop:"size-100",paddingBottom:"size-100",borderColor:"dark",borderTopWidth:"thin",children:e(k,{direction:"row",gap:"size-100",justifyContent:"end",children:e(O,{variant:d?"primary":"default",type:"submit",size:"S",isDisabled:o,children:o?"Adding...":"Add User"})})})]})})}export{m5 as $,A5 as A,m4 as B,T5 as C,ot as D,M5 as E,u4 as F,R5 as G,H5 as H,z as I,g4 as J,j5 as K,Tl as L,Z5 as M,C4 as N,b4 as O,U5 as P,B5 as Q,h4 as R,Y5 as S,ue as T,n1 as U,y as V,w as W,h5 as X,O3 as Y,p5 as Z,k as _,x1 as a,cs as a$,zt as a0,B3 as a1,K3 as a2,c5 as a3,g5 as a4,y1 as a5,R2 as a6,O as a7,K as a8,$ as a9,$o as aA,t5 as aB,al as aC,A2 as aD,K5 as aE,q5 as aF,D5 as aG,O4 as aH,V4 as aI,D4 as aJ,ns as aK,A4 as aL,I4 as aM,wt as aN,k0 as aO,M4 as aP,C5 as aQ,Gl as aR,j as aS,F4 as aT,yt as aU,vt as aV,o5 as aW,xe as aX,X2 as aY,j2 as aZ,U4 as a_,t4 as aa,Y3 as ab,J3 as ac,e5 as ad,w4 as ae,L4 as af,Q3 as ag,k1 as ah,S1 as ai,ol as aj,Mn as ak,v4 as al,V2 as am,E2 as an,Le as ao,k4 as ap,x4 as aq,ht as ar,V5 as as,P5 as at,v2 as au,L2 as av,ia as aw,c4 as ax,d4 as ay,kl as az,dt as b,K0 as b$,ve as b0,ls as b1,W4 as b2,Lt as b3,Vt as b4,os as b5,P4 as b6,I5 as b7,O5 as b8,N4 as b9,xt as bA,s5 as bB,l5 as bC,b5 as bD,f5 as bE,V0 as bF,s4 as bG,l4 as bH,_3 as bI,W3 as bJ,U3 as bK,j3 as bL,ie as bM,a1 as bN,a5 as bO,Y4 as bP,kt as bQ,R3 as bR,N3 as bS,hl as bT,H4 as bU,K4 as bV,X4 as bW,J4 as bX,z4 as bY,S4 as bZ,Q5 as b_,W5 as ba,we as bb,n4 as bc,e4 as bd,d5 as be,X as bf,x5 as bg,v3 as bh,Z4 as bi,j4 as bj,G4 as bk,ra as bl,F5 as bm,As as bn,B4 as bo,$4 as bp,T4 as bq,ss as br,sl as bs,R4 as bt,rs as bu,E4 as bv,y4 as bw,_5 as bx,Y as by,bl as bz,ct as c,z5 as c$,R0 as c0,n9 as c1,An as c2,v1 as c3,mo as c4,a9 as c5,t9 as c6,i9 as c7,o9 as c8,r9 as c9,S9 as cA,d9 as cB,vn as cC,u9 as cD,m9 as cE,V3 as cF,E3 as cG,D3 as cH,w3 as cI,l9 as cJ,r5 as cK,c9 as cL,g9 as cM,s9 as cN,Q2 as cO,v9 as cP,k9 as cQ,Et as cR,q2 as cS,W0 as cT,It as cU,W2 as cV,At as cW,u5 as cX,o4 as cY,P3 as cZ,X5 as c_,co as ca,so as cb,x as cc,Qa as cd,E5 as ce,wc as cf,y9 as cg,L9 as ch,w9 as ci,b9 as cj,C9 as ck,x9 as cl,h9 as cm,f9 as cn,p9 as co,Nc as cp,Rc as cq,at as cr,Gc as cs,Ze as ct,L5 as cu,w5 as cv,ye as cw,ii as cx,rn as cy,De as cz,y3 as d,ae as d0,Ad as d1,mc as d2,G3 as d3,E9 as d4,V9 as d5,S5 as d6,a4 as d7,as as d8,M9 as d9,_9 as dA,vc as dB,yc as dC,g3 as dD,T3 as dE,$5 as dF,A3 as dG,I3 as dH,ci as dI,v5 as dJ,A9 as dK,k5 as dL,N5 as dM,J5 as dN,M3 as dO,i4 as dP,k3 as dQ,Vs as da,G5 as db,D9 as dc,x3 as dd,L3 as de,r4 as df,e9 as dg,tn as dh,Jn as di,_4 as dj,Q4 as dk,e1 as dl,s0 as dm,di as dn,Ed as dp,y5 as dq,U2 as dr,P9 as ds,O9 as dt,q4 as du,Yn as dv,g0 as dw,I9 as dx,z9 as dy,T9 as dz,Z3 as e,Sl as f,d1 as g,n5 as h,J as i,c1 as j,Ho as k,ll as l,I as m,F3 as n,pl as o,q3 as p,X3 as q,$3 as r,go as s,H3 as t,Jo as u,i5 as v,p4 as w,S3 as x,z3 as y,f4 as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,j as o,bm as z,l as c,O as w,R as P,E as b,cx as k,ed as S,ee as F,ef as L,eg as l,v as C,eh as E}from"./vendor-CwOvppSU.js";import{d as R,x as I,D as j,M as T,N as _}from"./vendor-arizeai-bw-hz0cw.js";import{L as A,r as O,d as D,e as G,F as M,f as N,P as V,h as U,M as m,g as W,D as q,i as B,E as J,j as K,k as $,p as H,l as Q,n as p,o as Y,q as X,s as Z,S as oo,t as lo,v as ao,w as ro,x as co,y as u,z as f,A as y,B as go,C as eo,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 To,aa as _o,ab as Ao,ac as Oo}from"./pages-
|
|
1
|
+
import{r as t,j as o,bm as z,l as c,O as w,R as P,E as b,cx as k,ed as S,ee as F,ef as L,eg as l,v as C,eh as E}from"./vendor-CwOvppSU.js";import{d as R,x as I,D as j,M as T,N as _}from"./vendor-arizeai-bw-hz0cw.js";import{L as A,r as O,d as D,e as G,F as M,f as N,P as V,h as U,M as m,g as W,D as q,i as B,E as J,j as K,k as $,p as H,l as Q,n as p,o as Y,q as X,s as Z,S as oo,t as lo,v as ao,w as ro,x as co,y as u,z as f,A as y,B as go,C as eo,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 To,aa as _o,ab as Ao,ac as Oo}from"./pages-CZ1DOKbD.js";import{W as Do,dO as Go,bf as Mo,U as No,dP as Vo,dQ as Uo}from"./components-BwK8mVUO.js";import"./vendor-three-C-AGeJYv.js";import"./vendor-codemirror-Du5cjwoZ.js";import"./vendor-shiki-CevgDqNV.js";import"./vendor-recharts-BMT-13Pz.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 Wo(){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 qo(){const a=P.useContext(h);if(a===null)throw new Error("useFeatureFlags must be used within a FeatureFlagsProvider");return a}function Bo(a){const[e,i]=t.useState(Wo()),s=r=>{localStorage.setItem(v,JSON.stringify(r)),i(r)};return o(h.Provider,{value:{featureFlags:e,setFeatureFlags:s},children:o(Jo,{children:a.children})})}function Jo(a){const{children:e}=a,{featureFlags:i,setFeatureFlags:s}=qo(),[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(Do,{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 Ko=b`
|
|
2
2
|
:root {
|
|
3
3
|
--ac-global-dimension-scale-factor: 1;
|
|
4
4
|
--ac-global-dimension-size-0: 0px;
|