NippunSharma/ChatterBox

For programming related queries it should return some link.

Closed this issue · 8 comments

For programming related queries it should return some link.
  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

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)

I have opened #8 for discussion.

@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.

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.

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!

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

Yes, we can close this as well.