phoenix-cli

Fetch traces, inspect spans, and review experiments via the Phoenix CLI.

11.0k|1.0k|Updated Nov 9, 2022
One-click install
npx skills add https://github.com/Arize-ai/phoenix --skill phoenix-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phoenix-cli
Source: https://github.com/Arize-ai/phoenix/tree/main/skills/phoenix-cli
Command: npx skills add https://github.com/Arize-ai/phoenix --skill phoenix-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Phoenix CLI enables debugging and diagnostics of LLM-powered applications by fetching traces, inspecting spans, and reviewing experiments and datasets.

Core Features & Use Cases

  • Trace exploration: Retrieve traces and inspect spans to identify failure points and latency bottlenecks.
  • Error diagnosis: Analyze trace details to pinpoint origins of issues in LLM interactions.
  • Experiment & dataset insights: Review experiments and datasets to validate performance and reproducibility.

Quick Start

Install the Phoenix CLI globally and start debugging:

  • npm install -g @arizeai/phoenix-cli
  • px traces --limit 10

Frequently Asked Questions about phoenix-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug LLM applications using traces and spans?

To debug LLM applications, you can fetch traces and inspect spans to identify failure points and latency bottlenecks in your interactions. The Phoenix CLI retrieves this data to provide quick insights during debugging sessions.

What is the best way to retrieve traces from an LLM project?

The best way to retrieve traces from an LLM project is by connecting the Phoenix CLI to your hosted project and executing commands like 'px traces' with configurable limits to fetch the specific trace data needed.

Can I review experiments and datasets for LLM performance validation?

Yes, you can review experiments and datasets for LLM performance validation. The CLI fetches experiment results and dataset configurations to validate performance and ensure reproducibility across development environments.

How do I connect the Phoenix CLI to a hosted project?

You connect the Phoenix CLI to a hosted project by installing it globally via npm and running commands that target your Phoenix-hosted project, allowing you to retrieve traces, datasets, and experiment results directly.

Does the Phoenix CLI support configurable limits for trace retrieval?

Yes, the Phoenix CLI supports configurable limits for trace retrieval. You can execute commands with specific limit parameters, such as 'px traces --limit 10', to control the volume of data fetched during observability reviews.

Why do I need observability for LLM-powered applications?

You need observability for LLM-powered applications to diagnose errors and pinpoint the origins of issues in interactions. Fetching trace details allows software engineers to investigate latency bottlenecks and failure points across environments.