: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
# Single-field content wrappers (`{content}` / `{message}` / `{text}`, no role
# or type). Legacy lost the text to its stringify fallback; these salvage it.
# Role is left to the default (the column's role) rather than forced to `user`,
# so an output-side wrapper stays `assistant`.
id: wrappers
rules:
- on:
role: { exists: false }
type: { exists: false }
content: { is: string }
emit:
content: $.content
- on:
role: { exists: false }
type: { exists: false }
content: { exists: false }
message: { is: string }
emit:
content: $.message
- on:
role: { exists: false }
type: { exists: false }
content: { exists: false }
message: { exists: false }
text: { is: string }
emit:
content: $.text