Feature Request: Add an option to disable LLM sentiment classification
Open
Nobody has claimed this yet.
enhancement
- 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?
We display sentiment classification as part of our LLM analytics as outlined here. In some cases, this sentiment doesn't return any useful or necessary information.
Describe the solution you'd like
- It would be great to have an option to disable LLM sentiment on a project level.
- Ideally, if sentiment is disabled the fields would also be hidden on the various charts and pages.
Describe alternatives you've considered
- At the moment you can hide the sentiment column on the
Generationstab, but not on theTracestab
Additional context
- N/A
Debug info
Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/019d1be4-6e32-7d89-97aa-ad54f5318e66?t=1790
Admin: http://go/adminOrgUS/018e26f8-77e2-0000-c532-c7dbaa942083 (project ID 146825)
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 tracing how LLM sentiment is configured at the project level and how sentiment fields are rendered in the Generations and Traces views. Check the existing project settings and sentiment analytics flow first. Done means a project can disable sentiment classification and the related fields are hidden across the specified charts and pages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, react, typescript
- Domain
- ai, analytics, backend, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100