Pinxi
Pinxi
Related to https://github.com/openai/openai-python/issues/231 When Completion is incorrectly used, the error suggests an bug in the codebase: ``` openai.api_key = "openai-key" id_ = "cmpl-id" result = openai.Completion.retrieve(id_chat) # EngineAPIResource.init() takes from...
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...
Fix for issue https://github.com/openai/openai-python/issues/303 Originally, the Audio endpoint does not pass the api_key into the request ``` import openai key = ... with open("sample.wav", "rb") as audio_file: transcript = openai.Audio.transcribe("whisper-1",...