Skip to content
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

⬆️ Update dependency openai to v4 #234

Merged
merged 1 commit into from
Feb 17, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
openai ^3.3.0 -> ^4.28.0 age adoption passing confidence

Release Notes

openai/openai-node (openai)

v4.28.0

Compare Source

Full Changelog: v4.27.1...v4.28.0

Features

v4.27.1

Compare Source

Full Changelog: v4.27.0...v4.27.1

v4.27.0

Compare Source

Full Changelog: v4.26.1...v4.27.0

Features
  • api: add timestamp_granularities, add gpt-3.5-turbo-0125 model (#​661) (5016806)
Chores
  • internal: fix retry mechanism for ecosystem-test (#​663) (0eb7ed5)
  • respect application/vnd.api+json content-type header (#​664) (f4fad54)

v4.26.1

Compare Source

Full Changelog: v4.26.0...v4.26.1

Chores
Documentation

v4.26.0

Compare Source

Full Changelog: v4.25.0...v4.26.0

Features
Chores

v4.25.0

Compare Source

Full Changelog: v4.24.7...v4.25.0

Features
Bug Fixes
Chores

v4.24.7

Compare Source

Full Changelog: v4.24.6...v4.24.7

Chores
  • ecosystem-tests: fix flaky vercel-edge, cloudflare-worker, and deno tests (#​626) (ae412a5)
  • ecosystem-tests: fix typo in deno test (#​628) (048ec94)

v4.24.6

Compare Source

Full Changelog: v4.24.5...v4.24.6

Chores
  • ecosystem-tests: fix flaky tests and remove fine tuning calls (#​623) (258d79f)
  • ecosystem-tests: fix flaky tests and remove fine tuning calls (#​625) (58e5fd8)

v4.24.5

Compare Source

Full Changelog: v4.24.4...v4.24.5

Refactors

v4.24.4

Compare Source

Full Changelog: v4.24.3...v4.24.4

Chores

v4.24.3

Compare Source

Full Changelog: v4.24.2...v4.24.3

Bug Fixes
  • use default base url if BASE_URL env var is blank (#​615) (a27ad3d)

v4.24.2

Compare Source

Full Changelog: v4.24.1...v4.24.2

Bug Fixes
  • headers: always send lowercase headers and strip undefined (BREAKING in rare cases) (#​608) (4ea159f)
Chores
Documentation

v4.24.1

Compare Source

Full Changelog: v4.24.0...v4.24.1

Bug Fixes
  • pagination: correct type annotation object field (#​590) (4066eda)
Documentation
Refactors

v4.24.0

Compare Source

Full Changelog: v4.23.0...v4.24.0

Features
Chores
Documentation

v4.23.0

Compare Source

Full Changelog: v4.22.1...v4.23.0

Features
Chores

v4.22.1

Compare Source

Full Changelog: v4.22.0...v4.22.1

Chores
Documentation

v4.22.0

Compare Source

Full Changelog: v4.21.0...v4.22.0

Features
Chores

v4.21.0

Compare Source

Full Changelog: v4.20.1...v4.21.0

Features
  • client: support reading the base url from an env variable (#​547) (06fb68d)
Bug Fixes
  • correct some runTools behavior and deprecate runFunctions (#​562) (f5cdd0f)
  • prevent 400 when using runTools/runFunctions with Azure OpenAI API (#​544) (735d9b8)
Documentation
Build System

v4.20.1

Compare Source

Full Changelog: v4.20.0...v4.20.1

Chores
  • internal: remove file import and conditionally run prepare (#​533) (48cb729)
Documentation

v4.20.0

Compare Source

Full Changelog: v4.19.1...v4.20.0

Features
Chores

v4.19.1

Compare Source

Full Changelog: v4.19.0...v4.19.1

v4.19.0

Compare Source

Full Changelog: v4.18.0...v4.19.0

Features

v4.18.0

Compare Source

Full Changelog: v4.17.5...v4.18.0

Features

v4.17.5

Compare Source

Full Changelog: v4.17.4...v4.17.5

Chores
  • fix typo in docs and add request header for function calls (#​494) (22ce244)

v4.17.4

Compare Source

Full Changelog: v4.17.3...v4.17.4

Chores

v4.17.3

Compare Source

Full Changelog: v4.17.2...v4.17.3

v4.17.2

Compare Source

Full Changelog: v4.17.1...v4.17.2

Chores

v4.17.1

Compare Source

Full Changelog: v4.17.0...v4.17.1

Refactors
  • client: deprecate files.retrieveContent in favour of files.content (#​474) (7c7bfc2)

v4.17.0

Compare Source

Full Changelog: v4.16.2...v4.17.0

Features
Refactors
  • api: rename FunctionObject to FunctionDefinition (#​470) (f3990c7)

v4.16.2

Compare Source

Full Changelog: v4.16.1...v4.16.2

Bug Fixes
Chores
Documentation

v4.16.1

Compare Source

Full Changelog: v4.16.0...v4.16.1

Bug Fixes
Documentation

v4.16.0

Compare Source

Full Changelog: v4.15.4...v4.16.0

Features
  • api: releases from DevDay; assistants, multimodality, tools, dall-e-3, tts, and more (#​433) (fb92f5e)
Bug Fixes
Documentation

v4.15.4

Compare Source

Full Changelog: v4.15.3...v4.15.4

Documentation

v4.15.3

Compare Source

Full Changelog: v4.15.2...v4.15.3

Bug Fixes

v4.15.2

Compare Source

Full Changelog: v4.15.1...v4.15.2

Documentation

v4.15.1

Compare Source

Full Changelog: v4.15.0...v4.15.1

Documentation

v4.15.0

Compare Source

Full Changelog: v4.14.2...v4.15.0

Features

v4.14.2

Compare Source

Full Changelog: v4.14.1...v4.14.2

Chores

v4.14.1

Compare Source

Full Changelog: v4.14.0...v4.14.1

Bug Fixes
Chores

v4.14.0

Compare Source

Full Changelog: v4.13.0...v4.14.0

Features
  • client: adjust retry behavior to be exponential backoff (#​400) (2bc14ce)
Chores

v4.13.0

Compare Source

Full Changelog: v4.12.4...v4.13.0

Features

v4.12.4

Compare Source

Full Changelog: v4.12.3...v4.12.4

Bug Fixes
  • import web-streams-polyfill without overriding globals (#​385) (be8e18b)

v4.12.3

Compare Source

Full Changelog: v4.12.2...v4.12.3

Documentation

v4.12.2

Compare Source

Full Changelog: v4.12.1...v4.12.2

Bug Fixes
Chores
Refactors

v4.12.1

Compare Source

Full Changelog: v4.12.0...v4.12.1

Bug Fixes

v4.12.0

Compare Source

Full Changelog: v4.11.1...v4.12.0

Features
  • api: remove content_filter stop_reason and update documentation (#​352) (a4b401e)
  • re-export chat completion types at the top level, and work around webpack limitations (#​365) (bb815d0)
Bug Fixes
  • prevent ReferenceError, update compatibility to ES2020 and Node 18+ (#​356) (fc71a4b)
Chores

v4.11.1

Compare Source

Full Changelog: v4.11.0...v4.11.1

v4.11.0

Compare Source

Full Changelog: v4.10.0...v4.11.0

Features
Bug Fixes
  • api: add content_filter to chat completion finish reason (#​344) (f10c757)
Chores

v4.10.0

Compare Source

Full Changelog: v4.9.1...v4.10.0

Features
  • api: add 'gpt-3.5-turbo-instruct', fine-tune error objects, update documentation (#​329) (e5f3852)

v4.9.1

Compare Source

Full Changelog: v4.9.0...v4.9.1

Documentation

v4.9.0

Compare Source

Full Changelog: v4.8.0...v4.9.0

Features
  • client: support importing node or web shims manually (#​325) (628f293)

v4.8.0

Compare Source

Full Changelog: v4.7.1...v4.8.0

Features

v4.7.1

Compare Source

Full Changelog: v4.7.0...v4.7.1

Documentation

v4.7.0

Compare Source

Full Changelog: v4.6.0...v4.7.0

Features

v4.6.0

Compare Source

Full Changelog: v4.5.0...v4.6.0

Features
  • types: extract ChatCompletionRole enum to its own type (#​298) (5893e37)
Bug Fixes

v4.5.0

Compare Source

Full Changelog: v4.4.0...v4.5.0

Features
  • client: add files.waitForProcessing() method (#​292) (ef59010)
  • fixes tests where an array has to have unique enum values (#​290) (a10b895)
  • make docs more readable by eliminating unnecessary escape sequences (#​287) (a068043)
Bug Fixes
  • client: fix TS errors that appear when users Go to Source in VSCode (#​281) (8dc59bc), closes #​249
  • client: handle case where the client is instantiated with a undefined baseURL (#​285) (5095cf3)
  • client: use explicit file extensions in _shims imports (#​276) (16fe929)
Documentation

v4.4.0

Compare Source

Full Changelog: v4.3.1...v4.4.0

Features
Bug Fixes
  • revert import change which triggered circular import bug in webpack (#​274) (6534e36)

v4.3.1

Compare Source

Full Changelog: v4.3.0...v4.3.1

Bug Fixes
Chores
  • ci: setup workflows to create releases and release PRs (#​259) (290908c)

v4.3.0

Compare Source

Features
  • client: add auto-pagination to fine tuning list endpoints (#​254) (5f89c5e)
  • cli: rewrite in JS for better compatibility (#​244) (d8d7c05)
Bug Fixes
Documentation
Chores

v4.2.0

Compare Source

Features
Chores

v4.1.0

Compare Source

Full Changelog: openai/openai-node@v4.0.1...v4.1.0

v4.0.1

Compare Source

Full Changelog: openai/openai-node@v4.0.0...v4.0.1

v4.0.0

Compare Source

Version 4 is a complete rewrite of the SDK, offering a huge set of improvements.

What's new
  • Streaming support for completions and chat completions!
  • Improved typescript types for responses & errors
  • Support for ESM, CloudFlare Workers, Vercel edge functions, Deno, and more
  • Better file upload API for Whisper, fine-tune files, & DALL·E images
  • Improved error handling through automatic retries & error classes
  • Improved latency through reusing TCP connections
  • Simpler initialization logic
Getting started
npm install [email protected]
Migration guide

➡️ View the v3 to v4 migration guide


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/openai-4.x branch 5 times, most recently from 3ca763e to 45f863f Compare August 23, 2023 22:27
@renovate renovate bot force-pushed the renovate/openai-4.x branch 3 times, most recently from 1b7a4b9 to 753078d Compare September 1, 2023 18:10
@renovate renovate bot force-pushed the renovate/openai-4.x branch 2 times, most recently from 0b99c83 to 8f57877 Compare September 9, 2023 02:39
@renovate renovate bot force-pushed the renovate/openai-4.x branch 4 times, most recently from 0c7ec7a to c9d666f Compare September 21, 2023 16:19
@renovate renovate bot force-pushed the renovate/openai-4.x branch 2 times, most recently from 713203e to 6f44d5b Compare October 3, 2023 06:30
@renovate renovate bot force-pushed the renovate/openai-4.x branch 4 times, most recently from 0f74c4e to 0ffa303 Compare October 18, 2023 00:52
@renovate renovate bot force-pushed the renovate/openai-4.x branch 4 times, most recently from 936c050 to 8500bdb Compare October 30, 2023 16:44
@renovate renovate bot force-pushed the renovate/openai-4.x branch 5 times, most recently from 91cfbf9 to 55d96cb Compare November 6, 2023 21:34
@renovate renovate bot force-pushed the renovate/openai-4.x branch 4 times, most recently from 5da92d8 to 69226fb Compare November 15, 2023 20:02
@renovate renovate bot force-pushed the renovate/openai-4.x branch 2 times, most recently from f5152d8 to 9d173e7 Compare November 22, 2023 18:26
@renovate renovate bot force-pushed the renovate/openai-4.x branch 4 times, most recently from bb73d86 to 76a7d02 Compare December 17, 2023 03:02
@renovate renovate bot force-pushed the renovate/openai-4.x branch 2 times, most recently from 1e3ab05 to 7a9685d Compare December 22, 2023 13:45
@renovate renovate bot force-pushed the renovate/openai-4.x branch 6 times, most recently from 0a9de86 to fb3d8ea Compare January 13, 2024 06:42
@renovate renovate bot force-pushed the renovate/openai-4.x branch 2 times, most recently from 78b30f4 to d9d15d5 Compare January 25, 2024 23:00
@renovate renovate bot force-pushed the renovate/openai-4.x branch 2 times, most recently from dbf28d3 to 46679cc Compare February 9, 2024 00:27
@renovate renovate bot force-pushed the renovate/openai-4.x branch 3 times, most recently from bce38a6 to cf23832 Compare February 17, 2024 20:05
@ikifar2012 ikifar2012 merged commit 9f1d25d into main Feb 17, 2024
6 checks passed
@renovate renovate bot deleted the renovate/openai-4.x branch February 17, 2024 20:10
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.

1 participant