Hosted Phoenix

We now offer a hosted version of Phoenix to make it easier for developers to use Phoenix to trace their LLM applications and avoid setting up infrastructure.

Example Notebooks:

The main differences for Hosted Phoenix:

Hosted Phoenix runs the latest version of our open source package and gates access to your data behind API keys and user authentication.

We also use 3rd party analytics tools to measure usage of our application to improve our services.

How to create an account

Click signup on phoenix.arize.com. We offer logins via Google, Github, and email. This account will use the same account credentials as your Arize account if you have one.

Tracing: How to send in your first trace

Get your API keys from your Phoenix application on the left hand side.

Here's the full sample code to trace a LlamaIndex and OpenAI application. Using a different framework? Hosted Phoenix works with all of our automatic tracing options as well.

Install the following libraries

!pip install arize-phoenix "openai>=1" "openinference-instrumentation-llama-index>=2.0.0"

Use the following python code to start instrumentation.

# setup Arize Phoenix for logging/observability
import os
from openinference.instrumentation.llama_index import LlamaIndexInstrumentor
from phoenix.otel import register

os.environ["PHOENIX_CLIENT_HEADERS"] = f"api_key=YOUR PHOENIX API KEY"
os.environ["PHOENIX_COLLECTOR_ENDPOINT"] = "https://app.phoenix.arize.com"

# Configuration is picked up from your environment variables
tracer_provider = register()

# Instrument LlamaIndex. This allows Phoenix to collect traces from LlamaIndex queries.
LlamaIndexInstrumentor().instrument(tracer_provider=tracer_provider, skip_dep_check=True)

Using the Client SDK (downloading data & uploading datasets)

Once you collect trace data from the above configuration, you can access the data using the client SDK. You can also upload datasets for experiments using the client SDK.

You'll need to add the following environment variable to authenticate to hosted Phoenix.

os.environ["PHOENIX_CLIENT_HEADERS"] = "api_key=..."
os.environ["PHOENIX_CLIENT_HEADERS"] = f"api_key=..."
os.environ["PHOENIX_COLLECTOR_ENDPOINT"] = "https://app.phoenix.arize.com"

import phoenix as px

px_client = px.Client()
phoenix_df = px_client.get_spans_dataframe()

FAQ

Will hosted Phoenix be on the latest version of Phoenix?

On account creation, we will always use the latest version of Phoenix. We try to keep all instances of hosted Phoenix up to date and run upgrades for them when new versions are available. There will be a few minutes of downtime during these periods.

Data retention

We have a 30 day data retention policy. We are working on plans to offer a longer data retention period.

Sharing

Currently accounts are setup to be used specifically for one developer. We will be adding ways to share your traces with other developers on your team shortly!

Pricing

Hosted Phoenix is free for all developers. We will add a paid tier in the future which increases your data retention and also give you access to more storage.

Last updated