亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Dialogflow v2 Java Client Library detectIntent

Dialogflow v2 Java Client Library detectIntent

梵蒂岡之花 2023-05-17 14:47:28
在嘗試detectIntent從文本中獲取時,我收到了以下異常(項目 ID 已被替換)。在谷歌中找不到與DesignTimeAgent問題相關的任何內容。任何幫助表示贊賞。例外 :There was an unexpected error (type=Internal Server Error, status=500).io.grpc.StatusRuntimeException: NOT_FOUND: com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project 'MY_PROJECT_ID'.com.google.api.gax.rpc.NotFoundException: io.grpc.StatusRuntimeException: NOT_FOUND: com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project 'MY_PROJECT_ID'.    at com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:45)    at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:72)    at com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:60)    at com.google.api.gax.grpc.GrpcExceptionCallable$ExceptionTransformingFuture.onFailure(GrpcExceptionCallable.java:95)    at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:61)    at com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1015)    at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)    at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1137)    at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:957)    at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:748)    at io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:493)
查看完整描述

2 回答

?
PIPIONE

TA貢獻1829條經驗 獲得超9個贊

上述誤導性錯誤消息是由于使用了錯誤的 PROJECT_ID 而引起的。我的錯誤是,首先我創建了一個帶有服務帳戶的新項目,賦予它 dialogflow API 權限,后來我嘗試使用它的名稱和相關的 PK JSON 進行調用detectIntent。但它沒有與 Dialogflow 項目 ID 鏈接。

查看完整回答
反對 回復 2023-05-17
?
慕桂英4014372

TA貢獻1871條經驗 獲得超13個贊

就我而言,我需要將我的代理從 EU-W1 移至全球服務



查看完整回答
反對 回復 2023-05-17
  • 2 回答
  • 0 關注
  • 162 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號