chatgpt api

营赢盈英2 个月前
ai·azure·openai api·chatgpt api·azure openai
Openai api via azure error: NotFoundError: 404 Resource not found题意:"OpenAI API通过Azure出错:NotFoundError: 404 找不到资源"thanks to the university account my team and I were able to get openai credits through microsoft azure. The problem is that now, trying to use the openai library for javascript, rightly specifying the key a
营赢盈英2 个月前
后端·python·flask·azure·openai api·activedirectory·chatgpt api
OpenAI remove key access while using AAD authentication题意:“OpenAI 在使用 AAD 认证时移除了密钥访问权限”I am calling Azure OpenAI API in my python code. To set it up, we need to provide a few parameters, one of which is openai.api_key. There are 2 options to get this value -
营赢盈英3 个月前
python·ai·azure·openai api·machine learning·chatgpt api·azure api
AttributeError: module ‘openai’ has no attribute ‘error’题意:访问 Python 中 openai 模块的一个不存在的属性 errorI'm running a Python summarizer in Azure ML that queries my gpt4 deployment for information. Everything was working fine until two days ago, when I decided to switch the output directory of the summaries to a differe
营赢盈英3 个月前
python·ai·gpt-3·openai api·gpt-4·chatgpt api
OpenAI API: How do I handle errors in Python?题意:在使用OpenAI API进行Python开发时,怎样处理错误?I tried using the below code, but the OpenAI API doesn't have the AuthenticationError method in the library. How can I effectively handle such error.
营赢盈英3 个月前
python·ai·openai api·fine-tuning·chatgpt api
AttributeError: module ‘openai’ has no attribute ‘FineTuneingJob’题意:尝试访问的 FineTuneingJob 属性在 openai 模块中不存在I am attempting to start a fine-tuning job using GPT 3.5-turbo via a Python call, using the format listed in the fine-tuning reference, essentially: