GAIR-NLP / factool

FacTool: Factuality Detection in Generative AI
https://ethanc111.github.io/factool_website/
Apache License 2.0
804 stars 62 forks source link

###evaluate###kbqa###error #37

Closed C-YEE00 closed 9 months ago

C-YEE00 commented 10 months ago

Why is this error reported,i set the scraperapi='' when evaluate kbqa

requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='api.scraperapi.com', port=80): Max retries exceeded with url: /account?api_key=%27%27 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7f33556f3490>, 'Connection to api.scraperapi.com timed out. (connect timeout=None)'))

steffichern commented 9 months ago

Hi, thank you for your interests in our work!

You will not need scraper API to evaluate KBQA. However, if the issue exists when you try to evaluate Scientific Literature Review, here are the possible reasons why this could happen:

  1. Verify that you are using the correct URL and API key for ScraperAPI.
  2. Scraper API service might be experiencing downtime or technical difficulties.
  3. There might be a problem with how you've configured your request in terms of headers, parameters, or other settings.
  4. Review your firewall or security software settings to ensure they aren't blocking your requests.

There might be other resources online that might help with debugging your issue. Hope this helps!

C-YEE00 commented 8 months ago

If I don't set scraperapi='', I'll get an error