Python Library Error Types incorrect

In the docs it provides InvalidRequestError and ServiceUnavailableError as classes in the openai python library. However they are not as of the new version.
See screenshot

Here is the docs link:


I want to add that in the documentation it lists openai.Timeout as an error type as well. This again is incorrect where the correct class name is openai.APITimeoutError

1 Like

Thanks for flagging, I am fixing this! Should be updated soon.