Feature suggestion: "add tag" popup should suggest likely tags based on topic content

סיכום מבוסס בינה מלאכותית

The discussion suggests enhancing the ‘add tag’ popup in Discourse by using machine learning to suggest relevant tags based on topic content. ChrisBeach proposes a background job that uses a Naive Bayes Classifier to analyze text and existing tags, generating suggested tags for untagged topics. These suggestions would appear in the UI, allowing users to easily add them. sam finds the idea interesting but questions its fit for core functionality, while sunjam supports the feature, suggesting it be displayed on the draft screen with category-based suggestions. anon82467725 believes such a feature would encourage greater use of tags, which Discourse promotes.

With my slightly OCD tendency, I often trawl through topics adding tags.

Opening the tag drop-down shows five popular tags (I assume, the most popular?).

Here’s an idea - how about making the suggested tags a bit smarter using some basic machine learning? I’d suggest the following:

Background Job

Discourse runs a background job that analyses the text and tags of recent topics using a Naive Bayes Classifier

  • The background job uses existing tags on topics to build a model. It learns which tags are likely to be relevant to text content.

  • For topics without tags, the background job runs the text through the built model to find any tags with a high probability of applying to the topic. These are persisted in the DB as “suggested tags” for that topic.

Suggested Tag UX

When a user edits the title/tags, the UI shows any strong tag suggestions, and the user can click on a suggested tag to add it to the topic

8 לייקים

Sounds like a very interesting plugin to me :relaxed: not sure I think this fits into core quite now.

5 לייקים

Very interested in this same feature, something along the lines of displaying “Suggested tags” on the right side of the draft screen, assuming a high resolution monitor.

  • Select a category and tag suggestions appear
  • Required tag groupings also displayed

Interesting idea for those focused on tags as opposed to categories.

3 לייקים

I think tags (which are being pushed heavily by Discourse) would be used more if such a feature is implemented.

2 לייקים