Skip to content

: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.

510 B
Raw Blame
GROUP_MAPPING_PROMPT = """
Here is the group mapping:
{{{group_mapping}}}
""".strip()

PLAN_PROMPT = """
Here is the plan:
{{{plan}}}

Generate a schema from this plan.
""".strip()

FAILOVER_OUTPUT_PROMPT = """
Generation output:
```
{{{output}}}
```

Exception message:
```
{{{exception_message}}}
```
""".strip()

FAILOVER_PROMPT = """
The result of the previous generation raised the Pydantic validation exception.

{{{validation_error_message}}}

Fix the error and return the correct response.
""".strip()