openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

The official Python library for the OpenAI API

Results 331 openai-python issues
Sort by recently updated
recently updated
newest added

### Describe the feature or improvement you're requesting CLI is missing a version argument. openai --version would be a nice improvement ### Additional context _No response_

From issue https://github.com/openai/openai-python/issues/295 Added version argument: ``` % openai -h ... -V, --version show program's version number and exit ... % openai --version openai 0.27.2 % openai -V openai 0.27.2...

### Describe the bug When I try to use the prepare data tool for fine tuning I always get the following error that i'm not using a valid JSON file....

bug

### Describe the bug python code: `import openai openai.api_key = "sk-m0DqPqTSAWoZ2XXXXXXXXXBZ4C" # api_key hidden completion = openai.ChatCompletion.create(model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Hello world!"}]) print(completion.choices[0].message.content)` openai.error.RateLimitError: You exceeded your current quota, please...

bug

### Describe the bug When passing the API Key to the `api_key` parameter of the `openai.Audio.transcribe()` method, an `openai.error.AuthenticationError` is thrown. ``` Traceback (most recent call last): File "", line...

bug

Source: https://github.com/openai/openai-python/blob/main/openai/error.py#L79-L80

### Describe the bug Somehow, the prompt only works for my first prompt in python. `for audio_file in sound_track: print('prompt_for_whisperer: ' + prompt_for_whisperer) transcript = openai.Audio.transcribe( "whisper-1", audio_file, response_format =...

bug

It should be "please let us know on our support page" instead of "please let us know at on our support page."

### Describe the bug Today is March 14, 2023, I read logs and find some "HTTP 500 Internal Server Error" errors, here are two request id: 65f570730b40007dde214d6c94758fce e5ad2d7adee633e0c72ba78c54f63e44 Please help...

bug

### Describe the bug When executing the API call specified in the code snippet the following error occurs: [error.txt](https://github.com/openai/openai-python/files/10995454/error.txt) Based on printouts, in some cases the API return with an...

bug