Skip to content

V1 #677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 60 commits into from
Nov 6, 2023
Merged

V1 #677

merged 60 commits into from
Nov 6, 2023

Conversation

schnerd
Copy link
Collaborator

@schnerd schnerd commented Nov 6, 2023

No description provided.

RobertCraigie and others added 30 commits September 29, 2023 21:01
@schnerd schnerd merged commit 08b8179 into main Nov 6, 2023
@schnerd schnerd deleted the v1 branch November 6, 2023 16:19
megamanics pushed a commit to devops-testbed/openai-python that referenced this pull request Aug 14, 2024
* cleanup

* v1.0.0-beta.1

* docs: add basic manual azure example

* docs: use chat completions instead of completions for demo example

* test: rename `API_BASE_URL` to `TEST_API_BASE_URL`

* feat(client): handle retry-after header with a date format

* feat(api): remove `content_filter` stop_reason and update documentation

* refactor(cli): rename internal types for improved auto complete

* feat(client): add forwards-compatible pydantic methods

* feat(api): move `n_epochs` under `hyperparameters`

* feat(client): add support for passing in a httpx client

* chore: update README

* feat(cli): use http/2 if h2 is available

* chore(docs): remove trailing spaces

* feat(client): add logging setup

* chore(internal): minor updates

* v1.0.0-beta.2

* docs: use chat completions instead of completions for demo example

* chore: add case insensitive get header function

* fix(client): correctly handle errors during streaming

* fix(streaming): add additional overload for ambiguous stream param

* chore(internal): enable lint rule

* chore(internal): cleanup some redundant code

* fix(client): accept io.IOBase instances in file params

* docs: improve error message for invalid file param type

* 1.0.0-beta.3

* chore(internal): migrate from Poetry to Rye

* feat(cli): add `tools fine_tunes.prepare_data`

* feat(client): support passing httpx.URL instances to base_url

* chore(internal): fix some latent type errors

* feat(api): add embeddings encoding_format

* feat: use numpy for faster embeddings decoding

* chore(internal): bump pyright

* chore(internal): bump deps

* feat(client): improve file upload types

* feat(client): adjust retry behavior to be exponential backoff

* ci: add lint workflow

* docs: improve to dictionary example

* ci(lint): run ruff too

* chore(internal): require explicit overrides

* feat(client): support accessing raw response objects

* test(qs): add an additional test case for array brackets

* feat(client): add dedicated Azure client

* feat(package): add classifiers

* docs(readme): add Azure guide

* 1.0.0-rc1

* docs: small cleanup

* feat(github): include a devcontainer setup

* chore: improve type names

* feat(client): allow binary returns

* feat(client): support passing BaseModels to request params at runtime

* fix(binaries): don't synchronously block in astream_to_file

* 1.0.0-rc2

* chore(internal): remove unused int/float conversion

* docs(readme): improve example snippets

* fix: prevent TypeError in Python 3.8 (ABC is not subscriptable)

* 1.0.0-rc3

* docs: update streaming example

* docs(readme): update opening

* v1.0.0

---------

Co-authored-by: Robert Craigie <[email protected]>
Co-authored-by: Stainless Bot <[email protected]>
Co-authored-by: Stainless Bot <[email protected]>
Co-authored-by: Alex Rattray <[email protected]>
cgayapr pushed a commit to cgayapr/openai-python that referenced this pull request Dec 14, 2024
* cleanup

* v1.0.0-beta.1

* docs: add basic manual azure example

* docs: use chat completions instead of completions for demo example

* test: rename `API_BASE_URL` to `TEST_API_BASE_URL`

* feat(client): handle retry-after header with a date format

* feat(api): remove `content_filter` stop_reason and update documentation

* refactor(cli): rename internal types for improved auto complete

* feat(client): add forwards-compatible pydantic methods

* feat(api): move `n_epochs` under `hyperparameters`

* feat(client): add support for passing in a httpx client

* chore: update README

* feat(cli): use http/2 if h2 is available

* chore(docs): remove trailing spaces

* feat(client): add logging setup

* chore(internal): minor updates

* v1.0.0-beta.2

* docs: use chat completions instead of completions for demo example

* chore: add case insensitive get header function

* fix(client): correctly handle errors during streaming

* fix(streaming): add additional overload for ambiguous stream param

* chore(internal): enable lint rule

* chore(internal): cleanup some redundant code

* fix(client): accept io.IOBase instances in file params

* docs: improve error message for invalid file param type

* 1.0.0-beta.3

* chore(internal): migrate from Poetry to Rye

* feat(cli): add `tools fine_tunes.prepare_data`

* feat(client): support passing httpx.URL instances to base_url

* chore(internal): fix some latent type errors

* feat(api): add embeddings encoding_format

* feat: use numpy for faster embeddings decoding

* chore(internal): bump pyright

* chore(internal): bump deps

* feat(client): improve file upload types

* feat(client): adjust retry behavior to be exponential backoff

* ci: add lint workflow

* docs: improve to dictionary example

* ci(lint): run ruff too

* chore(internal): require explicit overrides

* feat(client): support accessing raw response objects

* test(qs): add an additional test case for array brackets

* feat(client): add dedicated Azure client

* feat(package): add classifiers

* docs(readme): add Azure guide

* 1.0.0-rc1

* docs: small cleanup

* feat(github): include a devcontainer setup

* chore: improve type names

* feat(client): allow binary returns

* feat(client): support passing BaseModels to request params at runtime

* fix(binaries): don't synchronously block in astream_to_file

* 1.0.0-rc2

* chore(internal): remove unused int/float conversion

* docs(readme): improve example snippets

* fix: prevent TypeError in Python 3.8 (ABC is not subscriptable)

* 1.0.0-rc3

* docs: update streaming example

* docs(readme): update opening

* v1.0.0

---------

Co-authored-by: Robert Craigie <[email protected]>
Co-authored-by: Stainless Bot <[email protected]>
Co-authored-by: Stainless Bot <[email protected]>
Co-authored-by: Alex Rattray <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants