Oxlac / AI-News-Summariser

An AI based news article summariser that summarises, finds the sentiment and author of any online article
https://aisummariser.oxlac.com
MIT License
20 stars 6 forks source link

Any link inputted gets summarized. #2

Open Aadityaa2606 opened 8 months ago

Aadityaa2606 commented 8 months ago

bug Description The issue is if we input any link (eg. www.google.com) the summariser thinks it's an article link and summarises it.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://aisummariser.oxlac.com/ or clone and run the local dev environment.
  2. copy and paste a nonrelevant link.
  3. click on go.
  4. see the non-relevant summary.

Expected behavior Prevent accepting irrelevant links, if the user tries to submit an irrelevant link then show them an error similar to this

image

Bug Screenshots bug

Possible approaches

rnavaneeth992 commented 8 months ago

claim

Aadityaa2606 commented 8 months ago

The fix proposed by @rnavaneeth992 is a really good approach but not quite feasible for every irrelevant link, so I am reopening the issue back for other contributors to make additional improvements to the detection system on top of the existing approach!

Explanation of the Fix:

Additional improvements that can be made: