Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(aio): stop capturing LLM judge and tagger calls as events (#94397)

Radu Raicea30276fed211f
diff --git a/posthog/temporal/ai_observability/evaluation_llm_judge.py b/posthog/temporal/ai_observability/evaluation_llm_judge.py
index 4a2aaa5f1f4e..8c7eeb18af49 100644
--- a/posthog/temporal/ai_observability/evaluation_llm_judge.py
+++ b/posthog/temporal/ai_observability/evaluation_llm_judge.py
@@ -309,16 +309,7 @@ def call_llm_judge(
client = Client(
provider_key=provider_key,
config=config,
- privacy_mode=True,
- distinct_id=f"team-{team_id}",
- properties={
- "ai_product": "aio_evaluations",
- "ai_feature": "llm-judge",
- "team_id": team_id,
- "evaluation_id": evaluation["id"],
- "$ai_billable": not is_byok,
- "is_byok": is_byok,
- },
+ capture_analytics=False,
)
try:
diff --git a/posthog/temporal/ai_observability/run_tagger.py b/posthog/temporal/ai_observability/run_tagger.py
index d19a8aa993d8..f604d703c06a 100644
--- a/posthog/temporal/ai_observability/run_tagger.py
+++ b/posthog/temporal/ai_observability/run_tagger.py
@@ -240,16 +240,7 @@ Output: {output_data}"""
client = Client(
provider_key=provider_key,
config=config,
- privacy_mode=True,
- distinct_id=f"team-{team_id}",
- properties={
- "ai_product": "aio_evaluations",
- "ai_feature": "tagger",
- "team_id": team_id,
- "tagger_id": tagger["id"],
- "$ai_billable": not is_byok,
- "is_byok": is_byok,
- },
+ capture_analytics=False,
)
try: