Use Example Inferences
Quickly explore Phoenix with concrete examples
Phoenix ships with a collection of examples so you can quickly try out the app on concrete use-cases. This guide shows you how to download, inspect, and launch the app with example inferences.
View Available Inferences
To see a list of inferences available for download, run
This displays the docstring for the phoenix.load_example
function, which contain a list of inferences available for download.
Download Your Inference set of Choice
Choose the name of an inference set to download and pass it as an argument to phoenix.load_example
. For example, run the following to download production and training data for our demo sentiment classification model:
px.load_example
returns your downloaded data in the form of an ExampleInferences
instance. After running the code above, you should see the following in your cell output.
Inspect Your Inferences
Next, inspect the name, dataframe, and schema that define your primary inferences. First, run
to see the name of the inferences in your cell output:
Next, run
to see your inferences' schema in the cell output:
Last, run
to get an overview of your inferences's underlying dataframe:
Launch the App
Launch Phoenix with
Follow the instructions in the cell output to open the Phoenix UI in your notebook or in a separate browser tab.
View Available Traces
Phoenix supports LLM application Traces and has examples that you can take a look at as well.\
Last updated