GCP generativelanguage.googleapis.com 无法启用

huangapple go评论52阅读模式
英文:

GCP generativelanguage.googleapis.com not able to enable

问题

我正在尝试使用此 API 调用文本生成模型。我收到以下错误,并且当我访问 API 控制台时,我没有看到启用它的选项。

> google.api_core.exceptions.PermissionDenied: 403 Generative Language
> API has not been used in project 969406701988 before or it is
> disabled. Enable it by visiting
> https://console.developers.google.com/apis/api/generativelanguage.googleapis.com/overview?project=969406701988
> then retry. If you enabled this API recently, wait a few minutes for
> the action to propagate to our systems and retry.

[链接 {
描述: "Google 开发者控制台 API 激活",
url: "https://console.developers.google.com/apis/api/generativelanguage.googleapis.com/overview?project=969406701988"
}
, 原因: "SERVICE_DISABLED"
领域: "googleapis.com"
元数据 {
键: "service"
值: "generativelanguage.googleapis.com"
}
元数据 {
键: "consumer"
值: "projects/969406701988"
}
]

英文:

I am trying to use this api to call the text-bison model. I get the error below. And when I go to api console, I do not see any option to enable it.

> google.api_core.exceptions.PermissionDenied: 403 Generative Language
> API has not been used in project 969406701988 before or it is
> disabled. Enable it by visiting
> https://console.developers.google.com/apis/api/generativelanguage.googleapis.com/overview?project=969406701988
> then retry. If you enabled this API recently, wait a few minutes for
> the action to propagate to our systems and retry.

[links {
  description: "Google developers console API activation"
  url: "https://console.developers.google.com/apis/api/generativelanguage.googleapis.com/overview?project=969406701988"
}
, reason: "SERVICE_DISABLED"
domain: "googleapis.com"
metadata {
  key: "service"
  value: "generativelanguage.googleapis.com"
}
metadata {
  key: "consumer"
  value: "projects/969406701988"
}
]

答案1

得分: 1

"generativelanguage.googleapis.com" 服务目前处于私有测试阶段,您需要加入等待列表,网址是 https://cloud.google.com/ai/generative-ai

英文:

the service generativelanguage.googleapis.com is in private beta at this time, you have to join a waitlist at https://cloud.google.com/ai/generative-ai

答案2

得分: 0

根据Google AI网站,现在是GA,但我仍然收到"SERVICE_DISABLED"。

英文:

According to the Google AI website, this is GA now yet I still receive "SERVICE_DISABLED".

huangapple
  • 本文由 发表于 2023年5月14日 03:33:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/76244554.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定