Lessons from 4 years of building AI products at PostHog