Product Benefits Pricing Guides Docs About Contact us Try it out
Performance

LLM Judge Attachment Evaluation Tracking

LLM judge evaluation tracking with image, audio and PDF attachments. Learn which properties to log to measure AI feature quality in your app.

· 3 min read

If your app has an AI feature that handles photos, voice notes or documents, you need a way to tell whether its answers are any good. Thumbs-up buttons only reach a small share of users. Without automated evaluation, quality problems stay hidden until ratings drop or support tickets pile up.

On 13 November 2026, PostHog announced that LLM judges can receive images, PDFs, audio and video from the evaluated event. This works on self-hosted projects, and you can opt out per evaluation. Smoother evaluation setup, with templates and the ability to pause or resume, arrived the same day. For mobile teams, that means a judge can see the same input the user supplied, not just the text of the reply.

Why This Matters

A text-only judge cannot tell whether a model described a receipt photo correctly or transcribed a voice note faithfully. It sees the answer but not the evidence. The result is scores that look healthy while real users get wrong answers. Giving the judge the original attachment closes that gap, but it also raises cost and privacy questions you should plan for.

Data Points to Track

Add these properties to your AI generation events:

  • feature_name: for example receipt_scan, voice_summary, document_qa
  • attachment_type: image, pdf, audio, video, none
  • attachment_size_kb and, for audio or video, attachment_duration_seconds
  • model_name and prompt_version
  • judge_enabled: whether this event was sent to a judge
  • judge_score and judge_verdict, as returned by your evaluation
  • judge_with_attachment: true if the judge saw the file
  • latency_ms for the model response
  • user_feedback: thumbs up, thumbs down or none
  • platform and app_version

Setup Steps

  1. List the AI features in your app that accept files, and decide which ones need evaluation.
  2. Ensure each generation event carries the attachment so the judge can read it, and confirm the project is self-hosted, since that is where this works.
  3. Start from an evaluation template, then adjust the criteria to match what a correct answer means for each feature.
  4. Opt out any evaluation where the attachment contains sensitive personal data, using the per-evaluation setting.
  5. Run the evaluation on a sample of events at first, to keep cost down.
  6. Add the score and verdict as properties you can chart alongside user feedback.
  7. Build a dashboard that breaks scores down by attachment_type, prompt_version and app_version.
  8. Review low-scoring events weekly and feed the findings back into your prompts.

Actionable Insights

Scores by attachment type. If image features score well but audio features do not, the issue is probably transcription quality, not your prompt.

Judge versus user feedback. Where the judge and users disagree, your criteria are wrong or the judge is missing context. Fix the criteria first.

Impact of a prompt change. Compare scores before and after a new prompt_version. A small gain with higher latency may not be worth shipping.

Large files. If scores fall as attachment_size_kb grows, compress or crop files on the device before upload.

Cost. Attachments make evaluation more expensive. Use the sample rate to balance coverage against spend.

Because attachments often hold personal data, tell users how their files are used, and check your privacy notice covers evaluation.