能否支持Azure OpenAI? #567
Unanswered
CanaanShaw
asked this question in
Q&A
Replies: 1 comment
-
@CanaanShaw 您好,我们确实没有试过Azure,Azure一直没通过我们的申请,所以没法测试 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
感谢开发者们的工作!我想尝试接入Azure OpenAI APIKey来使用它,不过遇到了一些麻烦。我修改了config.py中的这两行:
API_KEY = "Azure OpenAI APIKey"
API_URL_REDIRECT = {"username.openai.azure.com/": "重定向的URL"}
不过在运行时出现了以下错误:
RuntimeError: OpenAI拒绝了请求:{ "error": { "message": "Incorrect API key provided: 15656127********************41cb. You can find your API key at https://platform.openai.com/account/api-keys.", "type": "invalid_request_error", "param": null, "code": "invalid_api_key" }}
请问有解决办法吗?感激不尽。烦请见谅如果我的问题解释得太笨拙。
祝生活愉快!
Beta Was this translation helpful? Give feedback.
All reactions