# Phoenix et Nvidia Agent : Suivi de flux de travail

Arize Phoenix: Monitoring and Debugging AI Workflows

Arize Phoenix is a powerful tool designed to help developers monitor and debug their AI workflows. This guide walks you through the process of installing and using Phoenix,utilizing a simple calculator example to demonstrate its capabilities. With Phoenix, you can visualize crucial metrics like traces, latency, and token usage, gaining valuable insights into your AI applications. Effective monitoring is key to maintaining robust AI systems, and Phoenix provides the necessary tools for success. for detailed documentation and support, refer to the official Arize Phoenix resources.

PARIS – February 29, 2024 – Arize Phoenix simplifies the complex task of observing AI workflows, offering a user-kind interface for analyzing performance and identifying potential issues. The platform allows developers to track telemetry data,inspect traces,and pinpoint bottlenecks,ultimately leading to more reliable and efficient AI applications. This guide provides a complete overview of how to get started with Arize Phoenix and leverage its features for optimal AI workflow management.

Okay, here’s a breakdown of the provided documentation, summarizing the steps to get started with Arize Phoenix for observing your AI workflows.

Overall Goal:

the documentation guides you through setting up and using Arize Phoenix to monitor and debug your AI workflows, specifically using a “simplecalculator” example. Phoenix allows you to visualize traces, latency, token usage, and other key metrics.

Steps:

  1. Install Arize Phoenix:

– use uv pip install arize-phoenix to install the necessary package.

  1. Start the Phoenix Server:

– Run the command to start the local Phoenix server.
– Access the Phoenix UI in your browser at http://0.0.0.0:6006.

  1. Run Your Workflow:

– Navigate to the root directory of the AIQ toolkit library.
– Install the dependencies for your workflow (example: uv pip install -e examples/simple
calculator).
– As your workflow runs, telemetry data will be sent to Phoenix and displayed in the console.

  1. View Traces Data in Phoenix:

– Open your browser and go to http://0.0.0.0:6006.
– Find your workflow traces under the “Traces” section within the projects.
– Inspect the details of each trace, including function execution details, latency, total tokens, request times, and other attributes.

Debugging:

  • If you encounter issues with the Phoenix package,try uninstalling and reinstalling it:
bash
  uv pip uninstall arize-phoenix
  uv pip install arize-phoenix
  
  • After reinstalling,restart the Phoenix server.
  • For more detailed documentation, refer to the Arize-phoenix documentation.

Key Concepts:

Telemetry: Data collected during the execution of your AI workflow (latency, token usage, etc.).
Traces: Represent a single execution of your workflow, containing all the associated telemetry data. phoenix UI: The web interface at http://0.0.0.0:6006 where you visualize and analyze your traces.
Workflow: The AI process you are monitoring (in this case, a simple calculator example).In essence, this documentation provides a quickstart guide to get you up and running with Arize Phoenix for monitoring and debugging your AI applications. It emphasizes the ease of installation, running a local server, and visualizing the data collected from your workflows.

À ne pas manquer

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.