Skip to content

Upgrading openai 0.1 to 0.2

Unknown0.1.3 → 0.2.6New1

UnknownUpgrade verdict

DepDelta hasn't looked for the notes of 5 of 6 releases yet, so breaking changes can't be ruled out.

  • DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • changed: method APIRequestor.request_headers(api_key, method, content_type) → method APIRequestor.request_headers(api_key, method, extra)
  • added: export Branch
  • added: export Event
  • added: export File
  • added: export Plan
  • added: export Run
  • added: export Update
  • added: static method EngineAPIResource.update(api_key=…, api_base=…, idempotency_key=…, request_id=…, api_version=…, organization=…, **params)
  • added: class Branch(EngineAPIResource)
  • added: field Branch.OBJECT_NAME
  • added: method Branch.make_encoding()
  • added: static method Branch.class_url(engine)
  • added: static method Completion.create(*args, timeout=…, **kwargs)
  • changed: class Engine(ListableAPIResource) → class Engine(ListableAPIResource, UpdateableAPIResource)
  • changed: method Engine.generate(**params) → method Engine.generate(timeout=…, **params)
  • added: class Event(ListableAPIResource)
  • added: field Event.OBJECT_NAME
  • added: static method Event.list(stream=…, **params)
  • added: class File(ListableAPIResource)
  • added: field File.OBJECT_NAME
  • added: static method File.create(api_key=…, api_base=…, api_version=…, organization=…, **params)
  • added: class Plan(CreateableAPIResource, UpdateableAPIResource, ListableAPIResource, DeletableAPIResource)
  • added: field Plan.OBJECT_NAME
  • added: class Run(CreateableAPIResource, UpdateableAPIResource, ListableAPIResource)
  • added: field Run.OBJECT_NAME
  • added: class Update(EngineAPIResource)
  • added: field Update.OBJECT_NAME
  • removed: class Branch
  • removed: class Event
  • removed: class File
  • removed: class Plan
  • removed: class Run
  • removed: class Update
  • removed: static method Branch.create(args)
  • removed: static method Branch.get(args)
  • removed: static method Event.list(args)
  • removed: static method File.create(args)
  • removed: static method File.get(args)
  • removed: static method File.list(args)
  • removed: static method Plan.create(args)
  • removed: static method Plan.delete(args)
  • removed: static method Plan.get(args)
  • removed: static method Plan.list(args)
  • removed: static method Run.create(args)
  • removed: static method Run.get(args)
  • removed: static method Run.list(args)
  • removed: static method Update.create(args)
  • removed: static method Update.get(args)
  • added: static method Engine.update(args)
  • added: class TryAgain(OpenAIError)
  • added: class GZIPCompressedStream(io.RawIOBase)
  • added: constructor GZIPCompressedStream(stream, compression_level)
  • added: method GZIPCompressedStream.readable()
  • added: method GZIPCompressedStream.readinto(b)
  • added: property GZIPCompressedStream.compression_level
  • added: property GZIPCompressedStream.stream
  • added: class BufferReader(io.BytesIO)
  • added: class CancelledError(Exception)
  • added: constructor BufferReader(buf=…, desc=…)
  • added: constructor CancelledError(msg)
  • added: function MB(i)
  • added: function progress(total, desc)
  • added: method BufferReader.read(n=…)
  • added: function log_warn(message, **params)