英文:
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".
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论