Upgrading openai 0.26 to 0.27
Unknown0.26.5 → 0.27.10New10Changed6Fixed12Other22
UnknownUpgrade verdict
DepDelta hasn't looked for the notes of 1 of 11 releases yet, so breaking changes can't be ruled out.
In plain terms
- DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
- Their commits are listed with this comparison.
Must act Unknown for releases without notes
Releases without notes may still need changes. Check their commits before upgrading.
Adds aiohttp, requests >=2.20, tqdm.
Installs 14 packages in all (was 0).
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
export Audio - added:
export ChatCompletion - added:
export FineTuningJob - added:
variable enable_telemetry
- added:
variable MAX_SESSION_LIFETIME_SECS
- added:
export Audio - added:
export ChatCompletion - added:
export FineTuningJob
- added:
export PaginatableAPIResource
- added:
async static method PaginatableAPIResource.alist(limit=…, starting_after=…, api_key=…, request_id=…, api_version=…, organization=…, api_base=…, api_type=…, **params) - added:
class PaginatableAPIResource(ListableAPIResource) - added:
static method PaginatableAPIResource.auto_paging_iter(*args, **params) - added:
static method PaginatableAPIResource.list(limit=…, starting_after=…, api_key=…, request_id=…, api_version=…, organization=…, api_base=…, api_type=…, **params)
- added:
async static method Audio.atranscribe(model, file, api_key=…, api_base=…, api_type=…, api_version=…, organization=…, **params) - added:
async static method Audio.atranscribe_raw(model, file, filename, api_key=…, api_base=…, api_type=…, api_version=…, organization=…, **params) - added:
async static method Audio.atranslate(model, file, api_key=…, api_base=…, api_type=…, api_version=…, organization=…, **params) - added:
async static method Audio.atranslate_raw(model, file, filename, api_key=…, api_base=…, api_type=…, api_version=…, organization=…, **params) - added:
class Audio(APIResource) - added:
field Audio.OBJECT_NAME - added:
static method Audio.transcribe(model, file, api_key=…, api_base=…, api_type=…, api_version=…, organization=…, **params) - added:
static method Audio.transcribe_raw(model, file, filename, api_key=…, api_base=…, api_type=…, api_version=…, organization=…, **params) - added:
static method Audio.translate(model, file, api_key=…, api_base=…, api_type=…, api_version=…, organization=…, **params) - added:
static method Audio.translate_raw(model, file, filename, api_key=…, api_base=…, api_type=…, api_version=…, organization=…, **params)
- added:
async static method ChatCompletion.acreate(*args, **kwargs) - added:
class ChatCompletion(EngineAPIResource) - added:
field ChatCompletion.OBJECT_NAME - added:
field ChatCompletion.engine_required - added:
static method ChatCompletion.create(*args, **kwargs)
- added:
static method File.wait_for_processing(id, max_wait_seconds=…)
- added:
class FineTuningJob(PaginatableAPIResource, CreateableAPIResource, DeletableAPIResource) - added:
field FineTuningJob.OBJECT_NAME - added:
static method FineTuningJob.acancel(id, api_key=…, api_type=…, request_id=…, api_version=…, **params) - added:
static method FineTuningJob.cancel(id, api_key=…, api_type=…, request_id=…, api_version=…, **params)
- added:
class Audio - added:
class ChatCompletion - added:
class FineTuningJob - added:
static method Audio.transcribe(args) - added:
static method Audio.translate(args) - added:
static method ChatCompletion.create(args) - added:
static method FineTuningJob.cancel(args) - added:
static method FineTuningJob.create(args) - added:
static method FineTuningJob.events(args) - added:
static method FineTuningJob.follow(args) - added:
static method FineTuningJob.get(args) - added:
static method FineTuningJob.list(args) - added:
static method FineTuningJob.results(args)
- removed:
class MissingDependencyError(Exception) - removed:
function assert_has_numpy() - removed:
function assert_has_pandas() - removed:
variable HAS_NUMPY - removed:
variable HAS_PANDAS - removed:
variable INSTRUCTIONS - removed:
variable NUMPY_INSTRUCTIONS - removed:
variable PANDAS_INSTRUCTIONS - removed:
variable numpy - removed:
variable pandas
- added:
class MissingDependencyError(Exception) - added:
variable INSTRUCTIONS - added:
variable NUMPY_INSTRUCTIONS
- added:
function assert_has_numpy() - added:
variable HAS_NUMPY - added:
variable NUMPY_INSTRUCTIONS - added:
variable numpy
- added:
function assert_has_pandas() - added:
variable HAS_PANDAS - added:
variable PANDAS_INSTRUCTIONS - added:
variable pandas
- changed:
async function aget_embedding(text: str, engine=…) -> List[float] → async function aget_embedding(text: str, engine=…, **kwargs) -> List[float] - changed:
async function aget_embeddings(list_of_text: List[str], engine=…) -> List[List[float]] → async function aget_embeddings(list_of_text: List[str], engine=…, **kwargs) -> List[List[float]] - changed:
function get_embedding(text: str, engine=…) -> List[float] → function get_embedding(text: str, engine=…, **kwargs) -> List[float] - changed:
function get_embeddings(list_of_text: List[str], engine=…) -> List[List[float]] → function get_embeddings(list_of_text: List[str], engine=…, **kwargs) -> List[List[float]]
- added:
property OpenAIResponse.operation_location -> Optional[str] - added:
property OpenAIResponse.retry_after -> Optional[int]