arize
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "arize":https://skillpi.com/zh/skills/deepskill-0324245a8e80dbd9217db283cf663ed118cb991574fe3860923cb5e07dafc89f。安装前核对上游来源和版本:https://github.com/TerminalSkills/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
担任 Arize 与开源 Phoenix 库的 AI 可观测性专家 — 帮助开发者通过追踪、评估、嵌入分析、漂移检测和检索质量指标来监控 LLM 应用。在本地开发中使用 Phoenix(开源、自托管),在生产环境中使用 Arize 平台进行大规模监控。
介绍来源: third_party · TerminalSkills · 1.0.0 参考来源
SkillPi 解读
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: arize
description: >-
You are an expert in Arize and its open-source Phoenix library for AI
observability. You help developers monitor LLM applications with tracing,
evaluation, embedding analysis, drift detection, and retrieval quality
metrics — using Phoenix for local development (open-source, self-hosted) and
Arize platform for production monitoring at scale.
license: Apache-2.0
compatibility: ''
metadata:
author: terminal-skills
version: 1.0.0
category: AI & Machine Learning
tags:
- observability
- monitoring
- evaluation
- llm
- phoenix
- ml-ops
- tracingArize (Phoenix) — AI Observability Platform
You are an expert in Arize and its open-source Phoenix library for AI observability. You help developers monitor LLM applications with tracing, evaluation, embedding analysis, drift detection, and retrieval quality metrics — using Phoenix for local development (open-source, self-hosted) and Arize platform for production monitoring at scale.
Core Capabilities
Phoenix Local Setup
import phoenix as px
from phoenix.otel import register
# Launch Phoenix locally (browser UI on localhost:6006)
px.launch_app()
# Register as OpenTelemetry trace provider
tracer_provider = register(project_name="my-llm-app")
# Auto-instrument OpenAI
from openinference.instrumentation.openai import OpenAIInstrumentor
OpenAIInstrumentor().instrument(tracer_provider=tracer_provider)
# Now all OpenAI calls are traced
import openai
client = openai.OpenAI()
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Explain CRDT to a junior dev"}],
)
# Open localhost:6006 — see traces, latency, tokens, cost
RAG Evaluation
from phoenix.evals import (
HallucinationEvaluator,
QAEvaluator,
RelevanceEvaluator,
run_evals,
)
from phoenix.evals.models import OpenAIModel
eval_model = OpenAIModel(model="gpt-4o")
# Evaluate RAG quality on your traces
hallucination_eval = HallucinationEvaluator(eval_model)
qa_eval = QAEvaluator(eval_model)
relevance_eval = RelevanceEvaluator(eval_model)
# Pull traces from Phoenix
traces_df = px.Client().get_spans_dataframe(
filter_condition="span_kind == 'LLM'",
)
# Run evaluations
results = run_evals(
dataframe=traces_df,
evaluators=[hallucination_eval, qa_eval, relevance_eval],
provide_explanation=True,
)
# Results: per-trace hallucination scores, QA accuracy, retrieval relevance
# All visible in Phoenix UI with explanations
Embedding Analysis
import phoenix as px
import pandas as pd
# Analyze embedding drift and clustering
embeddings_df = pd.DataFrame({
"text": documents,
"embedding": embeddings, # numpy arrays
"category": categories,
})
# Launch with embedding visualization
session = px.launch_app(
primary=px.Inferences(embeddings_df, schema=px.Schema(
embedding=px.EmbeddingColumnNames(
vector_column_name="embedding",
raw_data_column_name="text",
),
tag_column_names=["category"],
)),
)
# UMAP visualization in browser — see clusters, outliers, drift
Production Monitoring (Arize Platform)
from arize.pandas.logger import Client
from arize.utils.types import ModelTypes, Environments
arize_client = Client(
space_key=os.environ["ARIZE_SPACE_KEY"],
api_key=os.environ["ARIZE_API_KEY"],
)
# Log predictions for monitoring
arize_client.log(
dataframe=predictions_df,
model_id="support-chatbot-v2",
model_version="2.1.0",
model_type=ModelTypes.GENERATIVE_LLM,
environment=Environments.PRODUCTION,
schema=arize_schema,
)
# Arize platform: drift detection, performance dashboards, alerting
Installation
pip install arize-phoenix # Open-source local
pip install arize # Arize platform client
pip install openinference-instrumentation-openai # Auto-instrumentation
Best Practices
- Phoenix for dev — Run locally with
px.launch_app(); free, open-source, no data leaves your machine - Auto-instrumentation — Use OpenInference instrumentors for OpenAI, LangChain, LlamaIndex; zero code changes
- RAG evaluations — Run hallucination + relevance + QA evals on production traces; catch quality regressions
- Embedding viz — Use UMAP visualization to find clusters, outliers, and distribution drift in your data
- OpenTelemetry native — Phoenix is an OTLP collector; integrates with existing observability stacks
- Arize for production — Scale to millions of traces; automated drift detection and alerting
- LLM-as-judge — Built-in evaluators use GPT-4 to score hallucination, relevance; provide explanations
- Trace filtering — Filter by span kind, model, latency, error; drill into problematic traces
当前收录版本
1.0.0
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 针对AI可观测性这一明确且重要的开发需求,提供端到端解决方案
- 覆盖本地开发到生产监控,实用性强
- 包含具体代码示例和最佳实践
亮点
- 触发词精准完整,覆盖多种变体
- 边界清晰,易于理解
亮点
- Phase/步骤清晰,有出口条件
- 含端到端示例,frontmatter完整
- 单文件≤500行
亮点
- 工具来源明确,参数正确
- 覆盖主要异常,不可逆操作有确认机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 143, 144, 145 行 -
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 125 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。