) but when i use it with fast api and i test it on postman it works some times and most of the time i get the error: 500 Internal Server Error ERROR: Exception in ASGI application . . . openai.InternalServerErro
InternalServerError表示在处理您的请求时我们这边出了问题。这可能是由于临时错误、bug 或系统故障导致的。 对此造成的任何不便,我们深感抱歉,并正在努力尽快解决任何问题。您可以查看我们的系统状态页面以获取更多信息。 如果遇到InternalServerError错误,请尝试以下步骤: 等待几秒钟,然后重试您的请求。有时候,问题可能会...
500 Internal Server Error 502 Bad Gateway 503 Service Unavailable 504 Gateway Timeout Observability OpenAI .NET library supports experimental distributed tracing and metrics with OpenTelemetry. Check out Observability with OpenTelemetry for more details.About...
StatusBadRequest, NewError(http.StatusBadRequest, "invalid input")) return } var b bytes.Buffer if err := json.NewEncoder(&b).Encode(api.EmbedRequest{Model: req.Model, Input: req.Input}); err != nil { c.AbortWithStatusJSON(http.StatusInternalServerError, NewError(http.StatusInternal...
The OpenAI Python library provides convenient access to the OpenAI API from applications written in the Python language. - openai-python/openai/api_requestor.py at main · ongunao/openai-python
Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Ca...
Error codes are as followed:Status CodeError Type 400 BadRequestError 401 AuthenticationError 403 PermissionDeniedError 404 NotFoundError 422 UnprocessableEntityError 429 RateLimitError >=500 InternalServerError N/A APIConnectionErrorMicrosoft Azure OpenAITo use this library with Azure OpenAI, use the ...
Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Ca...
The official Python library for the OpenAI API. Contribute to openai/openai-python development by creating an account on GitHub.
Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Ca...