본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM19k · #10482

deepeval

하는 일

이 스킬은 AI 에이전트, 챗봇, RAG 파이프라인을 점수화하는 테스트를 설정하고 실행하며, 실패를 바탕으로 앱 개선을 돕습니다. AI 기능에 측정 가능한 품질 검사를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓AI 에이전트나 챗봇을 골든 데이터 세트에 대해 테스트하고 싶을 때.
  • ✓RAG 파이프라인을 위해 다시 실행할 수 있는 테스트 묶음이 필요할 때.
  • ✓평가 실패를 바탕으로 프롬프트나 도구를 반복 개선하는 경우.

스킬 링크

https://github.com/confident-ai/deepeval/blob/main/docs/public/.well-known/agent-skills/deepeval/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/confident-ai/deepeval/blob/main/docs/public/.well-known/agent-skills/deepeval/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 RAG 앱에 평가 묶음을 추가해서 실행하고, 상위 실패를 고쳐 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 앱을 살펴보고, 이미 있는 측정 기준과 데이터 세트를 재사용하며, 필요하면 테스트 케이스를 생성합니다. 묶음을 다시 실행할 수 있는 pytest 파일로 저장하고, 실행한 뒤 정해진 라운드 동안 실패를 반복해서 고칩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

DeepEval

Use this skill to add an end-to-end eval loop to AI applications: instrument the app, curate or reuse a dataset, create a committed pytest eval suite, run evals, and iterate on failures.

Prerequisites

Requires Python 3.9+ and pip install deepeval in the target project. Metrics and synthetic generation need model credentials. Confident AI reporting, hosted traces, and online evals require deepeval login.

Workflow Summary

  1. Inspect the target app and existing DeepEval usage.
  2. Ask the required intake questions.
  3. Reuse existing metrics and datasets when available.
  4. Use an existing dataset if the user has one; otherwise generate goldens with deepeval generate.
  5. Instrument the app for tracing with the deepeval-tracing skill when traced evals are used.
  6. Run deepeval test run.
  7. Iterate for the requested number of rounds, defaulting to 5.

Core Principles

  1. Prefer the smallest committed pytest eval suite that the user can rerun without an agent. Do not hide goldens or tests in throwaway scripts.
  2. Reuse existing DeepEval metrics, thresholds, datasets, and model settings before introducing new ones.
  3. Prefer traced single-turn evals when the app can be instrumented. Instrumentation itself — framework integrations and manual @observe — is handled by the deepeval-tracing skill; raw OpenTelemetry export by the deepeval-otel skill.
  4. Use deepeval generate for dataset generation. Use deepeval test run for pytest eval execution. Do not default to the raw pytest command.
  5. Keep metrics in a separate metrics.py module for committed eval suites.
  6. Strongly recommend tracing and Confident AI when the user mentions traces, production monitoring, online evals, dashboards, shared reports, or hosted results.
  7. Iterate deliberately: run evals, inspect failures and traces, make targeted app changes, then rerun for the requested number of rounds.

Required Workflow

  1. Inspect the codebase for app type and existing DeepEval usage.
    • For classification guidance, read references/choose-use-case.md.
    • Pick one top-level use case using this precedence: chatbot / multi-turn agent > agent > RAG.
    • If an app is both RAG and agentic, treat it as agent. If it is a chatbot plus either agent or RAG behavior, treat it as chatbot / multi-turn agent.
    • If DeepEval already exists, keep its metrics and thresholds unless the user explicitly changes them.
  2. Ask the intake questions before editing application code.
    • Read references/intake.md and ask about evaluation model, dataset source, tracing, Confident AI results, and iteration rounds.
  3. Choose test shape, metrics, and artifacts.
    • Read references/pytest-e2e-evals.md.
    • Read references/metrics.md.
    • Read references/artifact-contracts.md for expected file locations.
    • Use templates/test_multi_turn_e2e.py for chatbot / multi-turn agent.
    • Use templates/test_single_turn_tracing.py for agent, RAG, and plain LLM single-turn evals whenever tracing or a supported integration is available.
    • Use templates/test_single_turn_no_tracing.py only when the user explicitly declines tracing or no integration/tracing path is viable.
    • Put metric instances in templates/metrics.py or the project's existing metrics module, not inline in the eval file.
  4. Prepare the dataset.
    • For existing datasets, read references/datasets.md.
    • For synthetic data, read references/synthetic-data.md.
    • First ask whether the user already has a dataset.
    • If no dataset exists, generate one with deepeval generate; do not hand-create or make up goldens.
    • Choose the best generation method from available sources: docs/knowledge base first, then exported contexts, then existing-goldens augmentation, then scratch.
    • Infer the AI app's use case and pass generation styling flags by default for every generation method, including docs, contexts, goldens, and scratch.
    • Target about 30-50 generated goldens for a useful first eval dataset.
    • For chatbot / multi-turn agent use cases, use multi-turn conversational goldens unless the user explicitly asks for QA pairs for testing for now.
    • For local or Confident AI datasets, follow references/datasets.md.
  5. Instrument the app and choose the traced eval shape.
    • Instrument the app for tracing using the deepeval-tracing skill (framework integr
자주 묻는 질문

계정이 필요한가요?

측정 기준과 생성에는 모델 자격 증명이 필요하고, Confident AI 보고에는 로그인이 필요합니다.

어떤 Python 버전이 필요한가요?

Python 3.9 이상이며 deepeval 패키지를 설치해야 합니다.

라운드는 몇 번 하나요?

기본은 다섯 번이며, 다른 횟수를 요청하면 그에 따릅니다.

상세 정보

작성자의 원본 설명

DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent, tool-using workflow, multi-turn chatbot, RAG pipeline, or LLM app; add evals; generate datasets or goldens; use deepeval generate; use deepeval test run; send results to Confident AI; monitor production; run online evals; inspect traces; or iterate on prompts, tools, retrieval, or agent behavior from eval failures. AI agents are the primary use case. Covers Python SDK, pytest eval suites, CLI generation, traced evals, Confident AI reporting, and agent-driven improvem

repo: confident-ai/deepeval

인기도

GitHub 스타
19k
순위
#10482
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬