Upgrading openai 0.16 to 0.18
Review needed0.16.0 → 0.18.1New3Changed1
Review neededUpgrade verdict
1 changed default.
In plain terms
- Nothing in this range needs changes to your code. It adds features and fixes.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
export Customer - added:
export Deployment
- added:
export Customer - added:
export Deployment
- added:
field APIResource.azure_deployments_prefix
- changed:
static method CreateableAPIResource.create(api_key=…, api_base=…, request_id=…, api_version=…, organization=…, **params) → static method CreateableAPIResource.create(api_key=…, api_base=…, api_type=…, request_id=…, api_version=…, organization=…, **params)
- changed:
static method DeletableAPIResource.delete(sid, **params) → static method DeletableAPIResource.delete(sid, api_type=…, api_version=…, **params)
- removed:
field EngineAPIResource.azure_api_prefix
- changed:
static method ListableAPIResource.list(api_key=…, request_id=…, api_version=…, organization=…, api_base=…, **params) → static method ListableAPIResource.list(api_key=…, request_id=…, api_version=…, organization=…, api_base=…, api_type=…, **params)
- added:
class Customer(OpenAIObject) - added:
static method Customer.create(customer, endpoint, **params) - added:
static method Customer.get_url(customer, endpoint)
- added:
class Deployment(CreateableAPIResource, ListableAPIResource, DeletableAPIResource) - added:
field Deployment.OBJECT_NAME - added:
field Deployment.engine_required - added:
static method Deployment.create(*args, **kwargs) - added:
static method Deployment.delete(*args, **kwargs) - added:
static method Deployment.list(*args, **kwargs) - added:
static method Deployment.retrieve(*args, **kwargs)
- changed:
static method File.create(file, purpose, model=…, api_key=…, api_base=…, api_version=…, organization=…, user_provided_filename=…) → static method File.create(file, purpose, model=…, api_key=…, api_base=…, api_type=…, api_version=…, organization=…, user_provided_filename=…) - changed:
static method File.download(id, api_key=…, api_base=…, api_version=…, organization=…) → static method File.download(id, api_key=…, api_base=…, api_type=…, api_version=…, organization=…) - changed:
static method File.find_matching_files(name, bytes, purpose, api_key=…, api_base=…, api_version=…, organization=…) → static method File.find_matching_files(name, bytes, purpose, api_key=…, api_base=…, api_type=…, api_version=…, organization=…)
- changed:
class FineTune(ListableAPIResource, CreateableAPIResource) → class FineTune(ListableAPIResource, CreateableAPIResource, DeletableAPIResource) - changed:
static method FineTune.cancel(id, api_key=…, request_id=…, **params) → static method FineTune.cancel(id, api_key=…, api_type=…, request_id=…, api_version=…, **params) - changed:
static method FineTune.stream_events(id, api_key=…, api_base=…, request_id=…, api_version=…, organization=…, **params) → static method FineTune.stream_events(id, api_key=…, api_base=…, api_type=…, request_id=…, api_version=…, organization=…, **params)