Awesome
<p align="center"> <a target="_blank" href="https://phoenix.arize.com" style="background:none"> <img alt="phoenix banner" src="https://github.com/Arize-ai/phoenix-assets/blob/main/images/socal/github-large-banner-phoenix.jpg?raw=true" width="auto" height="auto"></img> </a> <br/> <br/> <a href="https://docs.arize.com/phoenix/"> <img src="https://img.shields.io/static/v1?message=Docs&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAG4ElEQVR4nO2d4XHjNhCFcTf+b3ZgdWCmgmMqOKUC0xXYrsBOBVEqsFRB7ApCVRCygrMriFQBM7h5mNlwKBECARLg7jeDscamSQj7sFgsQfBL27ZK4MtXsT1vRADMEQEwRwTAHBEAc0QAzBEBMEcEwBwRAHNEAMwRATBnjAByFGE+MqVUMcYOY24GVUqpb/h8VErVKAf87QNFcEcbd4WSw+D6803njHscO5sATmGEURGBiCj6yUlv1uX2gv91FsDViArbcA2RUKF8QhAV8RQc0b15DcOt0VaTE1oAfWj3dYdCBfGGsmSM0XX5HsP3nEMAXbqCeCdiOERQPx9og5exGJ0S4zRQN9KrUupfpdQWjZciure/YIj7K0bjqwTyAHdovA805iqCOg2xgnB1nZ97IvaoSCURdIPG/IHGjTH/YAz/A8KdJai7lBQzgbpx/0Hg6DT18UzWMXxSjMkDrElPNEmKfAbl6znwI3IMU/OCa0/1nfckwWaSbvWYYDnEsvCMJDNckhqu7GCMKWYOBXp9yPGd5kvqUAKf6rkAk7M2SY9QDXdEr9wEOr9x96EiejMFnixBNteDISsyNw7hHRqc22evWcP4vt39O85bzZH30AKg4+eo8cQRI4bHAJ7hyYM3CNHrG9RrimSXuZmUkZjN/O6nAPpcwCcJNmipAle2QM/1GU3vITCXhvY91u9geN/jOY27VuTnYL1PCeAcRhwh7/Bl8Ai+IuxPiOCShtfX/sPDtY8w+sZjby86dw6dBeoigD7obd/Ko6fI4BF8DA9HnGdrcU0fLt+n4dfE6H5jpjYcVdu2L23b5lpjHoo+18FDbcszddF1rUee/4C6ZiO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j1whNE3c/X2PmISAGUNr7CEmUSUhjfEKgBDAY+QohCiNrwhdgEYzPv7UxkadvBg0RrekMrNoAozh3vLN4DPhc7S/WL52vkoSO1u4BZC+DOCulC0KJ/gqWaP7C8hlSGgjxyCmDuPsEePT/KuasrrAcyr4H+f6fq01yd7Sz1lD0CZ2hs06PVJufs+lrIiyLwufjfBtXYpjvWnWIoHoJSYe4dIK/t4HX1ULFEACkPCm8e8wXFJvZ6y1EWhJkDcWxw7RINzLc74auGrgg8e4oIm9Sh/CA7LwkvHqaIJ9pLI6Lmy1BigDy2EV8tjdzh+8XB6MGSLKH4INsZXDJ8MGhIBK+Mrpo+GnRIBO+MrZjFAFxoTNBwCvj6u4qvSZJiM3iNX4yvmHoA9Sh4PF0QAzBEBMEcEwBwRAHNEAMwRAXBGKfUfr5hKvglRfO4AAAAASUVORK5CYII=&labelColor=grey&color=blue&logoColor=white&label=%20"/> </a> <a target="_blank" href="https://arize-ai.slack.com/join/shared_invite/zt-11t1vbu4x-xkBIHmOREQnYnYDH1GDfCg?__hstc=259489365.a667dfafcfa0169c8aee4178d115dc81.1733501603539.1733501603539.1733501603539.1&__hssc=259489365.1.1733501603539&__hsfp=3822854628&submissionGuid=381a0676-8f38-437b-96f2-fc10875658df#/shared-invite/email"> <img src="https://img.shields.io/static/v1?message=Community&logo=slack&labelColor=grey&color=blue&logoColor=white&label=%20"/> </a> <a target="_blank" href="https://twitter.com/ArizePhoenix"> <img src="https://img.shields.io/badge/-ArizePhoenix-blue.svg?color=blue&labelColor=gray&logo=x"> </a> <a target="_blank" href="https://pypi.org/project/arize-phoenix/"> <img src="https://img.shields.io/pypi/v/arize-phoenix?color=blue"> </a> <a target="_blank" href="https://anaconda.org/conda-forge/arize-phoenix"> <img src="https://img.shields.io/conda/vn/conda-forge/arize-phoenix.svg?color=blue"> </a> <a target="_blank" href="https://pypi.org/project/arize-phoenix/"> <img src="https://img.shields.io/pypi/pyversions/arize-phoenix"> </a> <a target="_blank" href="https://hub.docker.com/r/arizephoenix/phoenix/tags"> <img src="https://img.shields.io/docker/v/arizephoenix/phoenix?sort=semver&logo=docker&label=image&color=blue"> </a> </p>Phoenix is an open-source AI observability platform designed for experimentation, evaluation, and troubleshooting. It provides:
- Tracing - Trace your LLM application's runtime using OpenTelemetry-based instrumentation.
- Evaluation - Leverage LLMs to benchmark your application's performance using response and retrieval evals.
- Datasets - Create versioned datasets of examples for experimentation, evaluation, and fine-tuning.
- Experiments - Track and evaluate changes to prompts, LLMs, and retrieval.
Phoenix is vendor and language agnostic with out-of-the-box support for popular frameworks (π¦LlamaIndex, π¦βLangChain, Haystack, π§©DSPy) and LLM providers (OpenAI, Bedrock, MistralAI, VertexAI, LiteLLM, and more). For details on auto-instrumentation, check out the OpenInference project.
Phoenix runs practically anywhere, including your Jupyter notebook, local machine, containerized deployment, or in the cloud.
<img alt="phoenix_overview.gif" width="100%" src="https://github.com/Arize-ai/phoenix-assets/blob/main/gifs/phoenix_overview.gif?raw=true">Installation
Install Phoenix via pip
or conda
pip install arize-phoenix
Phoenix container images are available via Docker Hub and can be deployed using Docker or Kubernetes.
Features
Key Features | Availability |
---|---|
Tracing | β |
Evaluation | β |
Retrieval (RAG) Analysis | β |
Datasets | β |
Fine-Tuning Export | β |
Annotations | β |
Human Feedback | β |
Experiments | β |
Embeddings Analysis | β |
Data Export | β |
REST API | β |
GraphQL API | β |
Data Retention | Customizable |
Authentication | β |
Social Login | β |
RBAC | β |
Projects | β |
Self-Hosting | β |
Jupyter Notebooks | β |
Prompt Playground | β |
Sessions | β |
Prompt Management | Coming soon β±οΈ |
Tracing Integrations
Phoenix is built on top of OpenTelemetry and is vendor, language, and framework agnostic.
Python
Integration | Package | Version Badge |
---|---|---|
OpenAI | openinference-instrumentation-openai | |
LlamaIndex | openinference-instrumentation-llama-index | |
DSPy | openinference-instrumentation-dspy | |
AWS Bedrock | openinference-instrumentation-bedrock | |
LangChain | openinference-instrumentation-langchain | |
MistralAI | openinference-instrumentation-mistralai | |
Guardrails | openinference-instrumentation-guardrails | |
VertexAI | openinference-instrumentation-vertexai | |
CrewAI | openinference-instrumentation-crewai | |
Haystack | openinference-instrumentation-haystack | |
LiteLLM | openinference-instrumentation-litellm | |
Groq | openinference-instrumentation-groq | |
Instructor | openinference-instrumentation-instructor | |
Anthropic | openinference-instrumentation-anthropic |
JavaScript
Integration | Package | Version Badge |
---|---|---|
OpenAI | @arizeai/openinference-instrumentation-openai | |
LangChain.js | @arizeai/openinference-instrumentation-langchain | |
Vercel AI SDK | @arizeai/openinference-vercel |
For details about tracing integrations and example applications, see the OpenInference project.
Community
Join our community to connect with thousands of AI builders.
- π Join our Slack community.
- π Read our documentation.
- π‘ Ask questions and provide feedback in the #phoenix-support channel.
- π Leave a star on our GitHub.
- π Report bugs with GitHub Issues.
- π Follow us on π.
- πΊοΈ Check out our roadmap to see where we're heading next.
Breaking Changes
See the migration guide for a list of breaking changes.
Copyright, Patent, and License
Copyright 2024 Arize AI, Inc. All Rights Reserved.
Portions of this code are patent protected by one or more U.S. Patents. See IP_NOTICE.
This software is licensed under the terms of the Elastic License 2.0 (ELv2). See LICENSE.