arize-phoenix 8.13.1__py3-none-any.whl → 8.14.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.

Files changed (20) hide show
  1. {arize_phoenix-8.13.1.dist-info → arize_phoenix-8.14.0.dist-info}/METADATA +12 -36
  2. {arize_phoenix-8.13.1.dist-info → arize_phoenix-8.14.0.dist-info}/RECORD +18 -18
  3. phoenix/server/api/helpers/playground_clients.py +23 -7
  4. phoenix/server/static/.vite/manifest.json +45 -45
  5. phoenix/server/static/assets/{components-DvgP87AK.js → components-E6p--qL4.js} +553 -553
  6. phoenix/server/static/assets/{index-CLClYeDh.js → index-BZg1KoYU.js} +10 -10
  7. phoenix/server/static/assets/{pages-BnuKGq5F.js → pages-BsPyKRtU.js} +537 -533
  8. phoenix/server/static/assets/vendor-BT2CVKel.js +905 -0
  9. phoenix/server/static/assets/{vendor-arizeai-bw-hz0cw.js → vendor-arizeai-Dzsaenki.js} +2 -2
  10. phoenix/server/static/assets/vendor-codemirror-D2R3PB3i.js +33 -0
  11. phoenix/server/static/assets/{vendor-recharts-BMT-13Pz.js → vendor-recharts-DetvdWCF.js} +2 -2
  12. phoenix/server/static/assets/{vendor-shiki-CevgDqNV.js → vendor-shiki-dzrzjP7E.js} +1 -1
  13. phoenix/server/static/assets/{vendor-three-C-AGeJYv.js → vendor-three-C5WAXd5r.js} +1 -1
  14. phoenix/version.py +1 -1
  15. phoenix/server/static/assets/vendor-CwOvppSU.js +0 -902
  16. phoenix/server/static/assets/vendor-codemirror-Du5cjwoZ.js +0 -24
  17. {arize_phoenix-8.13.1.dist-info → arize_phoenix-8.14.0.dist-info}/WHEEL +0 -0
  18. {arize_phoenix-8.13.1.dist-info → arize_phoenix-8.14.0.dist-info}/entry_points.txt +0 -0
  19. {arize_phoenix-8.13.1.dist-info → arize_phoenix-8.14.0.dist-info}/licenses/IP_NOTICE +0 -0
  20. {arize_phoenix-8.13.1.dist-info → arize_phoenix-8.14.0.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.1
3
+ Version: 8.14.0
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'
@@ -166,9 +167,7 @@ Phoenix is an open-source AI observability platform designed for experimentation
166
167
 
167
168
  Phoenix is vendor and language agnostic with out-of-the-box support for popular frameworks (🦙[LlamaIndex](https://docs.arize.com/phoenix/tracing/integrations-tracing/llamaindex), 🦜⛓[LangChain](https://docs.arize.com/phoenix/tracing/integrations-tracing/langchain), [Haystack](https://docs.arize.com/phoenix/tracing/integrations-tracing/haystack), 🧩[DSPy](https://docs.arize.com/phoenix/tracing/integrations-tracing/dspy), 🤗[smolagents](https://docs.arize.com/phoenix/tracing/integrations-tracing/hfsmolagents)) and LLM providers ([OpenAI](https://docs.arize.com/phoenix/tracing/integrations-tracing/openai), [Bedrock](https://docs.arize.com/phoenix/tracing/integrations-tracing/bedrock), [MistralAI](https://docs.arize.com/phoenix/tracing/integrations-tracing/mistralai), [VertexAI](https://docs.arize.com/phoenix/tracing/integrations-tracing/vertexai), [LiteLLM](https://docs.arize.com/phoenix/tracing/integrations-tracing/litellm), and more). For details on auto-instrumentation, check out the [OpenInference](https://github.com/Arize-ai/openinference) project.
168
169
 
169
- Phoenix runs practically anywhere, including your Jupyter notebook, local machine, containerized deployment, or in the cloud.
170
-
171
- <img alt="phoenix_overview.gif" width="100%" src="https://github.com/Arize-ai/phoenix-assets/blob/main/gifs/phoenix_overview.gif?raw=true">
170
+ Phoenix runs practically anywhere, including your local machine, a Jupyter notebook, a containerized deployment, or in the cloud.
172
171
 
173
172
  ## Installation
174
173
 
@@ -180,41 +179,15 @@ pip install arize-phoenix
180
179
 
181
180
  Phoenix container images are available via [Docker Hub](https://hub.docker.com/r/arizephoenix/phoenix) and can be deployed using Docker or Kubernetes.
182
181
 
183
- ## Features
184
-
185
- | Key Features | Availability |
186
- | ---------------------------------------------------------------------------------------------------------------- | ------------ |
187
- | [Tracing](https://docs.arize.com/phoenix/tracing/concepts-tracing/what-are-traces) | ✅ |
188
- | [Evaluation](https://docs.arize.com/phoenix/evaluation/llm-evals) | ✅ |
189
- | [Retrieval (RAG) Analysis](https://docs.arize.com/phoenix/tracing/use-cases-tracing/rag-evaluation) | ✅ |
190
- | [Datasets](https://docs.arize.com/phoenix/datasets-and-experiments/overview-datasets) | ✅ |
191
- | [Fine-Tuning Export](https://docs.arize.com/phoenix/datasets-and-experiments/how-to-datasets/exporting-datasets) | ✅ |
192
- | [Annotations](https://docs.arize.com/phoenix/tracing/concepts-tracing/how-to-annotate-traces) | ✅ |
193
- | [Human Feedback](https://docs.arize.com/phoenix/tracing/how-to-tracing/capture-feedback) | ✅ |
194
- | [Experiments](https://docs.arize.com/phoenix/datasets-and-experiments/how-to-experiments/run-experiments) | ✅ |
195
- | [Embeddings Analysis](https://docs.arize.com/phoenix/inferences/phoenix-inferences) | ✅ |
196
- | [Data Export](https://docs.arize.com/phoenix/tracing/how-to-tracing/extract-data-from-spans) | ✅ |
197
- | REST API | ✅ |
198
- | GraphQL API | ✅ |
199
- | Data Retention | Customizable |
200
- | [Authentication](https://docs.arize.com/phoenix/deployment/authentication) | ✅ |
201
- | [Social Login](https://docs.arize.com/phoenix/deployment/authentication#configuring-oauth2-identity-providers) | ✅ |
202
- | [RBAC](https://docs.arize.com/phoenix/deployment/authentication#permissions) | ✅ |
203
- | Projects | ✅ |
204
- | [Self-Hosting](https://docs.arize.com/phoenix/deployment) | ✅ |
205
- | Jupyter Notebooks | ✅ |
206
- | [Prompt Playground](https://docs.arize.com/phoenix/prompt-engineering/overview-prompts) | ✅ |
207
- | [Sessions](https://docs.arize.com/phoenix/tracing/how-to-tracing/setup-sessions) | ✅ |
208
- | [Prompt Management](https://docs.arize.com/phoenix/prompt-engineering/overview-prompts) | ✅ |
209
-
210
182
  ## Tracing Integrations
211
183
 
212
- Phoenix is built on top of OpenTelemetry and is vendor, language, and framework agnostic.
184
+ Phoenix is built on top of OpenTelemetry and is vendor, language, and framework agnostic. For details about tracing integrations and example applications, see the [OpenInference](https://github.com/Arize-ai/openinference) project.
213
185
 
214
- **Python**
186
+ **Python Integrations**
215
187
  | Integration | Package | Version Badge |
216
188
  |------------------|-----------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
217
189
  | [OpenAI](https://docs.arize.com/phoenix/tracing/integrations-tracing/openai) | `openinference-instrumentation-openai` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-openai.svg)](https://pypi.python.org/pypi/openinference-instrumentation-openai) |
190
+ | [OpenAI Agents](https://docs.arize.com/phoenix/tracing/integrations-tracing/openai-agents-sdk) | `openinference-instrumentation-openai-agents` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-openai-agents.svg)](https://pypi.python.org/pypi/openinference-instrumentation-openai-agents) |
218
191
  | [LlamaIndex](https://docs.arize.com/phoenix/tracing/integrations-tracing/llamaindex) | `openinference-instrumentation-llama-index` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-llama-index.svg)](https://pypi.python.org/pypi/openinference-instrumentation-llama-index) |
219
192
  | [DSPy](https://docs.arize.com/phoenix/tracing/integrations-tracing/dspy) | `openinference-instrumentation-dspy` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-dspy.svg)](https://pypi.python.org/pypi/openinference-instrumentation-dspy) |
220
193
  | [AWS Bedrock](https://docs.arize.com/phoenix/tracing/integrations-tracing/bedrock) | `openinference-instrumentation-bedrock` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-bedrock.svg)](https://pypi.python.org/pypi/openinference-instrumentation-bedrock) |
@@ -230,15 +203,18 @@ Phoenix is built on top of OpenTelemetry and is vendor, language, and framework
230
203
  | [Anthropic](https://docs.arize.com/phoenix/tracing/integrations-tracing/anthropic) | `openinference-instrumentation-anthropic` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-anthropic.svg)](https://pypi.python.org/pypi/openinference-instrumentation-anthropic) |
231
204
  | [Smolagents](https://huggingface.co/docs/smolagents/en/tutorials/inspect_runs) | `openinference-instrumentation-smolagents` | [![PyPI Version](https://img.shields.io/pypi/v/openinference-instrumentation-smolagents.svg)](https://pypi.python.org/pypi/openinference-instrumentation-smolagents) |
232
205
 
233
- ### JavaScript
206
+ ### JavaScript Integrations
234
207
 
235
208
  | Integration | Package | Version Badge |
236
209
  | ------------------------------------------------------------------------------------------ | -------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
237
210
  | [OpenAI](https://docs.arize.com/phoenix/tracing/integrations-tracing/openai-node-sdk) | `@arizeai/openinference-instrumentation-openai` | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-instrumentation-openai.svg)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-openai) |
238
211
  | [LangChain.js](https://docs.arize.com/phoenix/tracing/integrations-tracing/langchain.js) | `@arizeai/openinference-instrumentation-langchain` | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-instrumentation-langchain.svg)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-langchain) |
239
212
  | [Vercel AI SDK](https://docs.arize.com/phoenix/tracing/integrations-tracing/vercel-ai-sdk) | `@arizeai/openinference-vercel` | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-vercel)](https://www.npmjs.com/package/@arizeai/openinference-vercel) |
213
+ | [BeeAI](https://docs.arize.com/phoenix/tracing/integrations-tracing/beeai) | `@arizeai/openinference-instrumentation-beeai` | [![NPM Version](https://img.shields.io/npm/v/@arizeai/openinference-vercel)](https://www.npmjs.com/package/@arizeai/openinference-instrumentation-beeai) |
214
+
215
+ ### Platforms
240
216
 
241
- For details about tracing integrations and example applications, see the [OpenInference](https://github.com/Arize-ai/openinference) project.
217
+ Phoenix has native integrations with [LangFlow](https://docs.arize.com/phoenix/tracing/integrations-tracing/langflow), LiteLLM Proxy, and [BeeAI](https://docs.beeai.dev/observability/agents-traceability).
242
218
 
243
219
  ## Community
244
220
 
@@ -258,7 +234,7 @@ See the [migration guide](./MIGRATION.md) for a list of breaking changes.
258
234
 
259
235
  ## Copyright, Patent, and License
260
236
 
261
- Copyright 2024 Arize AI, Inc. All Rights Reserved.
237
+ Copyright 2025 Arize AI, Inc. All Rights Reserved.
262
238
 
263
239
  Portions of this code are patent protected by one or more U.S. Patents. See the [IP_NOTICE](https://github.com/Arize-ai/phoenix/blob/main/IP_NOTICE).
264
240
 
@@ -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=rP0O6vA3dmK6SwGstv0ac-Ud_hfxASYFUl5535Mzgyc,23
9
+ phoenix/version.py,sha256=8qiO5e0ei6ZA4iAeslkmlVIATKP1wvISwixGeZq0jns,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=sHwz4Y-OynNmMWs1D2qfUPW15OsLyDYGwGMTrIK7s1c,40800
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,17 +314,17 @@ 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=htVFHivdNAnwhXlPwZ_-mWsz47pTcW0ZcvvuMbSHO1w,2165
318
- phoenix/server/static/assets/components-DvgP87AK.js,sha256=KCN5CPoGxxh7YcCLXMugGDxgb1dOCOkUyKq8nTNR19c,435889
319
- phoenix/server/static/assets/index-CLClYeDh.js,sha256=8qts76qvoQo-n2Nv9hOY1atWv5sCpAOMOlPCyO7AxZA,59755
320
- phoenix/server/static/assets/pages-BnuKGq5F.js,sha256=5E4cAa8uuLW0zoTTGViEguZMJ-Z3kHNDR9xnxpfDMI4,846468
317
+ phoenix/server/static/.vite/manifest.json,sha256=_VcVnjyfryAbxX_4EpEGo0BDS7dERzA3DrXRWhp1dhw,2165
318
+ phoenix/server/static/assets/components-E6p--qL4.js,sha256=CSk8NEk_FXSXEtjnV79ZcwvOd_l7SWMugahZbvS6de4,436088
319
+ phoenix/server/static/assets/index-BZg1KoYU.js,sha256=Ys_ZXWXRptczlqB6cKTRN2zQAV8vUAPc3mA091NIFMs,59943
320
+ phoenix/server/static/assets/pages-BsPyKRtU.js,sha256=nH3MnX1xcUmAkfGEVjZexdv50-riUuJZuRUvkiuJ3Tc,851290
321
+ phoenix/server/static/assets/vendor-BT2CVKel.js,sha256=LIV-43bFP85LEFu5QFr5WFcpwKYVMqop0ofrf0RzAVY,2492285
321
322
  phoenix/server/static/assets/vendor-Cg6lcjUC.css,sha256=nZrkr0u6NNElFGvpWHk9GTHeGoibCXCli1bE7mXZGZg,1816
322
- phoenix/server/static/assets/vendor-CwOvppSU.js,sha256=zorIsWgg0PkDjHxKCG-oYmme0wYQaIg_7qA54v4HOYM,2421407
323
- phoenix/server/static/assets/vendor-arizeai-bw-hz0cw.js,sha256=2HKtN3-Kx959BVQ4cv_wH9hGNZBHvRB7zET_fAWNMx0,194761
324
- phoenix/server/static/assets/vendor-codemirror-Du5cjwoZ.js,sha256=C2Ak-WHgWXh51I6sW4xjpkG5O1UfH4OsNizSpdyQRx8,400557
325
- phoenix/server/static/assets/vendor-recharts-BMT-13Pz.js,sha256=s3xYgt-cqmBSDYeI1gW6pK-q4T1Ze8hnlLR9i2TFRC8,282095
326
- phoenix/server/static/assets/vendor-shiki-CevgDqNV.js,sha256=Sv_qlOPUDy9iCCaw7olaBHyspOSkczZh6J6I_vfsB2s,8980312
327
- phoenix/server/static/assets/vendor-three-C-AGeJYv.js,sha256=c9nLPH5YDRFCzTNuwWO8_5KqcnunPo53mQsb7y9JFW8,620972
323
+ phoenix/server/static/assets/vendor-arizeai-Dzsaenki.js,sha256=NIKV6W5-cOcwg_FI772zlcl6kInoGOsiZyUbQczUxsU,194761
324
+ phoenix/server/static/assets/vendor-codemirror-D2R3PB3i.js,sha256=Flqm5GUuOzUTGcOSvRX5kgiVzw4rsdGwHWLHub1pXO8,781264
325
+ phoenix/server/static/assets/vendor-recharts-DetvdWCF.js,sha256=d0S4GSxX7tULCrHYdN8fShQlpvBsp_I_0Zo2lcnDKtM,282095
326
+ phoenix/server/static/assets/vendor-shiki-dzrzjP7E.js,sha256=UOKVc-SwXFsvb_Q0tT8oZq7Vrvead4bDUfu3bpmGrAs,8980312
327
+ phoenix/server/static/assets/vendor-three-C5WAXd5r.js,sha256=ELkg06u70N7h8oFmvqdoHyPuUf9VgGEWeT4LKFx4VWo,620975
328
328
  phoenix/server/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
329
  phoenix/server/templates/index.html,sha256=e8_jdi7Eo19SK7DI_gglkTW094D17E0VAegoMmmmvIc,4330
330
330
  phoenix/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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.1.dist-info/METADATA,sha256=47K3jTpd3EK4Qlrs8HojmQErEKFe5cSUsZPtGy26sUw,23739
368
- arize_phoenix-8.13.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
- arize_phoenix-8.13.1.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
370
- arize_phoenix-8.13.1.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
371
- arize_phoenix-8.13.1.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
372
- arize_phoenix-8.13.1.dist-info/RECORD,,
367
+ arize_phoenix-8.14.0.dist-info/METADATA,sha256=OMUq_piIXepvwCaJEYliUNynhvSHlByJmxnvYpt-ulU,21347
368
+ arize_phoenix-8.14.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
+ arize_phoenix-8.14.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
370
+ arize_phoenix-8.14.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
371
+ arize_phoenix-8.14.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
372
+ arize_phoenix-8.14.0.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
- client = AsyncAzureOpenAI(
669
- api_key=api_key,
670
- azure_endpoint=endpoint,
671
- api_version=api_version,
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,87 +1,87 @@
1
1
  {
2
- "_components-DvgP87AK.js": {
3
- "file": "assets/components-DvgP87AK.js",
2
+ "_components-E6p--qL4.js": {
3
+ "file": "assets/components-E6p--qL4.js",
4
4
  "name": "components",
5
5
  "imports": [
6
- "_vendor-CwOvppSU.js",
7
- "_pages-BnuKGq5F.js",
8
- "_vendor-arizeai-bw-hz0cw.js",
9
- "_vendor-codemirror-Du5cjwoZ.js",
10
- "_vendor-three-C-AGeJYv.js"
6
+ "_vendor-BT2CVKel.js",
7
+ "_pages-BsPyKRtU.js",
8
+ "_vendor-arizeai-Dzsaenki.js",
9
+ "_vendor-codemirror-D2R3PB3i.js",
10
+ "_vendor-three-C5WAXd5r.js"
11
11
  ]
12
12
  },
13
- "_pages-BnuKGq5F.js": {
14
- "file": "assets/pages-BnuKGq5F.js",
13
+ "_pages-BsPyKRtU.js": {
14
+ "file": "assets/pages-BsPyKRtU.js",
15
15
  "name": "pages",
16
16
  "imports": [
17
- "_vendor-CwOvppSU.js",
18
- "_vendor-arizeai-bw-hz0cw.js",
19
- "_components-DvgP87AK.js",
20
- "_vendor-codemirror-Du5cjwoZ.js",
21
- "_vendor-recharts-BMT-13Pz.js"
17
+ "_vendor-BT2CVKel.js",
18
+ "_vendor-arizeai-Dzsaenki.js",
19
+ "_components-E6p--qL4.js",
20
+ "_vendor-codemirror-D2R3PB3i.js",
21
+ "_vendor-recharts-DetvdWCF.js"
22
22
  ]
23
23
  },
24
- "_vendor-Cg6lcjUC.css": {
25
- "file": "assets/vendor-Cg6lcjUC.css",
26
- "src": "_vendor-Cg6lcjUC.css"
27
- },
28
- "_vendor-CwOvppSU.js": {
29
- "file": "assets/vendor-CwOvppSU.js",
24
+ "_vendor-BT2CVKel.js": {
25
+ "file": "assets/vendor-BT2CVKel.js",
30
26
  "name": "vendor",
31
27
  "imports": [
32
- "_vendor-three-C-AGeJYv.js"
28
+ "_vendor-three-C5WAXd5r.js"
33
29
  ],
34
30
  "css": [
35
31
  "assets/vendor-Cg6lcjUC.css"
36
32
  ]
37
33
  },
38
- "_vendor-arizeai-bw-hz0cw.js": {
39
- "file": "assets/vendor-arizeai-bw-hz0cw.js",
34
+ "_vendor-Cg6lcjUC.css": {
35
+ "file": "assets/vendor-Cg6lcjUC.css",
36
+ "src": "_vendor-Cg6lcjUC.css"
37
+ },
38
+ "_vendor-arizeai-Dzsaenki.js": {
39
+ "file": "assets/vendor-arizeai-Dzsaenki.js",
40
40
  "name": "vendor-arizeai",
41
41
  "imports": [
42
- "_vendor-CwOvppSU.js"
42
+ "_vendor-BT2CVKel.js"
43
43
  ]
44
44
  },
45
- "_vendor-codemirror-Du5cjwoZ.js": {
46
- "file": "assets/vendor-codemirror-Du5cjwoZ.js",
45
+ "_vendor-codemirror-D2R3PB3i.js": {
46
+ "file": "assets/vendor-codemirror-D2R3PB3i.js",
47
47
  "name": "vendor-codemirror",
48
48
  "imports": [
49
- "_vendor-CwOvppSU.js",
50
- "_vendor-shiki-CevgDqNV.js"
49
+ "_vendor-BT2CVKel.js",
50
+ "_vendor-shiki-dzrzjP7E.js"
51
51
  ]
52
52
  },
53
- "_vendor-recharts-BMT-13Pz.js": {
54
- "file": "assets/vendor-recharts-BMT-13Pz.js",
53
+ "_vendor-recharts-DetvdWCF.js": {
54
+ "file": "assets/vendor-recharts-DetvdWCF.js",
55
55
  "name": "vendor-recharts",
56
56
  "imports": [
57
- "_vendor-CwOvppSU.js"
57
+ "_vendor-BT2CVKel.js"
58
58
  ]
59
59
  },
60
- "_vendor-shiki-CevgDqNV.js": {
61
- "file": "assets/vendor-shiki-CevgDqNV.js",
60
+ "_vendor-shiki-dzrzjP7E.js": {
61
+ "file": "assets/vendor-shiki-dzrzjP7E.js",
62
62
  "name": "vendor-shiki",
63
63
  "imports": [
64
- "_vendor-CwOvppSU.js"
64
+ "_vendor-BT2CVKel.js"
65
65
  ]
66
66
  },
67
- "_vendor-three-C-AGeJYv.js": {
68
- "file": "assets/vendor-three-C-AGeJYv.js",
67
+ "_vendor-three-C5WAXd5r.js": {
68
+ "file": "assets/vendor-three-C5WAXd5r.js",
69
69
  "name": "vendor-three"
70
70
  },
71
71
  "index.tsx": {
72
- "file": "assets/index-CLClYeDh.js",
72
+ "file": "assets/index-BZg1KoYU.js",
73
73
  "name": "index",
74
74
  "src": "index.tsx",
75
75
  "isEntry": true,
76
76
  "imports": [
77
- "_vendor-CwOvppSU.js",
78
- "_vendor-arizeai-bw-hz0cw.js",
79
- "_pages-BnuKGq5F.js",
80
- "_components-DvgP87AK.js",
81
- "_vendor-three-C-AGeJYv.js",
82
- "_vendor-codemirror-Du5cjwoZ.js",
83
- "_vendor-shiki-CevgDqNV.js",
84
- "_vendor-recharts-BMT-13Pz.js"
77
+ "_vendor-BT2CVKel.js",
78
+ "_vendor-arizeai-Dzsaenki.js",
79
+ "_pages-BsPyKRtU.js",
80
+ "_components-E6p--qL4.js",
81
+ "_vendor-three-C5WAXd5r.js",
82
+ "_vendor-codemirror-D2R3PB3i.js",
83
+ "_vendor-shiki-dzrzjP7E.js",
84
+ "_vendor-recharts-DetvdWCF.js"
85
85
  ]
86
86
  }
87
87
  }