Building a semantic layer: What it is and how we did it at PostHog
PostHog has built a semantic layer into its context warehouse to ensure AI agents and humans define metrics like MRR consistently, after tests showed that Claude, Cursor, and PostHog AI returned three…