Features
- Phoenix Client - Lightweight client for interacting with the Phoenix server via its OpenAPI REST interface
- Datasets - Create and manage datasets for experimentation
- Experiments - Run experiments and evaluate model performance
- Prompts - Manage prompt templates and versions
- Spans - Access and analyze traces and spans
- Annotations - Add annotations, evals, and feedback to spans
- Sessions - Add session annotations to multi-turn conversations and threads
- Projects - Organize your work with project management
- Phoenix Evals - Tooling to evaluate LLM applications including RAG relevance, answer relevance, and more
- Phoenix OTEL - Provides a lightweight wrapper around OpenTelemetry primitives with Phoenix-aware defaults
Installation
Install viapip.
Usage
Authentication (if applicable)
Phoenix API key can be an environment variable…Custom Headers
By default, the Phoenix client will use the bearer authentication scheme in the HTTP headers, but if you need different headers, e.g. for Phoenix Cloud, they can also be customized via an environment variable…Prompt Management
With the Phoenix client, you can push and pull prompts to and from your Phoenix server.Project Management
The Phoenix client provides synchronous and asynchronous interfaces for interacting with Phoenix Projects.Key Features
- Get a project by ID or name
- List all projects
- Create a new project with optional description
- Update a project’s description (note: names cannot be changed)
- Delete a project by ID or name

