본문으로 건너뛰기
Skillpedia
에이전트41k · #6828

creating-online-evaluations

하는 일

이 스킬은 새 AI 응답이나 대화 전체를 자동으로 점수 매기는 지속적인 평가를 만듭니다. 모든 답변을 읽지 않고도 AI 기능의 특정 문제를 잡고 싶은 팀을 위한 것입니다.

사용하는 경우

  • ✓운영 환경에서 이미 본 문제를 잡는 자동 점검을 원할 때.
  • ✓AI 응답이 시간이 지나도 규칙을 지키는지 계속 확인하고 싶을 때.
  • ✓실패 패턴 목록이 있고 각 패턴을 모니터링되는 점검으로 바꾸고 싶을 때.

스킬 링크

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

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

사용 방법

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

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

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

AI에게 요청하는 예시

“사용자의 질문을 무시하는 AI 답변을 표시하는 자동 점검을 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 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
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬