armsp / AIFU

AI flub ups
https://aifu.shantam.io/
1 stars 1 forks source link

Global #61

Open armsp opened 1 year ago

armsp commented 1 year ago

Headline The Fraud-Detection Business Has a Dirty Secret \n When systems designed to catch welfare cheats go wrong, people find themselves trapped between secretive governments and even more opaque private companies. URL https://www.wired.com/story/welfare-fraud-industry/ Media Organization WIRED Submitted By: [Name: , GitHub: @armsp]

armsp commented 1 year ago
 File "/server/app/main.py", line 77, in get_information
    article_rating = rate_article(headline, extracted_text)
  File "/server/app/information_retrieval.py", line 75, in rate_article
    output = json.loads(output.get('text'))
  File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.9/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 84 (char 83)