NippunSharma / ChatterBox

ChatBot
0 stars 3 forks source link

For programming related queries it should return some link. #6

Closed ParasJain-ui closed 3 years ago

naveensaigit commented 3 years ago
  1. For normal questions, we can use the Stackoverflow data.
  2. If there are any links to Codeforces, URI, Codechef, etc, we can try to link editorials and youtube videos explaining the problem. In this case, we can also tag the core-team members if that is possible in Telegram
NippunSharma commented 3 years ago

This issue is just to provide google search links, we can open a separate issue for stackoverflow data (which will include programming related questions and general questions)

NippunSharma commented 3 years ago

I have opened #8 for discussion.

ParasJain-ui commented 3 years ago

@NippunSharma @naveensaigit if we just add "StackOverflow" at the end of the query, it will automatically return the link to StackOverflow as a google search link, we can also do the same for Geeksforgeeks.

NippunSharma commented 3 years ago

Yes @ParasJain-ui but a chatbot should be able to form sentences while answering and just returning the link will not be sufficient so we will have to train a model on the Stakoverflow data, the links can still be valid.

naveensaigit commented 3 years ago

For CP related queries, we can do the following -

  1. For URI, if link is - https://www.urionlinejudge.com.br/judge/en/problems/view/{prob} a. Link to udebug - https://www.udebug.com/URI/{prob} b. Youtube Video Tutorials - https://www.youtube.com/results?search_query=URI+{prob}
  2. For Codeforces, if link is - https://codeforces.com/contest/{contestID}/problem/{prob}, we can include the following - a. Link to Editorial - https://codeforces.com/search?by=&query={contestID+prob} b. Youtube Video Tutorials - https://www.youtube.com/results?search_query=codeforces+{contestID}+{prob}
  3. For Codechef, if link is - https://www.codechef.com/{contestID}/problems/{prob} a. Link to Editorial - https://discuss.codechef.com/search?q={prob} b. Youtube Video Tutorials - https://www.youtube.com/results?search_query=codechef+{contestID}+{prob}

Further, we can see if the message has any images any tag any of the core members who are online to see the message and help the juniors!

RishabhGarg108 commented 3 years ago

I think this one is also tackled by @ParasJain-ui where the link of first stackoverflow result in the google search is returned.

naveensaigit commented 3 years ago

Yes, we can close this as well.