Droidtown / AItlas

AItlas is a knowledge graph designed to go with Loki NLU system.
MIT License
0 stars 1 forks source link

In line 41, sometimes it appears the "KeyError" in the tab of Exceptions. #4

Closed shendongCathy closed 1 year ago

shendongCathy commented 1 year ago

https://github.com/Droidtown/AItlas/blob/4d53919677e800b2744ef6ec89fe7b0c83c2ebf7/tools/ArticutDemo_cathy5.0.py#L41

截圖 2023-07-24 07 49 36

從上圖,我發現

  1. 之前檔案person_classifier沒有辦法把人名其他的過濾乾淨(針對這個問題,Iam trying.)

後來,有一兩次遇到這個問題,我又就再重跑一次,又沒有這個問題了。 不知道為什麼?

結果,我從stack data 看到這個訊息:{'status': False, 'msg': 'Requests per minute exceeded! Each account can only issue 80 requests ... (truncated) ,恍然大悟了....

shendongCathy commented 1 year ago

剛看了自己上傳的person_classifier的檔案,覺得我自己錯的很離譜,我得改一改~

Droidtown commented 1 year ago

之前檔案person_classifier沒有辦法把人名其他的過濾乾淨 這個問題有找到原因嗎?

後來,有一兩次遇到這個問題,我又就再重跑一次,又沒有這個問題了。 不知道為什麼? resultDICT 是透過網路 API 來的,而透過網路 API 而來的可能情況很多,所以你要提供 Error Message,不然我也沒辦法猜出來是出了什麼問題。

shendongCathy commented 1 year ago

結果,我從stack data 看到這個訊息:{'status': False, 'msg': 'Requests per minute exceeded! Each account can only issue 80 requests ... (truncated) ,恍然大悟了....