deepeval
यह क्या करती है
यह स्किल ऐसे टेस्ट सेट करती है जो AI एजेंट, चैटबॉट या RAG पाइपलाइन को अंक दें, फिर उन्हें चलाती है और विफलताओं के आधार पर ऐप सुधारने में मदद करती है। यह उन डेवलपरों के लिए है जो अपनी AI सुविधाओं की मापी जा सकने वाली गुणवत्ता जाँच चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप किसी AI एजेंट या चैटबॉट को golden सेट के खिलाफ़ परखना चाहते हों।
- ✓जब आपको RAG पाइपलाइन के लिए दोबारा चलने योग्य टेस्ट सूट चाहिए।
- ✓जब आप eval विफलताओं के आधार पर prompts या tools में सुधार करना चाहते हों।
Skill का लिंक
https://github.com/confident-ai/deepeval/blob/main/docs/public/.well-known/agent-skills/deepeval/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे RAG ऐप के लिए एक evaluation सूट जोड़िए और उसे चलाइए, फिर सबसे बड़ी विफलताएँ ठीक कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल ऐप की जाँच करती है, पहले से मौजूद metrics और datasets दोबारा इस्तेमाल करती है, और ज़रूरत पड़ने पर टेस्ट केस बनाती है। सूट को दोबारा चलने योग्य 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
- Inspect the target app and existing DeepEval usage.
- Ask the required intake questions.
- Reuse existing metrics and datasets when available.
- Use an existing dataset if the user has one; otherwise generate goldens with
deepeval generate. - Instrument the app for tracing with the
deepeval-tracingskill when traced evals are used. - Run
deepeval test run. - Iterate for the requested number of rounds, defaulting to 5.
Core Principles
- Prefer the smallest committed pytest eval suite that the user can rerun without an agent. Do not hide goldens or tests in throwaway scripts.
- Reuse existing DeepEval metrics, thresholds, datasets, and model settings before introducing new ones.
- Prefer traced single-turn evals when the app can be instrumented.
Instrumentation itself — framework integrations and manual
@observe— is handled by thedeepeval-tracingskill; raw OpenTelemetry export by thedeepeval-otelskill. - Use
deepeval generatefor dataset generation. Usedeepeval test runfor pytest eval execution. Do not default to the rawpytestcommand. - Keep metrics in a separate
metrics.pymodule for committed eval suites. - Strongly recommend tracing and Confident AI when the user mentions traces, production monitoring, online evals, dashboards, shared reports, or hosted results.
- Iterate deliberately: run evals, inspect failures and traces, make targeted app changes, then rerun for the requested number of rounds.
Required Workflow
- 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.
- For classification guidance, read
- Ask the intake questions before editing application code.
- Read
references/intake.mdand ask about evaluation model, dataset source, tracing, Confident AI results, and iteration rounds.
- Read
- Choose test shape, metrics, and artifacts.
- Read
references/pytest-e2e-evals.md. - Read
references/metrics.md. - Read
references/artifact-contracts.mdfor expected file locations. - Use
templates/test_multi_turn_e2e.pyfor chatbot / multi-turn agent. - Use
templates/test_single_turn_tracing.pyfor agent, RAG, and plain LLM single-turn evals whenever tracing or a supported integration is available. - Use
templates/test_single_turn_no_tracing.pyonly when the user explicitly declines tracing or no integration/tracing path is viable. - Put metric instances in
templates/metrics.pyor the project's existing metrics module, not inline in the eval file.
- Read
- 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.
- For existing datasets, read
- Instrument the app and choose the traced eval shape.
- Instrument the app for tracing using the
deepeval-tracingskill (framework integr
- Instrument the app for tracing using the
अक्सर पूछे जाने वाले सवाल
क्या मुझे खाता चाहिए?
Metrics और निर्माण के लिए model credentials चाहिए, और Confident AI रिपोर्टिंग के लिए लॉगिन।
कौन-सा Python version चाहिए?
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
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
deepeval-otel
19kआपके एजेंट को किसी AI ऐप, जैसे एजेंट या RAG पाइपलाइन, से OpenTelemetry traces Confident AI Observatory dashboard पर भेजने में मदद करती है।
deepeval-tracing
19kआपके एजेंट को किसी AI ऐप में DeepEval tracing जोड़ने में मदद करती है, ताकि हर model call, retrieval चरण और tool use Confident AI में दिखे।
मिलती-जुलती skills
writing-skills
311kयह आपके एजेंट को नई स्किल लिखना और हर एक को पहले टेस्ट करना सिखाती है, यह जांचते हुए कि स्किल सच में उसका व्यवहार बदलती है।
writing-for-agents
310kAI एजेंट्स के लिए साफ़ निर्देश कैसे लिखें, यह समझाती है, जिसमें स्किल, AGENTS.md और CLAUDE.md फ़ाइलें शामिल हैं, ताकि एजेंट अनुमानित ढंग से व्यवहार करे।
bengali-nlp
280kयह आपके एजेंट को Bengali text प्रोसेस करने देता है। यह भाषा को समझने और उसके text को normalize करने जैसी उसकी खास बातों को संभालने में मदद करता है।