creating-online-evaluations
यह क्या करती है
यह स्किल लगातार चलने वाले मूल्यांकन बनाती है, जो नए AI जवाबों या पूरी बातचीत को अपने-आप स्कोर करते हैं। यह उन टीमों के लिए है जो हर जवाब खुद पढ़े बिना अपने AI फ़ीचर की खास समस्याएँ पकड़ना चाहती हैं।
कब इस्तेमाल करें
- ✓जब आप चाहें कि उत्पादन में देखी गई किसी समस्या को पकड़ने वाली स्वचालित जाँच हो।
- ✓जब आप समय के साथ यह जाँचते रहना चाहें कि AI जवाब कोई नियम पूरा करते हैं।
- ✓जब आपके पास विफलता के पैटर्न की सूची हो और हर पैटर्न को मॉनिटर होने वाली जाँच में बदलना हो।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/creating-online-evaluations/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक स्वचालित जाँच सेट कीजिए, जो उन AI जवाबों को चिह्नित करे जो उपयोगकर्ता के सवाल को अनदेखा करते हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI पहले आपके डेटा की असली विफलताओं के आधार पर जाँचों की एक छोटी सूची सुझाता है और आपके चुनने का इंतज़ार करता है। फिर वह चुनी गई हर मूल्यांकन को मेल खाते जवाबों तक सीमित करके बनाता है, ताकि उसे बंद किए जाने तक नए जवाब स्कोर होते रहें।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Creating online evaluations
An online evaluation automatically scores either each matching $ai_generation or the whole trace
containing it, until disabled. A good eval comes from a real failure mode you've found in production traffic,
not from a guess or a generic metric like "hallucination" or "helpfulness". This skill starts once those
failure modes are identified and turns them into scoped, continuously-running evals.
One eval per failure mode, and as many evals as the data justifies. How many to create is a judgment call you make from what the traces actually showed — sometimes one, often three or four. Never assume the answer is one, and never bundle unrelated modes into one evaluator. The exception is a set of modes that are outcomes of the same check, such as the reasons a reply missed the user's request: one categorical eval with a category per mode fits that (2.1).
Propose before you create. Bring the user a short list of candidate evals and let them pick which ones they want (Phase 1.1). Creating evals they didn't ask for costs them money and noise.
First, know what you're evaluating. Finding and ranking the failure modes worth catching is a
separate job. If the user doesn't specify what they want to evaluate, ask them. If they are still vague
about it and don't refer to a specific failure mode, run exploring-ai-failures to scope a use case,
find failing traces, and produce a ranked list of failure modes.
For the mechanics of writing and iterating an evaluator (Hog source vs LLM-judge prompt, dry-running,
debugging a live eval), defer to exploring-llm-evaluations.
Tools
| Tool | Purpose |
|---|---|
posthog:llma-evaluation-config-get |
Check the active provider key used by unpinned judges |
posthog:llma-provider-key-list |
Find a usable (ok state) provider key to pin |
posthog:llma-evaluation-judge-models |
List valid provider+model combos |
posthog:llma-evaluation-directory-list |
List directories available for organizing the evaluation |
posthog:llma-evaluation-directory-create |
Create a directory when the user asks for a new one |
posthog:llma-evaluation-test-hog |
Dry-run Hog source against recent generations before creating |
posthog:llma-evaluation-create |
Create the evaluation (always enabled: false first) |
posthog:llma-evaluation-run |
Spot-run a draft eval against one generation |
posthog:llma-evaluation-update |
Iterate config, then flip enabled: true |
posthog:llma-evaluation-backfill-estimate |
Count what a backfill over past data would evaluate |
posthog:llma-evaluation-backfill-create |
Evaluate past data, only after the user confirms the estimate |
posthog:llma-evaluation-backfill-get |
Track a backfill's progress and coverage |
posthog:llma-evaluation-backfill-list |
Find an evaluation's backfills, including one already running |
posthog:llma-evaluation-backfill-cancel |
Stop a running backfill when the user asks |
posthog:execute-sql |
Verify a condition matches the events and volume you expect |
posthog:generate-app-url |
Build a region- and project-qualified deep link to the eval |
The full create payload (every field, the config schemas, the exact conditions shape) is in
references/evaluation-payload.md.
Phase 1 — Decide what to propose, then let the user choose
Start from real, observed failures, not metrics you picked in advance. If you don't already have them,
run exploring-ai-failures to scope a use case, find failing traces, and produce a ranked list of failure
modes — then come back.
1.1 — Turn the failure modes into a candidate set
Let the data decide how many. One failure mode is one eval, so a ranked list of four distinct modes is a candidate set of four evals. Don't collapse them into one evaluator that tries to catch everything, and don't stop at the top mode when the traces clearly showed more worth watching. Keep a candidate when:
- **It
अक्सर पूछे जाने वाले सवाल
क्या यह ऐसी जाँचें बनाएगी जो मैंने नहीं माँगी?
नहीं। यह पहले एक छोटी सूची सुझाती है और केवल वही बनाती है जो आप चुनते हैं।
सामान्य जाँच जैसे हैलुसिनेशन क्यों न लें?
स्किल आपके अपने ट्रैफ़िक में मिली विफलताओं पर आधारित जाँचों को तरजीह देती है, क्योंकि सामान्य मेट्रिक्स आपके उत्पाद से मेल न खाएँ।
क्या इन जाँचों को चलाने पर खर्च होता है?
AI जज वाली जाँचें हर रन पर एक मॉडल कॉल करती हैं। कोड-आधारित जाँचें नहीं करतीं।
जानकारी
लेखक का मूल विवरण
Author continuously-running online evaluations in PostHog AI observability, grounded in real failure modes you've identified. Use when the user wants evaluations that automatically score new generations or whole traces going forward — "create an eval to catch X", "continuously check that responses do Y", "turn these failures into evals". Covers letting the explored data decide how many evals to create, proposing that set for the user to pick, choosing the target and eval type (hog / llm_judge / sentiment), configuring a provider and model for an llm_judge eval (a provider key gates enabling, n
repo: PostHog/posthog
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6828
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
depot-ci
41kयह आपके एजेंट को Depot CI वर्कफ़्लो सेट अप करने, चलाने और माइग्रेट करने में मदद करती है, साथ ही रन के लॉग पढ़ने में।
depot-container-builds
41kयह आपके एजेंट को Depot के रिमोट बिल्डर पर Docker इमेज बनाने में मदद करती है, जिसमें मल्टी-प्लेटफ़ॉर्म इमेज और बिल्ड सुधार शामिल हैं।
depot-github-runners
41kयह आपके एजेंट को GitHub Actions जॉब Depot के मैनेज्ड रनर पर ले जाने, रनर का साइज़ और लेबल चुनने, और रनर सेटअप की समस्याएँ ठीक करने में मदद करती है।
editing-agents-md
41kयह आपके एजेंट को तय करने में मदद करती है कि कोई नियम AGENTS.md या CLAUDE.md में जाए या नहीं, और उसे ऐसे लिखे कि फ़ाइल भारी न हो।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।