PostHog / PostHog/posthog

Feature Request: Add an option to disable LLM sentiment classification

Open
#51,985 0 comments 0 reactions 0 assignees View on GitHub

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 Generations tab, but not on the Traces tab

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.