exploring-llm-evaluations
यह क्या करती है
यह स्किल आपके AI जवाबों को स्कोर करने वाली स्वचालित मूल्यांकन जाँचों को देखती है, जिनमें नियम-आधारित जाँचें, AI जज की जाँचें और सेंटिमेंट शामिल हैं। यह उन टीमों के लिए है जो जानना चाहती हैं कि कोई जाँच क्यों विफल होती है या उसके नतीजे क्या बताते हैं।
कब इस्तेमाल करें
- ✓जब कोई मूल्यांकन लगातार विफल हो रहा हो और आप कारण जानना चाहें।
- ✓जब आप देखना चाहें कि किसी जाँच में जवाब विफल होने के सबसे आम कारण क्या हैं।
- ✓जब आप किसी मूल्यांकन के नतीजों की नियमित रिपोर्ट सेट करना चाहें।
Skill का लिंक
https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/exploring-llm-evaluations/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारा टोन मूल्यांकन इतनी बार क्यों विफल हो रहा है, और विफल जवाबों में क्या समानता है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह मूल्यांकन ढूँढती है और उसका सेटअप पढ़ती है, और ज़रूरत हो तो खास जवाबों पर जाँच चला सकती है। फिर यह सहेजे गए नतीजों की समीक्षा करके पैटर्न सरल भाषा में दिखाती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Exploring AI observability evaluations
For stored offline experiment comparisons, scorer history, or externally computed
result uploads, use analyzing-offline-evaluations. Offline experiments use pinned
scorer configurations and separate result APIs from the online evaluations below.
PostHog evaluations score $ai_generation events. Each evaluation is one of three
types:
hog— deterministic Hog code that returns a boolean, numeric score, or categories (and optionally N/A). Best for objective rule-based checks: format validation (JSON parses, schema matches), length limits, keyword presence/absence, regex patterns, structural assertions, latency thresholds, cost guards. Cheap, fast, reproducible — no LLM call per run. Prefer this when the criterion can be expressed as code.llm_judge— an LLM scores generations against a prompt you write. Best for subjective or fuzzy checks: tone, helpfulness, hallucination detection, off-topic drift, instruction-following. Costs an LLM call per run and requires AI data processing approval at the org level.sentiment— classifies sentiment from user messages on each matching generation. Returns a sentiment label and score, not a pass/fail verdict.
Results from all types land in ClickHouse as $ai_evaluation events. Boolean
evaluations (llm_judge and hog) set $ai_evaluation_result; sentiment
evaluations set $ai_sentiment_* properties instead.
Both hog and llm_judge also support output_type: "numeric".
Numeric runs store their raw score in $ai_evaluation_numeric_result, with optional $ai_evaluation_numeric_result_min and $ai_evaluation_numeric_result_max.
They never set $ai_evaluation_result.
Use output_config.passing_rule to interpret scores: gte means at least the threshold and lte means at most.
Changing the rule reinterprets historical scores. Saved reports retain the rule and metrics used when generated.
Without a passing rule, inspect score means and distributions; pass rates and reports are unavailable.
Both runtimes also support output_type: "categorical" when categorical evaluations are enabled for the project.
Read output_config.options for the configured {key, label} pairs and selection_mode for single or multiple.
Results store keys as a list in $ai_evaluation_categorical_result; single selection requires exactly one key, while multiple selection accepts [].
Hog can also return a single key string in single mode.
Use output_config.passing_rule.categories to grade results: a nonempty result passes only when every returned key is a passing category.
A nonempty rule fails []; an empty rule passes only [] and is allowed only in multiple mode.
Without a rule, inspect category frequencies instead of pass rates; new reports are unavailable.
Rule edits reclassify historical results, while saved reports retain their rule snapshot.
This skill covers the full lifecycle: list/inspect/manage evaluation configs, run them on specific generations, query individual results, and configure evaluation reports that summarize recent runs on a schedule.
Tools
| Tool | Purpose |
|---|---|
posthog:llma-evaluation-list |
List/search evaluation configs (filter by name, enabled flag) |
posthog:llma-evaluation-get |
Get a single evaluation config by UUID |
posthog:llma-evaluation-create |
Create a new llm_judge, hog, or sentiment evaluation |
posthog:llma-evaluation-update |
Update an existing evaluation (name, prompt, enabled, …) |
posthog:llma-evaluation-delete |
Soft-delete an evaluation |
posthog:llma-evaluation-run |
Run an evaluation against a specific $ai_generation event |
posthog:llma-evaluation-test-hog |
Dry-run Hog source against recent generations (no save) |
posthog:llma-evaluation-report-list |
List the report configs attached to an evaluation |
posthog:llma-evaluation-report-create |
Schedule an AI report on an evaluation (email or Slack) |
posthog:llma-evaluation-report-run-list |
Past report runs, including the report content that was sent |
posthog:execute-sql |
अक्सर पूछे जाने वाले सवाल
मूल्यांकन के कौन से प्रकार हैं?
कोड-आधारित जाँचें जो हाँ या ना देती हैं, AI जज जाँचें जो लिखे गए प्रॉम्प्ट का पालन करती हैं, और उपयोगकर्ता संदेशों पर सेंटिमेंट जाँचें।
क्या AI जज जाँचों पर पैसे लगते हैं?
AI जज जाँच का हर रन एक मॉडल कॉल करता है, और उसके लिए आपके संगठन को AI डेटा प्रोसेसिंग की मंज़ूरी देनी होती है।
क्या यह नियमित रिपोर्ट सेट कर सकती है?
हाँ। यह किसी मूल्यांकन के नतीजों पर आवर्ती रिपोर्ट सेट कर सकती है।
जानकारी
लेखक का मूल विवरण
Investigate AI observability evaluations — `hog` (deterministic code-based), `llm_judge` (LLM-prompt-based), and `sentiment` (user-message sentiment). Find existing evaluations, inspect their configuration, run them against specific generations, query individual results, and set up scheduled reports on an evaluation. Use when the user asks to debug why an evaluation is failing, surface common failure modes, compare results across filters, dry-run a Hog evaluator, prototype a new LLM-judge prompt, inspect sentiment classifications, or manage the evaluation lifecycle.
repo: PostHog/posthog
लोकप्रियता
- GitHub स्टार
- 41k
- रैंकिंग में स्थान
- #6832
- लाइसेंस
- —
- अपडेट की गई
- 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यह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।