openai 0.x → 1.xWhat was renamed or removed, and what to use instead
openai 0.28.1 → 1.109.1
Every name and argument that went away in this migration, read from each release's own code, with what the library itself, its migration guide, or a move to another path says to use instead.
81renamed or replaced
249removed, no replacement stated
Renamed or replaced81
| Old | Use instead | Changed in | Evidence |
|---|---|---|---|
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.translate() -> client.audio.translations.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.ChatCompletion.create() -> client.chat.completions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “We do not support calling asynchronous methods in the module-level client, instead you will have to instantiate an async client. … completion = openai.ChatCompletion.acreate( … client = AsyncOpenAI() … completion = await client.chat.complet” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.ChatCompletion.create() -> client.chat.completions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Completion.create() -> client.completions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Completion.create() -> client.completions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Edit.create() -> client.edits.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Edit.create() -> client.edits.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Embedding.create() -> client.embeddings.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Embedding.create() -> client.embeddings.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.File.create() -> client.files.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.File.create() -> client.files.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.File.download() -> client.files.retrieve_content() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.FineTune.create() -> client.fine_tunes.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.FineTune.stream_events() -> client.fine_tunes.list_events(stream=True) (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.FineTuningJob.create() -> client.fine_tuning.jobs.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.FineTuningJob.cancel() -> client.fine_tuning.jobs.cancel() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Image.create() -> client.images.generate() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Image.create() -> client.images.generate() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Image.create_edit() -> client.images.edit() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Image.create_variation() -> client.images.create_variation() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.InvalidRequestError -> openai.BadRequestError (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Model.list() -> client.models.list() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Moderation.create() -> client.moderations.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Moderation.create() -> client.moderations.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.api_base -> openai.base_url (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.api_resources -> openai.resources (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.ChatCompletion.create() -> client.chat.completions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Completion.create() -> client.completions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Edit.create() -> client.edits.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Embedding.create() -> client.embeddings.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.File.create() -> client.files.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.FineTune.create() -> client.fine_tunes.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.FineTuningJob.create() -> client.fine_tuning.jobs.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Image.create() -> client.images.generate() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Model.list() -> client.models.list() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Moderation.create() -> client.moderations.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. or openai. or openai. | 1.0.0 | the project's migration guide: “openai.File.retrieve() -> client.files.retrieve() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. or openai. | 1.0.0 | the project's migration guide: “openai.FineTune.create() -> client.fine_tunes.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. or openai. or openai. | 1.0.0 | the project's migration guide: “openai.File.list() -> client.files.list() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.FineTuningJob.list() -> client.fine_tuning.jobs.list() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.ChatCompletion.create() -> client.chat.completions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Completion.create() -> client.completions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Edit.create() -> client.edits.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Embedding.create() -> client.embeddings.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.File.create() -> client.files.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.FineTune.create() -> client.fine_tunes.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.FineTuningJob.create() -> client.fine_tuning.jobs.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Image.create() -> client.images.generate() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Model.list() -> client.models.list() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Moderation.create() -> client.moderations.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.InvalidRequestError -> openai.BadRequestError (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.7.2 | the library's deprecation text: “The Edits API is deprecated; please use Chat Completions instead. https://openai.com/blog/gpt-4-api-general-availability#deprecation-of-the-edits-api” |
openai. | openai. | 1.78.0 | the same object at another path: “openai.resources.AsyncResponses was removed in 1.78.0; the same object is still public as openai.resources.responses.AsyncResponses” |
openai. | openai. | 1.78.0 | the same object at another path: “openai.resources.AsyncResponsesWithRawResponse was removed in 1.78.0; the same object is still public as openai.resources.responses.AsyncResponsesWithRawResponse” |
openai. | openai. | 1.78.0 | the same object at another path: “openai.resources.AsyncResponsesWithStreamingResponse was removed in 1.78.0; the same object is still public as openai.resources.responses.AsyncResponsesWithStreamingResponse” |
openai. | openai. | 1.7.2 | the library's deprecation text: “The Edits API is deprecated; please use Chat Completions instead. https://openai.com/blog/gpt-4-api-general-availability#deprecation-of-the-edits-api” |
openai. | openai. | 1.78.0 | the same object at another path: “openai.resources.Responses was removed in 1.78.0; the same object is still public as openai.resources.responses.Responses” |
openai. | openai. | 1.78.0 | the same object at another path: “openai.resources.ResponsesWithRawResponse was removed in 1.78.0; the same object is still public as openai.resources.responses.ResponsesWithRawResponse” |
openai. | openai. | 1.78.0 | the same object at another path: “openai.resources.ResponsesWithStreamingResponse was removed in 1.78.0; the same object is still public as openai.resources.responses.ResponsesWithStreamingResponse” |
openai. | openai. | 1.66.5 | the same object at another path: “openai.types.chat.chat_completion_content_part_param.FileFile lost file_name and gained filename in the same release” |
openai. | openai. | 1.99.2 | the same object at another path: “openai.types.chat.chat_completion_tool_param.FunctionDefinition was removed in 1.99.2; the same object is still public as openai.types.shared_params.FunctionDefinition” |
openai. | openai. | 1.0.0 | the library's deprecation text: “The Edits API is deprecated; please use Chat Completions instead. https://openai.com/blog/gpt-4-api-general-availability#deprecation-of-the-edits-api” |
openai. | openai. | 1.2.1 | the library's deprecation text: “retrieve_content is deprecated. The .content() method should be used instead” |
openai. | openai. | 1.0.0 | the library's deprecation text: “The Edits API is deprecated; please use Chat Completions instead. https://openai.com/blog/gpt-4-api-general-availability#deprecation-of-the-edits-api” |
openai. | openai. | 1.2.1 | the library's deprecation text: “retrieve_content is deprecated. The .content() method should be used instead” |
openai. | openai. | 1.16.0 | the library's deprecation text: “use stream instead” |
openai. | openai. | 1.16.0 | the library's deprecation text: “use stream instead” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
openai. | openai. | 1.0.0 | the project's migration guide: “openai.Audio.transcribe() -> client.audio.transcriptions.create() (https://github.com/openai/openai-python/discussions/742)” |
Removed, with no replacement stated249
| Old | Gone in |
|---|---|
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.78.0 |
openai. | 1.78.0 |
openai. | 1.78.0 |
openai. | 1.78.0 |
openai. | 1.78.0 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.78.0 |
openai. | 1.78.0 |
openai. | 1.78.0 |
openai. | 1.78.0 |
openai. | 1.78.0 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.7.2 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
openai. | 1.0.0 |
No names match.