arize-phoenix-client
Phoenix Client is a lightweight package for interacting with the Phoenix server.
The Python client is currently a work in progress. Please refer to the status below for the latest updates.
Features
API - Interact with Phoenix's OpenAPI REST interface
Prompt Management - Pull / push / and invoke prompts stored in Phoenix
Installation
Install via pip
.
Usage
Authentication (if applicable)
Phoenix API key can be an environment variable...
...or passed directly to the client.
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...
...or passed directly to the client.
Prompt Management
With the Phoenix client, you can push and pull prompts to and from your Phoenix server.
The client can retrieve a prompt by its name.
The prompt can be used to generate completions.
To learn more about prompt engineering using Phenix, see the Phoenix documentation.
Last updated
Was this helpful?