Feature request: Use AI to set the insight name & description
Open
Nobody has claimed this yet.
enhancement
feature/insights
team/product-analytics
- Dominant language
- Python
- Stars
- 39.9k
- Forks
- 3.4k
- Avg merge
- 6h 51m
- Merged PRs (30d)
- 232
Description
Feature request
Is your feature request related to a problem?
Currently, we generate the insight name based on the selected events, following the <event> <math> format.
Use the insight query to create more meaningful names powered by AI.
Describe the solution you'd like
Autoname insights using AI.
Additional context
Start with the basic implementation and improve.
- Allow naming insights with AI
- Prompt tuning
- Fallback mechanism
- Caching
- AI-generated description
- Limits & pricing (automatically set the name/description on series change?)
Debug info
- [ ] PostHog Cloud, Debug information: [please copy/paste from https://us.posthog.com/settings/project-details#variables]
- [ ] PostHog Hobby self-hosted with `docker compose`, version/commit: [please provide]
- [ ] PostHog self-hosted with Kubernetes (deprecated, see [`Sunsetting Kubernetes support`](https://posthog.com/blog/sunsetting-helm-support-posthog)), version/commit: [please provide]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the current insight naming behavior described in the issue and the linked prerequisite issue #47483, Allow naming insights with AI. The requested work spans basic naming, prompt tuning, fallback, caching, descriptions, and limits; done would need a defined first implementation and decisions for those follow-up areas.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai, analytics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100