linkedin
linkedin copied to clipboard
Pin openai to latest version 1.11.0
trafficstars
This PR pins openai to the latest release 1.11.0.
Changelog
1.10.0
Full Changelog: [v1.9.0...v1.10.0](https://github.com/openai/openai-python/compare/v1.9.0...v1.10.0)
Features
* **api:** add text embeddings dimensions param ([1103](https://github.com/openai/openai-python/issues/1103)) ([94abfa0](https://github.com/openai/openai-python/commit/94abfa0f988c199ea95a9c870c4ae9808823186d))
* **azure:** proactively add audio/speech to deployment endpoints ([1099](https://github.com/openai/openai-python/issues/1099)) ([fdf8742](https://github.com/openai/openai-python/commit/fdf87429b45ceb47ae6fd068ab70cc07bcb8da44))
* **client:** enable follow redirects by default ([1100](https://github.com/openai/openai-python/issues/1100)) ([d325b7c](https://github.com/openai/openai-python/commit/d325b7ca594c2abaada536249b5633b106943333))
Chores
* **internal:** add internal helpers ([1092](https://github.com/openai/openai-python/issues/1092)) ([629bde5](https://github.com/openai/openai-python/commit/629bde5800d84735e22d924db23109a141f48644))
Refactors
* remove unnecessary builtin import ([1094](https://github.com/openai/openai-python/issues/1094)) ([504b7d4](https://github.com/openai/openai-python/commit/504b7d4a0b4715bd49a1a076a8d4868e51fb3351))
1.9.0
Full Changelog: [v1.8.0...v1.9.0](https://github.com/openai/openai-python/compare/v1.8.0...v1.9.0)
Features
* **api:** add usage to runs and run steps ([1090](https://github.com/openai/openai-python/issues/1090)) ([6c116df](https://github.com/openai/openai-python/commit/6c116dfbb0065d15050450df70e0e98fc8c80349))
Chores
* **internal:** fix typing util function ([1083](https://github.com/openai/openai-python/issues/1083)) ([3e60db6](https://github.com/openai/openai-python/commit/3e60db69f5d9187c4eb38451967259f534a36a82))
* **internal:** remove redundant client test ([1085](https://github.com/openai/openai-python/issues/1085)) ([947974f](https://github.com/openai/openai-python/commit/947974f5af726e252b7b12c863743e50f41b79d3))
* **internal:** share client instances between all tests ([1088](https://github.com/openai/openai-python/issues/1088)) ([05cd753](https://github.com/openai/openai-python/commit/05cd7531d40774d05c52b14dee54d137ac1452a3))
* **internal:** speculative retry-after-ms support ([1086](https://github.com/openai/openai-python/issues/1086)) ([36a7576](https://github.com/openai/openai-python/commit/36a7576a913be8509a3cf6f262543083b485136e))
* lazy load raw resource class properties ([1087](https://github.com/openai/openai-python/issues/1087)) ([d307127](https://github.com/openai/openai-python/commit/d30712744be07461e86763705c03c3495eadfc35))
1.8.0
Full Changelog: [v1.7.2...v1.8.0](https://github.com/openai/openai-python/compare/v1.7.2...v1.8.0)
Features
* **client:** add support for streaming raw responses ([1072](https://github.com/openai/openai-python/issues/1072)) ([0e93c3b](https://github.com/openai/openai-python/commit/0e93c3b5bc9cfa041e91962fd82c0d9358125024))
Bug Fixes
* **client:** ensure path params are non-empty ([1075](https://github.com/openai/openai-python/issues/1075)) ([9a25149](https://github.com/openai/openai-python/commit/9a2514997c2ddccbec9df8be3773e83271f1dab8))
* **proxy:** prevent recursion errors when debugging pycharm ([1076](https://github.com/openai/openai-python/issues/1076)) ([3d78798](https://github.com/openai/openai-python/commit/3d787987cf7625b5b502cb0b63a37d55956eaf1d))
Chores
* add write_to_file binary helper method ([1077](https://github.com/openai/openai-python/issues/1077)) ([c622c6a](https://github.com/openai/openai-python/commit/c622c6aaf2ae7dc62bd6cdfc053204c5dc3293ac))
1.7.2
Full Changelog: [v1.7.1...v1.7.2](https://github.com/openai/openai-python/compare/v1.7.1...v1.7.2)
Documentation
* **readme:** improve api reference ([1065](https://github.com/openai/openai-python/issues/1065)) ([745b9e0](https://github.com/openai/openai-python/commit/745b9e08ae0abb8bf4cd87ed40fa450d9ad81ede))
Refactors
* **api:** remove deprecated endpoints ([1067](https://github.com/openai/openai-python/issues/1067)) ([199ddcd](https://github.com/openai/openai-python/commit/199ddcdca00c136e4e0c3ff16521eff22acf2a1a))
1.7.1
Full Changelog: [v1.7.0...v1.7.1](https://github.com/openai/openai-python/compare/v1.7.0...v1.7.1)
Chores
* **client:** improve debug logging for failed requests ([1060](https://github.com/openai/openai-python/issues/1060)) ([cf9a651](https://github.com/openai/openai-python/commit/cf9a6517b4aa0f24bcbe143c54ea908d43dfda92))
1.7.0
Full Changelog: [v1.6.1...v1.7.0](https://github.com/openai/openai-python/compare/v1.6.1...v1.7.0)
Features
* add `None` default value to nullable response properties ([1043](https://github.com/openai/openai-python/issues/1043)) ([d94b4d3](https://github.com/openai/openai-python/commit/d94b4d3d0adcd1a49a1c25cc9730cef013a3e9c9))
Bug Fixes
* **client:** correctly use custom http client auth ([1028](https://github.com/openai/openai-python/issues/1028)) ([3d7d93e](https://github.com/openai/openai-python/commit/3d7d93e951eb7fe09cd9d94d10a62a020398c7f9))
Chores
* add .keep files for examples and custom code directories ([1057](https://github.com/openai/openai-python/issues/1057)) ([7524097](https://github.com/openai/openai-python/commit/7524097a47af0fdc8b560186ef3b111b59430741))
* **internal:** bump license ([1037](https://github.com/openai/openai-python/issues/1037)) ([d828527](https://github.com/openai/openai-python/commit/d828527540ebd97679075f48744818f06311b0cb))
* **internal:** loosen type var restrictions ([1049](https://github.com/openai/openai-python/issues/1049)) ([e00876b](https://github.com/openai/openai-python/commit/e00876b20b93038450eb317899d8775c7661b8eb))
* **internal:** replace isort with ruff ([1042](https://github.com/openai/openai-python/issues/1042)) ([f1fbc9c](https://github.com/openai/openai-python/commit/f1fbc9c0d62e7d89ab32c8bdfa39cd94b560690b))
* **internal:** update formatting ([1041](https://github.com/openai/openai-python/issues/1041)) ([2e9ecee](https://github.com/openai/openai-python/commit/2e9ecee9bdfa8ec33b1b1527d5187483b700fad3))
* **src:** fix typos ([988](https://github.com/openai/openai-python/issues/988)) ([6a8b806](https://github.com/openai/openai-python/commit/6a8b80624636f9a0e5ada151b2509710a6f74808))
* use property declarations for resource members ([1047](https://github.com/openai/openai-python/issues/1047)) ([131f6bc](https://github.com/openai/openai-python/commit/131f6bc6b0ccf79119096057079e10906b3d4678))
Documentation
* fix docstring typos ([1022](https://github.com/openai/openai-python/issues/1022)) ([ad3fd2c](https://github.com/openai/openai-python/commit/ad3fd2cd19bf91f94473e368554dff39a8f9ad16))
* improve audio example to show how to stream to a file ([1017](https://github.com/openai/openai-python/issues/1017)) ([d45ed7f](https://github.com/openai/openai-python/commit/d45ed7f0513b167555ae875f1877fa205c5790d2))
1.6.1
Full Changelog: [v1.6.0...v1.6.1](https://github.com/openai/openai-python/compare/v1.6.0...v1.6.1)
Chores
* **internal:** add bin script ([1001](https://github.com/openai/openai-python/issues/1001)) ([99ffbda](https://github.com/openai/openai-python/commit/99ffbda279bf4c159511fb96b1d5bb688af25437))
* **internal:** use ruff instead of black for formatting ([1008](https://github.com/openai/openai-python/issues/1008)) ([ceaf9a0](https://github.com/openai/openai-python/commit/ceaf9a06fbd1a846756bb72cce50a69c8cc20bd3))
1.6.0
Full Changelog: [v1.5.0...v1.6.0](https://github.com/openai/openai-python/compare/v1.5.0...v1.6.0)
Features
* **api:** add additional instructions for runs ([995](https://github.com/openai/openai-python/issues/995)) ([7bf9b75](https://github.com/openai/openai-python/commit/7bf9b75067905449e83e828c12eb384022cff6ca))
Chores
* **cli:** fix typo in completions ([985](https://github.com/openai/openai-python/issues/985)) ([d1e9e8f](https://github.com/openai/openai-python/commit/d1e9e8f24df366bb7b796c55a98247c025d229f5))
* **cli:** fix typo in completions ([986](https://github.com/openai/openai-python/issues/986)) ([626bc34](https://github.com/openai/openai-python/commit/626bc34d82a7057bac99f8b556f9e5f60c261ee7))
* **internal:** fix binary response tests ([983](https://github.com/openai/openai-python/issues/983)) ([cfb7e30](https://github.com/openai/openai-python/commit/cfb7e308393f2e912e959dd10d68096dd5b3ab9c))
* **internal:** fix typos ([993](https://github.com/openai/openai-python/issues/993)) ([3b338a4](https://github.com/openai/openai-python/commit/3b338a401b206618774291ff8137deb0cc5f6b4c))
* **internal:** minor utils restructuring ([992](https://github.com/openai/openai-python/issues/992)) ([5ba576a](https://github.com/openai/openai-python/commit/5ba576ae38d2c4c4d32a21933e0d68e0bc2f0d49))
* **package:** bump minimum typing-extensions to 4.7 ([994](https://github.com/openai/openai-python/issues/994)) ([0c2da84](https://github.com/openai/openai-python/commit/0c2da84badf416f8b2213983f68bd2b6f9e52f2b))
* **streaming:** update constructor to use direct client names ([991](https://github.com/openai/openai-python/issues/991)) ([6c3427d](https://github.com/openai/openai-python/commit/6c3427dac8c414658516aeb4caf5d5fd8b11097b))
Documentation
* upgrade models in examples to latest version ([989](https://github.com/openai/openai-python/issues/989)) ([cedd574](https://github.com/openai/openai-python/commit/cedd574e5611f3e71e92b523a72ba87bcfe546f1))
1.5.0
Full Changelog: [v1.4.0...v1.5.0](https://github.com/openai/openai-python/compare/v1.4.0...v1.5.0)
Features
* **api:** add token logprobs to chat completions ([980](https://github.com/openai/openai-python/issues/980)) ([f50e962](https://github.com/openai/openai-python/commit/f50e962b930bd682a4299143b2995337e8571273))
Chores
* **ci:** run release workflow once per day ([978](https://github.com/openai/openai-python/issues/978)) ([215476a](https://github.com/openai/openai-python/commit/215476a0b99e0c92ab3e44ddd25de207af32d160))
1.4.0
Full Changelog: [v1.3.9...v1.4.0](https://github.com/openai/openai-python/compare/v1.3.9...v1.4.0)
Features
* **api:** add optional `name` argument + improve docs ([972](https://github.com/openai/openai-python/issues/972)) ([7972010](https://github.com/openai/openai-python/commit/7972010615820099f662c02821cfbd59e7d6ea44))
1.3.9
Full Changelog: [v1.3.8...v1.3.9](https://github.com/openai/openai-python/compare/v1.3.8...v1.3.9)
Documentation
* improve README timeout comment ([964](https://github.com/openai/openai-python/issues/964)) ([3c3ed5e](https://github.com/openai/openai-python/commit/3c3ed5edd938a9333e8d2fa47cb4b44178eef89a))
* small Improvement in the async chat response code ([959](https://github.com/openai/openai-python/issues/959)) ([fb9d0a3](https://github.com/openai/openai-python/commit/fb9d0a358fa232043d9d5c149b6a888d50127c7b))
* small streaming readme improvements ([962](https://github.com/openai/openai-python/issues/962)) ([f3be2e5](https://github.com/openai/openai-python/commit/f3be2e5cc24988471e6cedb3e34bdfd3123edc63))
Refactors
* **client:** simplify cleanup ([966](https://github.com/openai/openai-python/issues/966)) ([5c138f4](https://github.com/openai/openai-python/commit/5c138f4a7947e5b4aae8779fae78ca51269b355a))
* simplify internal error handling ([968](https://github.com/openai/openai-python/issues/968)) ([d187f6b](https://github.com/openai/openai-python/commit/d187f6b6e4e646cca39c6ca35c618aa5c1bfbd61))
1.3.8
Full Changelog: [v1.3.7...v1.3.8](https://github.com/openai/openai-python/compare/v1.3.7...v1.3.8)
Bug Fixes
* avoid leaking memory when Client.with_options is used ([956](https://github.com/openai/openai-python/issues/956)) ([e37ecca](https://github.com/openai/openai-python/commit/e37ecca04040ce946822a7e40f5604532a59ee85))
* **errors:** properly assign APIError.body ([949](https://github.com/openai/openai-python/issues/949)) ([c70e194](https://github.com/openai/openai-python/commit/c70e194f0a253409ec851607ae5219e3b5a8c442))
* **pagination:** use correct type hint for .object ([943](https://github.com/openai/openai-python/issues/943)) ([23fe7ee](https://github.com/openai/openai-python/commit/23fe7ee48a71539b0d1e95ceff349264aae4090e))
Chores
* **internal:** enable more lint rules ([945](https://github.com/openai/openai-python/issues/945)) ([2c8add6](https://github.com/openai/openai-python/commit/2c8add64a261dea731bd162bb0cca222518d5440))
* **internal:** reformat imports ([939](https://github.com/openai/openai-python/issues/939)) ([ec65124](https://github.com/openai/openai-python/commit/ec651249de2f4e4cf959f816e1b52f03d3b1017a))
* **internal:** reformat imports ([944](https://github.com/openai/openai-python/issues/944)) ([5290639](https://github.com/openai/openai-python/commit/52906391c9b6633656ec7934e6bbac553ec667cd))
* **internal:** update formatting ([941](https://github.com/openai/openai-python/issues/941)) ([8e5a156](https://github.com/openai/openai-python/commit/8e5a156d555fe68731ba0604a7455cc03cb451ce))
* **package:** lift anyio v4 restriction ([927](https://github.com/openai/openai-python/issues/927)) ([be0438a](https://github.com/openai/openai-python/commit/be0438a2e399bb0e0a94907229d02fc61ab479c0))
Documentation
* fix typo in example ([950](https://github.com/openai/openai-python/issues/950)) ([54f0ce0](https://github.com/openai/openai-python/commit/54f0ce0000abe32e97ae400f2975c028b8a84273))
1.3.7
Full Changelog: [v1.3.6...v1.3.7](https://github.com/openai/openai-python/compare/v1.3.6...v1.3.7)
Bug Fixes
* **client:** correct base_url setter implementation ([919](https://github.com/openai/openai-python/issues/919)) ([135d9cf](https://github.com/openai/openai-python/commit/135d9cf2820f1524764bf536a9322830bdcd5875))
* **client:** don't cause crashes when inspecting the module ([897](https://github.com/openai/openai-python/issues/897)) ([db029a5](https://github.com/openai/openai-python/commit/db029a596c90b1af4ef0bfb1cdf31f54b2f5755d))
* **client:** ensure retried requests are closed ([902](https://github.com/openai/openai-python/issues/902)) ([e025e6b](https://github.com/openai/openai-python/commit/e025e6bee44ea145d948869ef0c79bac0c376b9f))
Chores
* **internal:** add tests for proxy change ([899](https://github.com/openai/openai-python/issues/899)) ([71a13d0](https://github.com/openai/openai-python/commit/71a13d0c70d105b2b97720c72a1003b942cda2ae))
* **internal:** remove unused type var ([915](https://github.com/openai/openai-python/issues/915)) ([4233bcd](https://github.com/openai/openai-python/commit/4233bcdae5f467f10454fcc008a6e728fa846830))
* **internal:** replace string concatenation with f-strings ([908](https://github.com/openai/openai-python/issues/908)) ([663a8f6](https://github.com/openai/openai-python/commit/663a8f6dead5aa523d1e8779e75af1dabb1690c4))
* **internal:** replace string concatenation with f-strings ([909](https://github.com/openai/openai-python/issues/909)) ([caab767](https://github.com/openai/openai-python/commit/caab767156375114078cf8d85031863361326b5f))
Documentation
* fix typo in readme ([904](https://github.com/openai/openai-python/issues/904)) ([472cd44](https://github.com/openai/openai-python/commit/472cd44e45a45b0b4f12583a5402e8aeb121d7a2))
* **readme:** update example snippets ([907](https://github.com/openai/openai-python/issues/907)) ([bbb648e](https://github.com/openai/openai-python/commit/bbb648ef81eb11f81b457e2cbf33a832f4d29a76))
1.3.6
Full Changelog: [v1.3.5...v1.3.6](https://github.com/openai/openai-python/compare/v1.3.5...v1.3.6)
Chores
* **deps:** bump mypy to v1.7.1 ([891](https://github.com/openai/openai-python/issues/891)) ([11fcb2a](https://github.com/openai/openai-python/commit/11fcb2a3cd4205b307c13c65ad47d9e315b0084d))
* **internal:** send more detailed x-stainless headers ([877](https://github.com/openai/openai-python/issues/877)) ([69e0549](https://github.com/openai/openai-python/commit/69e054947d587ff2548b101ece690d21d3c38f74))
Documentation
* **readme:** minor updates ([894](https://github.com/openai/openai-python/issues/894)) ([5458457](https://github.com/openai/openai-python/commit/54584572df4c2a086172d812c6acb84e3405328b))
* **readme:** update examples ([893](https://github.com/openai/openai-python/issues/893)) ([124da87](https://github.com/openai/openai-python/commit/124da8720c44d40c083d29179f46a265761c1f4f))
* update readme code snippet ([890](https://github.com/openai/openai-python/issues/890)) ([c522f21](https://github.com/openai/openai-python/commit/c522f21e2a685454185d57e462e74a28499460f9))
1.3.5
Full Changelog: [v1.3.4...v1.3.5](https://github.com/openai/openai-python/compare/v1.3.4...v1.3.5)
Bug Fixes
* **azure:** ensure custom options can be passed to copy ([858](https://github.com/openai/openai-python/issues/858)) ([05ca0d6](https://github.com/openai/openai-python/commit/05ca0d68e84d40f975614d27cb52c0f382104377))
Chores
* **package:** add license classifier ([826](https://github.com/openai/openai-python/issues/826)) ([bec004d](https://github.com/openai/openai-python/commit/bec004d030b277e05bdd51f66fae1e881291c30b))
* **package:** add license classifier metadata ([860](https://github.com/openai/openai-python/issues/860)) ([80dffb1](https://github.com/openai/openai-python/commit/80dffb17ff0a10b0b9ea704c4247521e48b68408))
1.3.4
Full Changelog: [v1.3.3...v1.3.4](https://github.com/openai/openai-python/compare/v1.3.3...v1.3.4)
Bug Fixes
* **client:** attempt to parse unknown json content types ([854](https://github.com/openai/openai-python/issues/854)) ([ba50466](https://github.com/openai/openai-python/commit/ba5046611029a67714d5120b9cc6a3c7fecce10c))
Chores
* **examples:** fix static types in assistants example ([852](https://github.com/openai/openai-python/issues/852)) ([5b47b2c](https://github.com/openai/openai-python/commit/5b47b2c542b9b4fb143af121022e2d5ad0890ef4))
1.3.3
Full Changelog: [v1.3.2...v1.3.3](https://github.com/openai/openai-python/compare/v1.3.2...v1.3.3)
Chores
* **internal:** update type hint for helper function ([846](https://github.com/openai/openai-python/issues/846)) ([9a5966c](https://github.com/openai/openai-python/commit/9a5966c70fce620a183de580938556730564a405))
1.3.2
Full Changelog: [v1.3.1...v1.3.2](https://github.com/openai/openai-python/compare/v1.3.1...v1.3.2)
Documentation
* **readme:** minor updates ([841](https://github.com/openai/openai-python/issues/841)) ([7273ad1](https://github.com/openai/openai-python/commit/7273ad1510043d3e264969c72403a1a237401910))
1.3.1
Full Changelog: [v1.3.0...v1.3.1](https://github.com/openai/openai-python/compare/v1.3.0...v1.3.1)
Chores
* **internal:** add publish script ([838](https://github.com/openai/openai-python/issues/838)) ([3ea41bc](https://github.com/openai/openai-python/commit/3ea41bcede374c4e5c92d85108281637c3382e12))
1.3.0
Add support for function calling in the chat completions api
Announcement: https://openai.com/blog/function-calling-and-other-api-updates
Documentation: https://platform.openai.com/docs/guides/gpt/function-calling
1.2.4
Full Changelog: [v1.2.3...v1.2.4](https://github.com/openai/openai-python/compare/v1.2.3...v1.2.4)
Bug Fixes
* **client:** retry if SSLWantReadError occurs in the async client ([804](https://github.com/openai/openai-python/issues/804)) ([be82288](https://github.com/openai/openai-python/commit/be82288f3c88c10c9ac20ba3b8cb53b5c7a4e2f9))
1.2.3
Full Changelog: [v1.2.2...v1.2.3](https://github.com/openai/openai-python/compare/v1.2.2...v1.2.3)
Bug Fixes
* **cli/audio:** file format detection failing for whisper ([733](https://github.com/openai/openai-python/issues/733)) ([01079d6](https://github.com/openai/openai-python/commit/01079d6dca13e0ec158dff81e0706d8a9d6c02ef))
* **client:** correctly flush the stream response body ([771](https://github.com/openai/openai-python/issues/771)) ([0d52731](https://github.com/openai/openai-python/commit/0d5273165c96286f8456ae04b9eb0de5144e52f8))
* **client:** serialise pydantic v1 default fields correctly in params ([776](https://github.com/openai/openai-python/issues/776)) ([d4c49ad](https://github.com/openai/openai-python/commit/d4c49ad2be9c0d926eece5fd33f6836279ea21e2))
* **models:** mark unknown fields as set in pydantic v1 ([772](https://github.com/openai/openai-python/issues/772)) ([ae032a1](https://github.com/openai/openai-python/commit/ae032a1ba4efa72284a572bfaf0305af50142835))
* prevent IndexError in fine-tunes CLI ([768](https://github.com/openai/openai-python/issues/768)) ([42f1633](https://github.com/openai/openai-python/commit/42f16332cf0f96f243f9797d6406283865254355))
Documentation
* reword package description ([764](https://github.com/openai/openai-python/issues/764)) ([9ff10df](https://github.com/openai/openai-python/commit/9ff10df30ca2d44978eb5f982ccf039c9f1bf1bf))
1.2.2
Full Changelog: [v1.2.1...v1.2.2](https://github.com/openai/openai-python/compare/v1.2.1...v1.2.2)
Bug Fixes
* **client:** correctly assign error properties ([759](https://github.com/openai/openai-python/issues/759)) ([ef264d2](https://github.com/openai/openai-python/commit/ef264d2293b77784f69039291ca2a17a454851cb))
Documentation
* **readme:** link to migration guide ([761](https://github.com/openai/openai-python/issues/761)) ([ddde839](https://github.com/openai/openai-python/commit/ddde8392be19e7ad77280374806667ecaef612da))
1.2.1
Full Changelog: [v1.2.0...v1.2.1](https://github.com/openai/openai-python/compare/v1.2.0...v1.2.1)
Documentation
* **readme:** fix nested params example ([756](https://github.com/openai/openai-python/issues/756)) ([ffbe5ec](https://github.com/openai/openai-python/commit/ffbe5eca0f8790ebcdb27ffe845da178a3ef4c45))
Refactors
* **client:** deprecate files.retrieve_content in favour of files.content ([753](https://github.com/openai/openai-python/issues/753)) ([eea5bc1](https://github.com/openai/openai-python/commit/eea5bc173466f63a6e84bd2d741b4873ca056b4c))
1.2.0
Full Changelog: [v1.1.2...v1.2.0](https://github.com/openai/openai-python/compare/v1.1.2...v1.2.0)
Features
* **api:** unify function types ([741](https://github.com/openai/openai-python/issues/741)) ([ed16c4d](https://github.com/openai/openai-python/commit/ed16c4d2fec6cf4e33235d82b05ed9a777752204))
* **client:** support passing chunk size for binary responses ([747](https://github.com/openai/openai-python/issues/747)) ([c0c89b7](https://github.com/openai/openai-python/commit/c0c89b77a69ef098900e3a194894efcf72085d36))
Bug Fixes
* **api:** update embedding response object type ([739](https://github.com/openai/openai-python/issues/739)) ([29182c4](https://github.com/openai/openai-python/commit/29182c4818e2c56f46e961dba33e31dc30c25519))
* **client:** show a helpful error message if the v0 API is used ([743](https://github.com/openai/openai-python/issues/743)) ([920567c](https://github.com/openai/openai-python/commit/920567cb04df48a7f6cd2a3402a0b1f172c6290e))
Chores
* **internal:** improve github devcontainer setup ([737](https://github.com/openai/openai-python/issues/737)) ([0ac1abb](https://github.com/openai/openai-python/commit/0ac1abb07ec687a4f7b1150be10054dbd6e7cfbc))
Refactors
* **api:** rename FunctionObject to FunctionDefinition ([746](https://github.com/openai/openai-python/issues/746)) ([1afd138](https://github.com/openai/openai-python/commit/1afd13856c0e586ecbde8b24fe4f4bad9beeefdf))
1.1.2
Full Changelog: [v1.1.1...v1.1.2](https://github.com/openai/openai-python/compare/v1.1.1...v1.1.2)
Bug Fixes
* **api:** accidentally required params, add new models & other fixes ([729](https://github.com/openai/openai-python/issues/729)) ([03c3e03](https://github.com/openai/openai-python/commit/03c3e03fc758cf4e59b81edf73a2618d80b560b7))
* asssitant_deleted -> assistant_deleted ([711](https://github.com/openai/openai-python/issues/711)) ([287b51e](https://github.com/openai/openai-python/commit/287b51e4f7cede9667c118007de1275eb04772c6))
Chores
* **docs:** fix github links ([719](https://github.com/openai/openai-python/issues/719)) ([0cda8ca](https://github.com/openai/openai-python/commit/0cda8cab718d53d7dc0604d9fac52838c9391565))
* **internal:** fix some typos ([718](https://github.com/openai/openai-python/issues/718)) ([894ad87](https://github.com/openai/openai-python/commit/894ad874aaa5d74530f561896ff31f68693418da))
1.1.0
Full Changelog: [v1.0.1...v1.1.0](https://github.com/openai/openai-python/compare/v1.0.1...v1.1.0)
Features
* **api:** releases from DevDay; assistants, multimodality, tools, dall-e-3, tts, and more 682
1.0.0
A new major version of the openai package 🎉
See the [v1.0.0 discussion](https://github.com/openai/openai-python/discussions/631) for a list of breaking changes and migration guide.
0.28.1
What's Changed
* Update README.md to fix the fine-tuning model delete example by logankilpatrick in https://github.com/openai/openai-python/pull/601
* Revamp README to make examples front and center by logankilpatrick in https://github.com/openai/openai-python/pull/603
* Update pointer to Jupyter notebooks as finetuning doesn't exist by shapor in https://github.com/openai/openai-python/pull/477
* Update the wandb logger by morganmcg1 in https://github.com/openai/openai-python/pull/590
* [azure] enable audio/whisper support by kristapratico in https://github.com/openai/openai-python/pull/613
* Update nested_resource_class_methods.py by 00arthur00 in https://github.com/openai/openai-python/pull/612
* Fix: SSE Stream parser expects additional space after colon "data:" by michaelfeil in https://github.com/openai/openai-python/pull/559
* 🐛 fixed asyncio streaming bugs by hynky1999 in https://github.com/openai/openai-python/pull/584
* Bugfix: Add param positional arg to InvalidRequestError by wdhorton in https://github.com/openai/openai-python/pull/573
New Contributors
* shapor made their first contribution in https://github.com/openai/openai-python/pull/477
* morganmcg1 made their first contribution in https://github.com/openai/openai-python/pull/590
* 00arthur00 made their first contribution in https://github.com/openai/openai-python/pull/612
* michaelfeil made their first contribution in https://github.com/openai/openai-python/pull/559
* hynky1999 made their first contribution in https://github.com/openai/openai-python/pull/584
* wdhorton made their first contribution in https://github.com/openai/openai-python/pull/573
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.10...v0.28.1
0.28.0
What's Changed
* [fine_tuning] fix pagination for auto-generated list_events (188) by jhallard in https://github.com/openai/openai-python/pull/597
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.10...v0.28.0
0.27.10
What's Changed
* Update README.md with fine-tuning examples by logankilpatrick in https://github.com/openai/openai-python/pull/583
* [fine_tuning] Add CLI for fine_tuning.jobs by jhallard in https://github.com/openai/openai-python/pull/592
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.9...v0.27.10
0.27.9
What's Changed
* catch asyncio.TimeoutError in _interpret_async_response by vik-goel in https://github.com/openai/openai-python/pull/489
* Add api_version and organization field in Audio API requests by yutian-openai in https://github.com/openai/openai-python/pull/514
* Update docstring in chat_completion API resource by athyuttamre in https://github.com/openai/openai-python/pull/527
* Update chatml.md by logankilpatrick in https://github.com/openai/openai-python/pull/580
* Update README.md to show newer completions models by logankilpatrick in https://github.com/openai/openai-python/pull/578
* doc: fix readme azure example code by whysage in https://github.com/openai/openai-python/pull/571
* Updates to the fine tuning SDK + addition of pagination primitives by jhallard in https://github.com/openai/openai-python/pull/582
New Contributors
* vik-goel made their first contribution in https://github.com/openai/openai-python/pull/489
* yutian-openai made their first contribution in https://github.com/openai/openai-python/pull/514
* whysage made their first contribution in https://github.com/openai/openai-python/pull/571
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.8...v0.27.9
0.27.8
What's Changed
* Periodically close open `request.Sessions` to avoid buggy interaction with Docker Desktop by jhallard in https://github.com/openai/openai-python/pull/478
* Support for Azure Dall-e by glecaros in https://github.com/openai/openai-python/pull/439
* Bump version to 0.27.8 by jhallard in https://github.com/openai/openai-python/pull/480
New Contributors
* jhallard made their first contribution in https://github.com/openai/openai-python/pull/478
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.7...v0.27.8
0.27.7
What's Changed
* bump version by mpokrass in https://github.com/openai/openai-python/pull/428
* Embeddings util - remove unnecessary sort by index by ravwojdyla in https://github.com/openai/openai-python/pull/430
* allow api_version to be set by environment variable by kristapratico in https://github.com/openai/openai-python/pull/438
* Fixed CLI streamed chat completions. by MikeAmy in https://github.com/openai/openai-python/pull/319
* Update README to use gpt-3.5-turbo by default by athyuttamre in https://github.com/openai/openai-python/pull/441
* Updating code and readme to reference the Azure's newest 2023-05-15 API Version by glecaros in https://github.com/openai/openai-python/pull/452
* Update version.py by hallacy in https://github.com/openai/openai-python/pull/458
New Contributors
* ravwojdyla made their first contribution in https://github.com/openai/openai-python/pull/430
* MikeAmy made their first contribution in https://github.com/openai/openai-python/pull/319
* glecaros made their first contribution in https://github.com/openai/openai-python/pull/452
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.6...v0.27.7
v0.27.6v2
What's Changed
* allow for passing requests.Session by kristapratico in https://github.com/openai/openai-python/pull/390
* fix error messages mentioning support by mpokrass in https://github.com/openai/openai-python/pull/427
* bump version by mpokrass in https://github.com/openai/openai-python/pull/428
New Contributors
* kristapratico made their first contribution in https://github.com/openai/openai-python/pull/390
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.5...v0.27.6v2
0.27.5
What's Changed
* Speed up imports by hallacy in https://github.com/openai/openai-python/pull/386
* Add proxy argument support for openai client by adlternative in https://github.com/openai/openai-python/pull/313
* Add `__version__` in `__init__.py` by harupy in https://github.com/openai/openai-python/pull/382
* Fix grabbing value out of header by lukemetz in https://github.com/openai/openai-python/pull/388
* add case to handle indented .json parsing (175) by joe-at-openai in https://github.com/openai/openai-python/pull/389
* Add `openai/datalib/__init__.py` by harupy in https://github.com/openai/openai-python/pull/404
* updated the link for OpenAI API by Someet-Git in https://github.com/openai/openai-python/pull/400
* Pass in keyword arguments in embedding utility functions by tuliren in https://github.com/openai/openai-python/pull/405
* Bump to 0.27.5 by hallacy in https://github.com/openai/openai-python/pull/417
New Contributors
* adlternative made their first contribution in https://github.com/openai/openai-python/pull/313
* harupy made their first contribution in https://github.com/openai/openai-python/pull/382
* lukemetz made their first contribution in https://github.com/openai/openai-python/pull/388
* Someet-Git made their first contribution in https://github.com/openai/openai-python/pull/400
* tuliren made their first contribution in https://github.com/openai/openai-python/pull/405
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.4...v0.27.5
0.27.4
What's Changed
* [Azure] CLI: Add support for azure openai chat completion API by iaalm in https://github.com/openai/openai-python/pull/359
New Contributors
* iaalm made their first contribution in https://github.com/openai/openai-python/pull/359
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.3...v0.27.4
0.27.3
What's Changed
* Update README.md openai.error.TimeoutError -> openai.error.Timeout by kingychiu in https://github.com/openai/openai-python/pull/301
* 'let us know at on our support page' to 'let us know on our support p… by MuleHakim in https://github.com/openai/openai-python/pull/308
* Add cli version arg by FizzyAgent in https://github.com/openai/openai-python/pull/298
* [Azure] Version '2023-03-15-preview' as default by cmurtz-msft in https://github.com/openai/openai-python/pull/335
* doc: add symbol comma into chatml.md by liuliuOD in https://github.com/openai/openai-python/pull/329
* Handle OpenAIErrors created with 'str' json_body by tot0 in https://github.com/openai/openai-python/pull/356
* CLI: Fix missing max_tokens arg of chat_completions.create by jhen0409 in https://github.com/openai/openai-python/pull/317
* Fix a couple of grammar mistakes in chatml.md by OTheDev in https://github.com/openai/openai-python/pull/316
* openai.proxy settings should override env var HTTPS_PROXY by bojieli in https://github.com/openai/openai-python/pull/339
* [audio] Use supplied api key by mpokrass in https://github.com/openai/openai-python/pull/369
New Contributors
* kingychiu made their first contribution in https://github.com/openai/openai-python/pull/301
* MuleHakim made their first contribution in https://github.com/openai/openai-python/pull/308
* liuliuOD made their first contribution in https://github.com/openai/openai-python/pull/329
* tot0 made their first contribution in https://github.com/openai/openai-python/pull/356
* jhen0409 made their first contribution in https://github.com/openai/openai-python/pull/317
* OTheDev made their first contribution in https://github.com/openai/openai-python/pull/316
* bojieli made their first contribution in https://github.com/openai/openai-python/pull/339
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.2...v0.27.3
0.27.2
What's Changed
* Create wheels by hallacy in https://github.com/openai/openai-python/pull/297
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.1...v0.27.2
0.27.1
What's Changed
* Create chatml.md by logankilpatrick in https://github.com/openai/openai-python/pull/238
* Update chatml.md by gdb in https://github.com/openai/openai-python/pull/244
* Typo, line 93 by DavidThayer in https://github.com/openai/openai-python/pull/259
* Fixed a tiny typo in chatml.md (iteract -> interact) by Ynng in https://github.com/openai/openai-python/pull/249
* fixed a minor typo in chatml.md by kantasv in https://github.com/openai/openai-python/pull/260
* Use kwargs by FizzyAgent in https://github.com/openai/openai-python/pull/236
* Improve consistency of the SQL example pointer by ethanknights in https://github.com/openai/openai-python/pull/273
* fix:fix response format bug by guaguaguaxia in https://github.com/openai/openai-python/pull/282
* Bump version by mpokrass in https://github.com/openai/openai-python/pull/289
New Contributors
* DavidThayer made their first contribution in https://github.com/openai/openai-python/pull/259
* Ynng made their first contribution in https://github.com/openai/openai-python/pull/249
* kantasv made their first contribution in https://github.com/openai/openai-python/pull/260
* FizzyAgent made their first contribution in https://github.com/openai/openai-python/pull/236
* ethanknights made their first contribution in https://github.com/openai/openai-python/pull/273
* guaguaguaxia made their first contribution in https://github.com/openai/openai-python/pull/282
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.27.0...v0.27.1
0.27.0
What's Changed
- Fixes for embedding requirements install by eavanvalkenburg in https://github.com/openai/openai-python/pull/227
- Add ChatCompletions and Audio endpoints by athyuttamre in https://github.com/openai/openai-python/pull/237
**Full changelog:** https://github.com/openai/openai-python/compare/v0.26.5...v0.27.0
0.26.5
What's Changed
- Fix JSON parsing issue when async streaming by athyuttamre in https://github.com/openai/openai-python/pull/216
- Remove mention of support email by logankilpatrick in https://github.com/openai/openai-python/pull/215
- Create issue templates by logankilpatrick in https://github.com/openai/openai-python/pull/214
- Add 'bytes' argument to __find_matching_files() by skozlovf in https://github.com/openai/openai-python/pull/207
- Replace self with cls in classmethods for consistency by tkppro in https://github.com/openai/openai-python/pull/211
**Full changelog:** https://github.com/openai/openai-python/compare/v0.26.4...v0.26.5
0.26.4
What's Changed
* Add license metadata for pypi by bringhurst in https://github.com/openai/openai-python/pull/198
* Fix invalid pyproject.toml file and move to setup.cfg by ddeville in https://github.com/openai/openai-python/pull/201
* Bump version to 0.26.4 by ddeville in https://github.com/openai/openai-python/pull/204
New Contributors
* bringhurst made their first contribution in https://github.com/openai/openai-python/pull/198
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.26.3...v0.26.4
0.26.3
What's Changed
* Modify README to clarify documentation section by logankilpatrick in https://github.com/openai/openai-python/pull/193
* fix(download): Fix download url by reverting change by thejaminator in https://github.com/openai/openai-python/pull/197
* Bump to version 0.26.3 by hallacy in https://github.com/openai/openai-python/pull/200
New Contributors
* logankilpatrick made their first contribution in https://github.com/openai/openai-python/pull/193
* thejaminator made their first contribution in https://github.com/openai/openai-python/pull/197
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.26.2...v0.26.3
0.26.2
What's Changed
- Various improvements to the fine-tuning data preparation tool in the CLI in https://github.com/openai/openai-python/pull/190
- Provide a helpful error message if there was a problem reading the file
- Better handling of cases where a jsonl file has a json format, and when a json file has a jsonl format (this is needed since a json formatted file can be read as a single line jsonl)
- In the case where the input file extension is not in the list of valid permissible file extensions, provide the full list of allowable file extensions
- If DataFrame column names are integers they get converted to str to produce a better error message
- Adds a `fine_tunes.delete -i <ID>` command to delete fine-tunes using the CLI in https://github.com/openai/openai-python/pull/187
- Fixed some typos in Readme in https://github.com/openai/openai-python/pull/188
New Contributors
- joe-at-openai made their first contribution in https://github.com/openai/openai-python/pull/190
- Ygnys made their first contribution in https://github.com/openai/openai-python/pull/188
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.26.1...v0.26.2
0.26.1
What's Changed
* Fix documentation typo by joshbode in https://github.com/openai/openai-python/pull/175
* Fix `FineTune.stream_events` by ddeville in https://github.com/openai/openai-python/pull/176
* Several fixes to make `Completion.acreate(stream=True)` work by nfcampos in https://github.com/openai/openai-python/pull/172
* Another async iterator that needs to be consumed with async for by nfcampos in https://github.com/openai/openai-python/pull/179
* Fix some typing issues by ddeville in https://github.com/openai/openai-python/pull/177
* Change request logs to debug level by ddeville in https://github.com/openai/openai-python/pull/178
* Bump version by ddeville in https://github.com/openai/openai-python/pull/182
New Contributors
* joshbode made their first contribution in https://github.com/openai/openai-python/pull/175
* nfcampos made their first contribution in https://github.com/openai/openai-python/pull/172
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.26.0...v0.26.1
0.26.0
Highlights and breaking changes
* Openai-python now has async thanks to Andrew-Chen-Wang (and thank you ddeville for reviewing!)
* The default package installation should now be considerably smaller thanks to jakubroztocil. BREAKING: if you use `tools` or the embeddings endpoint, you'll probably want to install openai[datalib]
* BREAKING: Answers, Search, and Classifications are removed as of this version since they are no longer active endpoints
What's Changed
* Update readme with image information by mpokrass in https://github.com/openai/openai-python/pull/135
* Add Moderation endpoint to readme (151) by hallacy in https://github.com/openai/openai-python/pull/138
* fix(wandb): encoding on Windows by borisdayma in https://github.com/openai/openai-python/pull/148
* Include long description by MiWeiss in https://github.com/openai/openai-python/pull/157
* Do not require typing_extensions with Python 3.8+ by paper42 in https://github.com/openai/openai-python/pull/154
* Fix mypy by paper42 in https://github.com/openai/openai-python/pull/158
* Azure OpenAI 2022-12-01 by cmurtz-msft in https://github.com/openai/openai-python/pull/159
* Add async support by Andrew-Chen-Wang in https://github.com/openai/openai-python/pull/146
* [Azure] Add "deployments.*" commands to the CLI by cmurtz-msft in https://github.com/openai/openai-python/pull/165
* Fix API requestor hanging when not using a global session by ddeville in https://github.com/openai/openai-python/pull/167
* Add flag to include the cause in the exception str by gdb in https://github.com/openai/openai-python/pull/137
* Make `numpy` and `pandas` optional for ~7 times smaller deps by jakubroztocil in https://github.com/openai/openai-python/pull/153
* Allow passing of api_key in image.create by hallacy in https://github.com/openai/openai-python/pull/163
* Remove search, answers, classifications by hallacy in https://github.com/openai/openai-python/pull/168
* Add optional mask for dalle's edit api (157) by YufeiG in https://github.com/openai/openai-python/pull/169
* Bump to 0.26.0 by hallacy in https://github.com/openai/openai-python/pull/170
New Contributors
* MiWeiss made their first contribution in https://github.com/openai/openai-python/pull/157
* paper42 made their first contribution in https://github.com/openai/openai-python/pull/154
* cmurtz-msft made their first contribution in https://github.com/openai/openai-python/pull/159
* Andrew-Chen-Wang made their first contribution in https://github.com/openai/openai-python/pull/146
* ddeville made their first contribution in https://github.com/openai/openai-python/pull/167
* gdb made their first contribution in https://github.com/openai/openai-python/pull/137
* jakubroztocil made their first contribution in https://github.com/openai/openai-python/pull/153
* YufeiG made their first contribution in https://github.com/openai/openai-python/pull/169
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.25.0...v0.26.0
0.25.0
What's Changed
* Rename DALL·E to Image by mpokrass in https://github.com/openai/openai-python/pull/134
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.24.0...v0.25.0
0.24.0
What's Changed
* Update README.md by ChrisCarucci in https://github.com/openai/openai-python/pull/127
* Fix KeyError occurring using fine_tunes.prepare_data by serinamarie in https://github.com/openai/openai-python/pull/125
* Add Dalle Support (147) by hallacy in https://github.com/openai/openai-python/pull/131
New Contributors
* ChrisCarucci made their first contribution in https://github.com/openai/openai-python/pull/127
* serinamarie made their first contribution in https://github.com/openai/openai-python/pull/125
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.23.1...v0.24.0
0.23.1
What's changed?
- adds missing dependencies
0.23.0
What's Changed
* Adds support for url timeouts with the request_timeout flag
* Adds logging of the request_id
* Wandb import warning only occurs if the wandb package isn't installed AND user requests the wandb tools via the CLI. Previously a warning would appear if the wandb package wasn't installed for all CLI commands.
* Drops specifying the numpy version
0.22.1
v.0.22.0 was deployed incorrectly and had a breakpoint in the fine tune validation script. v0.22.1 fixes this
0.22.0
What's Changed
* [Azure] Capacity is not needed for scale types other than 'manual' by sorinsuciu-msft in https://github.com/openai/openai-python/pull/103
* Add azure embeddings example notebook by t-asutedjo in https://github.com/openai/openai-python/pull/104
* Add Azure AD authentication support by t-asutedjo in https://github.com/openai/openai-python/pull/92
* Update setup.py by oscar-king in https://github.com/openai/openai-python/pull/99
* Fixed args in refresh_from call in ErrorObject by zafercavdar in https://github.com/openai/openai-python/pull/107
* Add deployment_id parameter for azure by t-asutedjo in https://github.com/openai/openai-python/pull/109
* Ted/move examples to openai cookbook by ted-at-openai in https://github.com/openai/openai-python/pull/112
New Contributors
* t-asutedjo made their first contribution in https://github.com/openai/openai-python/pull/104
* oscar-king made their first contribution in https://github.com/openai/openai-python/pull/99
* zafercavdar made their first contribution in https://github.com/openai/openai-python/pull/107
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.20.0...v0.22.0
0.20.0
What's Changed
- Add moderation endpoint by lilianweng in https://github.com/openai/openai-python/pull/101
- Correct how model parameter is handled in moderation endpoint by lilianweng in https://github.com/openai/openai-python/pull/102
0.19.0
What's Changed
* Remove model param in Completion call by gojira in https://github.com/openai/openai-python/pull/88
* Fix http reuse connections by andrewchernyh in https://github.com/openai/openai-python/pull/94
* V0.19.0: Support engineless and adds openai.Search.create by hallacy in https://github.com/openai/openai-python/pull/97
New Contributors
* gojira made their first contribution in https://github.com/openai/openai-python/pull/88
* andrewchernyh made their first contribution in https://github.com/openai/openai-python/pull/94
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.18.1...v0.19.0
0.18.1
What's Changed
* Add azure deployments + an example/tutorial for using Azure endpoints. By sorinsuciu-msft in https://github.com/openai/openai-python/pull/83
0.18.0
What's Changed
* Add support for fine-tuning and files using the Azure API. by sorinsuciu-msft in https://github.com/openai/openai-python/pull/80
* feat(wandb): sanitize name by borisdayma in https://github.com/openai/openai-python/pull/77
* Add customer endpoints (126) by hallacy in https://github.com/openai/openai-python/pull/87
**Full Changelog**: https://github.com/openai/openai-python/compare/v0.16.0...v0.18.0
0.16.0
What's Changed
* fix(wandb): no results if not succeeded (74)
* [lint] standardize isort and black in pyproject.toml (81)
* Add support for edit call
* Add version bump (0.16.0)
New Contributors
* tomerk made their first contribution in https://github.com/openai/openai-python/pull/81
0.15.0
What's Changed
* Add a suffix arg to `fine_tunes.create` that allows you to customize the generated model name. See https://github.com/openai/openai-python/pull/75. For example, `openai api fine_tunes.create -t test.jsonl -m ada --suffix "custom model name"` could generate a model with the name `ada:ft-your-org:custom-model-name-2022-02-15-04-21-04`.
New Contributors
* tomerk made their first contribution in https://github.com/openai/openai-python/pull/75
0.14.0
What's Changed
* Add entry_points by BastianZim. Makes some changes to setup so that the package can be easily installed on Windows
* Add documentation for usage with Azure endpoints by sorinsuciu-msft
* feat: openai wandb sync by borisdayma. Adds Wandb integration. Try `openai wandb sync` as an example
New Contributors
* BastianZim made their first contribution in https://github.com/openai/openai-python/pull/52
* borisdayma made their first contribution in https://github.com/openai/openai-python/pull/64
0.13.0
* Adds new example notebook demonstrating embeddings for recommendations
* Updates other embedding examples with new engine names
* Adds new functions to embedding_utils.py
0.12.0
* Add an option to use Azure endpoints for the /completions & /search operations
0.11.6
Changes in this version:
* Deprecating openai.Engine.embeddings. Instead, please use openai.Embedding.create
* Uses the new embedding engine names in all examples
* Delete the ca certificates that aren't needed anymore
* Makes all openai exceptions pickle-able
0.11.5
- remove packing flags from fine_tunes.create
- remove recommended batch sizes from data prep tool (default batch sizes now set server-side)
0.11.4
* Answers and Classification endpoints now have their own prepare_data functions, similar to search
* Moved the utils file used in the embeddings examples to embeddings_utils. This will allow the code to be imported
* Changed the default api_prefix to be "" and instead moved that logic into init.py. You might need to update any local OPENAI_API_BASE that you've set.
0.11.3
- Hotfix to deal with missing import
0.11.2
- Accept URLs as train/validation files in the fine-tuning CLI command
- Minor fixes to files.create and fine_tunes.create CLI commands
0.11.1
- add examples/embeddings for embedding tutorial notebooks
- add examples/finetuning Olympics Q&A fine-tuning tutorial notebooks
- Fix batch size estimation for small dataset sizes
0.10.5
Adds endpoint support for /embeddings endpoint which is being tested in a closed alpha.
0.10.4
Adds endpoint support for /search_indices endpoints which are being tested in a closed alpha.
Adds versioning to existing engine search endpoint to use improved search v2 functionality. Also being tested in closed alpha.
0.10.3
add backtranslation codex example
add rudimentary answers implementation with a custom fine-tuned model
add batch_size suggestion within fine_tunes.prepare_data
0.10.2
- Improvements to the CLI data_preparation tool
0.10.1
- Removing unused arguments
0.10.0
- Renames `v1/snapshot/` to `v1/model`
- Removes unused and unsupported functionality.
0.9.4
Bugfixes to the CLI data preparation tool
0.9.3
- Bugfixes and improvements to the CLI
0.9.2
Remove unused code
0.9.1
- Bugfix for tool
0.9.0
- CLI improvements
0.8.0
- Support model-based completions in the SDK/CLI.
(Context: `/v1/completions` is now a thing. If the engine parameter is not supplied, we make requests to that path. Otherwise, if engine is provided, requests are made to `/v1/engines/<ENGINE>/completions`. We expect most users to still use the `engine` parameter right now.)
- Update docstring for `Completions`
0.7.0
This change is backwards incompatible.
- Remove support for python versions < 3.6.
- Add mypy typing.
0.6.4
N/A
0.6.3
Removes unused and unsupported functionality.
0.6.2
- Add requirement to fix missing import
0.6.1
- Patch to fix progress meter (for file uploading).
0.6.0
* Adds support for user-uploaded file management in the CLI
* Files are now deletable. You'll need delete privileges to do so. By default, only the owner of your org has those permissions.
* `openai.Higherlevel` has been deleted. The `/answers` and `/classifications` endpoints are now in their own classes and can be called like `openai.Answer.create(..)`
* `openai.Higherlevel.retriever_file_set_search` has been moved into `Engine.search`. Users can now submit a previously submitted file ID to search over instead of sending in documents
0.4.0
Adds SDK and CLI commands for `/fine-tunes`
Note: Fine-tuning is a closed beta feature. For access, please [submit your information here](https://docs.google.com/forms/d/e/1FAIpQLSdhUQN_r43xsnYPwLvAl6unLVyCsaXW-3oh7VzJY7FaqaM6zA/viewform)
0.3.0
Adds /classifications, /answers, and /retriever_file_set_search endpoint support
0.2.6
Initial release for Openai API's python support
Links
- PyPI: https://pypi.org/project/openai
- Changelog: https://data.safetycli.com/changelogs/openai/