tag:github.com,2008:https://github.com/DJFN4SIR/openai-python/releases Tags from openai-python 2021-07-14T21:19:59Z tag:github.com,2008:Repository/386579546/v0.10.1 2021-07-14T21:19:59Z v0.10.1 christinakim tag:github.com,2008:Repository/386579546/v0.10.0 2021-07-14T20:05:12Z v0.10.0: renaming snapshot to model (#27) <p>renaming snapshot to model (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/27">openai#27</a>)</p> <p>* rename snapshot to model in sdk (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/issues/48">openai#48</a>)</p> <p>* updating version</p> christinakim tag:github.com,2008:Repository/386579546/v0.9.4 2021-07-12T20:46:39Z v0.9.4: minor fixes to tools prepare_data validators (#47) (#26) <p>minor fixes to tools prepare_data validators (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/47">openai#47</a>) (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/26">openai#26</a>)</p> <p>* ensure that only a single whitespace is prepended. Ensure the message regarding the prompt separator is displayed only if a prompt separator exists.</p> <p>* change pandas contains to not use regex, which can trip if the common_suffix is actually a regex</p> <p>Co-authored-by: Boris Power &lt;[email protected]&gt;</p> rachellim tag:github.com,2008:Repository/386579546/v0.9.3 2021-06-30T19:40:45Z v0.9.3: Cli fixes and improvements (#25) <p>Cli fixes and improvements (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/25">openai#25</a>)</p> <p>* Revamp cli args (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/45">openai#45</a>)</p> <p>* Rachel/follow (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/issues/46">openai#46</a>)</p> <p>* Add fine_tunes.follow. Add better error handling for disconnected streams</p> <p>* return early</p> <p>* fix an oops</p> <p>* lint</p> <p>* Nicer strings</p> <p>* ensure end token is not applied to classification (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/44">openai#44</a>)</p> <p>* ensure end token is not applied to classification</p> <p>* black</p> <p>Co-authored-by: Boris Power &lt;[email protected]&gt;</p> rachellim tag:github.com,2008:Repository/386579546/v0.9.2 2021-06-30T04:27:09Z v0.9.2 rachellim tag:github.com,2008:Repository/386579546/v0.9.1 2021-06-30T04:08:50Z v0.9.1: bugfix <p>bugfix</p> <p>* ensure that pandas empty values are read as empty string, rather than a float</p> <p>Co-authored-by: Boris Power &lt;[email protected]&gt;</p> rachellim tag:github.com,2008:Repository/386579546/v0.9.0 2021-06-29T21:55:00Z v0.9.0: Lots of CLI changes (#22) <p>Lots of CLI changes (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/22">openai#22</a>)</p> <p>* Add CLI option to download files (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/34">openai#34</a>)</p> <p>* Option to check if file has been uploaded in the past before uploading (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/33">openai#33</a>)</p> <p>The check is done based on filename, file purpose and file size</p> <p>* Add fine-tuning hparams directly into the fine-tunes CLI (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/35">openai#35</a>)</p> <p>* update fine_tunes cli use_packing argument (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/issues/38">openai#38</a>)</p> <p>* A file verification and remediation tool.</p> <p>It applies the following validations: <br />- prints the number of examples, and warns if it's lower than 100 <br />- ensures prompt and completion columns are present <br />- optionally removes any additional columns <br />- ensures all completions are non-empty <br />- infers which type of fine-tuning the data is most likely in (classification, conditional generation and open-ended generation) <br />- optionally removes duplicate rows <br />- infers the existence of a common suffix, and if there is none, suggests one for classification and conditional generation <br />- optionally prepends a space to each completion, to make tokenization better <br />- optionally splits into training and validation set for the classification use case <br />- optionally ensures there's an ending string for all completions <br />- optionally lowercases completions or prompts if more than a 1/3 of alphanumeric characters are upper case</p> <p>It interactively asks the user to accept or reject recommendations. If the user is happy, then it saves the modified output file as a jsonl, which is ready for being used in fine-tuning with the printed command.</p> <p>* Completion: remove from kwargs before passing to EngineAPI (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/37">openai#37</a>)</p> <p>* Version bump before pushing to external</p> <p>Co-authored-by: Todor Markov &lt;[email protected]&gt; <br />Co-authored-by: Boris Power &lt;[email protected]&gt; <br />Co-authored-by: Dave Cummings &lt;[email protected]&gt;</p> rachellim tag:github.com,2008:Repository/386579546/v0.8.0 2021-06-17T18:01:44Z v0.8.0: Support model-based (/engineless) completions in openai cli (#20) <p>Support model-based (/engineless) completions in openai cli (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/20">openai#20</a>)</p> <p>* Support model-based (/engineless) completions in openai cli (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/issues/31">openai#31</a>)</p> <p>* Engineless completions in the SDK</p> <p>* Cosmetic improvements to fine tuning CLI</p> <p>* Remove done TODO</p> <p>* Raise error if neither engine nor model provided</p> <p>* Undocument the `timeout` parameter on completions, because it doesn't do anything and causes user confusion.</p> <p>* Move things around</p> <p>* Update message</p> <p>* Some day we should care about versions</p> <p>* Minor version bump</p> rachellim tag:github.com,2008:Repository/386579546/v0.7.0 2021-06-11T20:46:21Z v0.7.0: Remove support for py <3.6, mypy, lots of cleanup (#19) <p>Remove support for py &lt;3.6, mypy, lots of cleanup (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/19">openai#19</a>)</p> <p>* python 3.6 + typing (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/25">openai#25</a>)</p> <p>- Formally require Python 3.6 or later. This never worked under Python 2.7. <br />- Drop now-unnecessary `__future__` and `six` references. <br />- Use `py.typed` to declare that we support type hints. <br />- Fix a variety of mypy errors. <br />- Don't use star imports, so that other packages can tell if they're making an invalid reference. <br />- Drop support for non-`requests` HTTP clients. <br />- Drop `EngineAPIResource.update`; it could never have worked.</p> <p>Tested against primaryapi and engineapi in staging, and it doesn't break them. After this, `mypy ./openai` runs clean.</p> <p>* delete unused code (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/27">openai#27</a>)</p> <p>- Delete `ListObject`. It has some typing errors that suggest it never worked, and it is unused as far as I can tell. <br />- Delete `VerifyMixin`. It is unused. <br />- Delete `CardError`. It is unused and smells of rotten pasta. <br />- Delete `OpenAIErrorWithParamCode`, which only has one subclass, `InvalidRequestError`, and make `InvalidRequestError` a direct subclass of `OpenAIError`. Currrently, `OpenAIErrorWithParamCode` depends on the internal structure of `InvalidRequestError` so they're not independent.</p> <p>* boring formatting and typing fixes (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/26">openai#26</a>)</p> <p>These are another step towards being able to enforce black, flake8, and mypy on CI.</p> <p>* fix more typing issues in prep for CI (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/28">openai#28</a>)</p> <p>- Simplify `platform.XXX` calls. As far as I know these can't raise an exception in Python 3. <br />- Simplify `EngineAPIResource` constructor and remove its unused `retrieve` method.</p> <p>* Update readme, bump version</p> <p>* typo fix</p> <p>Co-authored-by: Madeleine Thompson &lt;[email protected]&gt; <br />Co-authored-by: Madeleine Thompson &lt;[email protected]&gt;</p> rachellim tag:github.com,2008:Repository/386579546/v0.6.4 2021-05-21T00:57:13Z v0.6.4: Update interface (#16) <p>Update interface (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/16">openai#16</a>)</p> <p>* CLI cleanup</p> <p>* Also support uploading files as a convenience to the user</p> <p>* Events in the CLI (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/23">openai#23</a>)</p> <p>* Events in the CLI</p> <p>* Update message about ctrl-c</p> <p>* Version</p> <p>* Forgot to use the api_base arg (<a class="issue-link js-issue-link" href="https://github.com/openai/openai-python/pull/20">openai#20</a>)</p> <p>* Forgot to use the api_base arg</p> <p>* Bump version</p> <p>* newline</p> <p>Co-authored-by: hallacy &lt;[email protected]&gt;</p> rachellim