Chuyển đến nội dung
Skillpedia
Agent41k · #6832

exploring-llm-evaluations

Skill này làm gì

Skill này xem các đánh giá tự động chấm điểm phản hồi AI của bạn, gồm kiểm tra dựa trên quy tắc, kiểm tra bằng người chấm AI và cảm xúc. Nó dành cho các nhóm muốn hiểu vì sao một kiểm tra thất bại hoặc kết quả của nó cho thấy điều gì.

Khi nào nên dùng

  • ✓Khi một đánh giá liên tục thất bại và bạn muốn biết vì sao.
  • ✓Khi bạn muốn xem các lý do phổ biến nhất khiến phản hồi không đạt một kiểm tra.
  • ✓Khi bạn muốn thiết lập một báo cáo định kỳ về kết quả của một đánh giá.

Liên kết skill

https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/exploring-llm-evaluations/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/exploring-llm-evaluations/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Vì sao đánh giá giọng điệu của chúng tôi thất bại thường xuyên như vậy, và các phản hồi thất bại có điểm chung nào?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tìm đánh giá và đọc cấu hình của nó, và có thể chạy kiểm tra trên các phản hồi cụ thể nếu cần. Sau đó, skill xem xét các kết quả đã lưu để chỉ ra mẫu hình bằng ngôn ngữ đơn giản.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Có những loại đánh giá nào?

Các kiểm tra dựa trên mã trả về có hoặc không, các kiểm tra bằng người chấm AI theo một prompt đã viết, và các kiểm tra cảm xúc trên tin nhắn của người dùng.

Kiểm tra bằng người chấm AI có tốn tiền không?

Mỗi lần chạy kiểm tra bằng người chấm AI đều gọi một mô hình, và tổ chức của bạn phải chấp thuận việc xử lý dữ liệu AI cho việc đó.

Skill có thể thiết lập báo cáo định kỳ không?

Có. Skill có thể thiết lập một báo cáo lặp lại về kết quả của một đánh giá.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#6832
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự