RESOURCE_EXHAUSTED 向 Google 助手发出请求时出错 API

RESOURCE_EXHAUSTED error when making requests to the Google Assistant API

使用 Google Assistant SDK 一段时间后,我开始收到此错误:

grpc._channel._Rendezvous: <_Rendezvous of RPC that terminated with 
(StatusCode.RESOURCE_EXHAUSTED, Insufficient tokens for quota 
'ConverseGroup' and limit 'DailyLimit' of service 
'embeddedassistant.googleapis.com' for consumer 'project_number:
<REDACTED>'.)>

这是什么意思,我该如何解决?

Google Assistant SDK 可免费使用,但有一些 daily usage limits per account, to prevent abusive use of the API (e.g. non personal or non developmental use, as allowed by the terms of service)。

此跟踪是达到该限制时出现的错误。

解决此问题最直接的方法是第二天再试一次。如果您的项目需要更多请求,您也可以联系此 form to request more quota 解释您的项目是什么以及为什么需要它。