Discourse Sentiment Dashboard의 분류

Hi everyone,

I’m exploring the sentiment analysis feature available in the Discourse admin dashboard (Admin > Dashboard > Sentiment) and I have questions about how it works:

  1. How is sentiment assigned to posts? Is it based on a machine learning model, keyword matching, or a combination of both?
  2. Are there specific keywords or phrases that trigger a particular sentiment? If so, is there a way to view, edit or export the full list?

Thanks in advance.
Laura

Sentiment is part of the ai plugin. You can read more about it here:

Thank you. Is there a way to adjust this?

We’ve noticed that sentiment is only assigned to a small number of posts. Since we find this feature very helpful, we were wondering whether there is a way to expand or configure the sentiment classification so that it applies to more posts.

Alternatively, is it possible to have sentiment determined by users (for example, members of our community) rather than by AI? If that’s not currently supported, would there be a way for us to manually assign or manage sentiment classifications ourselves?

Backfill for older postsare controlled by this setting:

As for customizing this… the agent used for Sentiment can be found in the AI > Agents tab, under the name ‘Sentiment classifier’.

You can also edit Sentiment-related settings at /admin/plugins/discourse-ai/settings?filter=sentiment.

Thank you for pointing me in the right direction! I was able to find the Sentiment classifier agent. However, I’m unable to edit its prompt, even though I have admin access. The fields appear to be locked or read-only.

Is there a specific permission or configuration that needs to be enabled to allow editing of this built-in agent? Or would the recommended approach be to create a custom agent to replace or supplement the default Sentiment classifier?

Any guidance on this would be greatly appreciated!

Hmm… if I am not wrong, you can’t edit them (yet?). You could self-host a custom LLM if you’re very eager to tweak it though.

Yes, I’d like to customize it. What do you mean by LLM? Do you mean creating my own agent?

I’m not as familiar with this, but you can check this out:

Though I am not too sure to what extent you can customize the prompts. It’s fixed a for a reason, as they are quite fine-tuned for better accuracy, if I am not mistaken.

안녕하세요 @Lauraruskovic

감정(Sentiment)은 다음 AI 모델을 사용하여 지정됩니다:

즉, 기본적으로 감정 분석과 감정 분류를 담당하는 것은 이러한 ML 모델들입니다. 또한, 다음과 같은 두 가지 사이트 설정이 있습니다:

  • AI sentiment sentiment classification strategy
  • AI sentiment emotion classification strategy

이 설정들을 agent로 변경하면 에이전트 기반 감정 분류가 활성화됩니다. 이 작업을 완료한 후, AI sentiment sentiment agentAI sentiment emotion agent에서 AI 에이전트를 설정하여 감정 및 감정 분류에 사용할 에이전트를 선택할 수 있습니다.

기존 에이전트의 편집은 의도적으로 허용하지 않지만, /admin/plugins/discourse-ai/ai-agents를 방문하여 언제든지 새 에이전트를 생성할 수 있습니다.

이 정보가 도움이 되기를 바랍니다.