You used the string “widget” in your post, but are trying to post in the “foo” category. Do you maybe want to change the category to “widget” so it matches the content of your post?
Does something like this (or similar) exist?
On Github for Visual Studio Code has this neat bot that adds labels based on what you wrote. So if you write about the “minimap” feature, it tags the issue with “minimap” automatically.
Discourse already checks the post content against posts to check for similarity (to avoid duplicate topics), but does not explicitly suggest a category change.
How do you propose this would work? From a technical perspective, what should Discourse compare the content of the post against to suggest a different category?