PostHog AI context and commands

Adding context

PostHog AI automatically detects the active tab or page you're on to infer context. But you can also manually add other data points from your project for PostHog AI to reference as context.

Click the @ Add context button in the chat to include:

  • Insights like trends, funnels, retention, etc.
  • Events and actions from your data model
  • Dashboards with insights
Select data points to include as context

When you add context, PostHog AI can reference the specific queries, filters, or data from those items when answering your questions.

Chat commands

PostHog AI supports the following slash / commands in the chat.

CommandDescription
/initPostHog AI collects information about your product and company to save to memory.
/rememberSaves your text input to memory.
/usageDisplays a breakdown of your AI credit usage.

Community questions

Was this page useful?

Questions about this page? or post a community question.