TJ-Bot icon indicating copy to clipboard operation
TJ-Bot copied to clipboard

New Feature: Detection of similar questions on new question created event

Open firasrg opened this issue 2 years ago • 4 comments

Problem :

Members often post questions that may have been asked before, leading to redundant discussions and sometimes, a waste of time for helpers.

Solution :

Automatically suggests similar questions when a user creates a new Help-Thread. By analyzing the title and content of the new question and comparing it to existing threads (including opened ones). In other words, I see to provide questionner(s) with links to relevant discussions that may address their expectations:

Currently, when a new Help-Thread is up, there is an automatic msg sent by TJBot:

🤖 @Java - Helper please have a look, thanks.

At that time, the bot can perform the search and tells that there some similar _Help-Thread_s that may help and provide links to them like this:

🤖 Oh! It looks like there are existing help threads covering a similar topic, check them out :

  • "Im beginner with Foo"
  • "What is Foo ?"
  • "Im stuck with Foo in my app!"

firasrg avatar Dec 17 '23 19:12 firasrg

I think it's wiser to search better knowledge repositories like stackoverflow. We have discussed similar ideas before in #627. :relaxed:

marko-radosavljevic avatar Dec 27 '23 01:12 marko-radosavljevic

Hello @marko-radosavljevic !

After thinking about that, i came to a conclusion that doing such will NOT be helpful (enough). The member will have to quit server and go searching on Stackoverflow (maybe somewhere else too). This might be confusing and poor as user experience. Also, it could lead to make members migrate to that platform.

firasrg avatar Dec 27 '23 06:12 firasrg

The way we would probably implement that is with just answering in chat, with an embed with top SO answer for that question. So it would be decent UI/UX experience in discord, like we have for other similar commands.

Madybe there would also be a link, so user can go there and read more, and question helper used would be displayed as well, with the goal of helping user in the future with finding answers on their own. You get the ansewr right away, comfortably, but you also get the search prompt, so you can do the same in future, learning how to utilize search engines and SO platoform, which are essential skills for every dev.

marko-radosavljevic avatar Dec 27 '23 21:12 marko-radosavljevic

The way we would probably implement that is with just answering in chat, with an embed with top SO answer for that question. So it would be decent UI/UX experience in discord, like we have for other similar commands.

I think i don't get what you mean here, can you elaborate please ?

firasrg avatar Jan 05 '24 16:01 firasrg