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_qaattachment_type: image, pdf, audio, video, noneattachment_size_kband, for audio or video,attachment_duration_secondsmodel_nameandprompt_versionjudge_enabled: whether this event was sent to a judgejudge_scoreandjudge_verdict, as returned by your evaluationjudge_with_attachment: true if the judge saw the filelatency_msfor the model responseuser_feedback: thumbs up, thumbs down or noneplatformandapp_version
Setup Steps
- List the AI features in your app that accept files, and decide which ones need evaluation.
- 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.
- Start from an evaluation template, then adjust the criteria to match what a correct answer means for each feature.
- Opt out any evaluation where the attachment contains sensitive personal data, using the per-evaluation setting.
- Run the evaluation on a sample of events at first, to keep cost down.
- Add the score and verdict as properties you can chart alongside user feedback.
- Build a dashboard that breaks scores down by
attachment_type,prompt_versionandapp_version. - 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.