openai-node

The official Node.js / Typescript library for the OpenAI API

APACHE-2.0 License

Downloads
9.2M
Stars
6.9K
Committers
23

Bot releases are visible (Hide)

openai-node - v4.29.0

Published by stainless-bot 7 months ago

4.29.0 (2024-03-13)

Full Changelog: v4.28.5...v4.29.0

Features

  • assistants: add support for streaming (#714) (7d27d28)
openai-node - v4.28.5

Published by stainless-bot 7 months ago

4.28.5 (2024-03-13)

Full Changelog: v4.28.4...v4.28.5

Bug Fixes

  • ChatCompletionStream: abort on async iterator break and handle errors (#699) (ac417a2)
  • streaming: correctly handle trailing new lines in byte chunks (#708) (4753be2)

Chores

  • api: update docs (#703) (e1db98b)
  • docs: mention install from git repo (#700) (c081bdb)
  • fix error handler in readme (#704) (4ff790a)
  • internal: add explicit type annotation to decoder (#712) (d728e99)
  • types: fix accidental exposure of Buffer type to cloudflare (#709) (0323ecb)

Documentation

openai-node - v4.28.4

Published by stainless-bot 8 months ago

4.28.4 (2024-02-28)

Full Changelog: v4.28.3...v4.28.4

Features

  • api: add wav and pcm to response_format (#691) (b1c6171)

Chores

  • ci: update actions/setup-node action to v4 (#685) (f2704d5)
  • internal: fix ecosystem tests (#693) (616624d)
  • types: extract run status to a named type (#686) (b3b3b8e)
  • update @types/react to 18.2.58, @types/react-dom to 18.2.19 (#688) (2a0d0b1)
  • update dependency @types/node to v20.11.20 (#690) (4ca005b)
  • update dependency @types/ws to v8.5.10 (#683) (a617268)
  • update dependency next to v13.5.6 (#689) (abb3b66)
openai-node - v4.28.3

Published by stainless-bot 8 months ago

4.28.3 (2024-02-20)

Full Changelog: v4.28.2...v4.28.3

Bug Fixes

  • ci: revert "move github release logic to github app" (#680) (8b4009a)
openai-node - v4.28.2

Published by stainless-app[bot] 8 months ago

4.28.2 (2024-02-19)

Full Changelog: v4.28.1...v4.28.2

Bug Fixes

  • api: remove non-GA instance_id param (#677) (4d0d4da)
openai-node - v4.28.1

Published by stainless-app[bot] 8 months ago

4.28.1 (2024-02-19)

Full Changelog: v4.28.0...v4.28.1

Chores

  • ci: move github release logic to github app (#671) (ecca6bc)
  • internal: refactor release environment script (#674) (27d3770)
openai-node - v4.28.0

Published by stainless-bot 8 months ago

4.28.0 (2024-02-13)

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

Features

openai-node - v4.27.1

Published by stainless-bot 8 months ago

4.27.1 (2024-02-12)

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

openai-node - v4.27.0

Published by stainless-bot 8 months ago

4.27.0 (2024-02-08)

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)
openai-node - v4.26.1

Published by stainless-bot 9 months ago

4.26.1 (2024-02-05)

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

Chores

  • internal: enable building when git installed (#657) (8c80a7d)
  • internal: re-order pagination import (#656) (21ae54e)
  • internal: support pre-release versioning (#653) (0c3859f)
  • test: add delay between ecosystem tests retry (#651) (6a4cc5c)

Documentation

openai-node - v4.26.0

Published by stainless-bot 9 months ago

4.26.0 (2024-01-25)

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

Features

  • api: add text embeddings dimensions param (#650) (1b5a977)

Chores

  • internal: add internal helpers & improve build scripts (#643) (9392f50)
  • internal: adjust ecosystem-tests logging in CI (#646) (156084b)
  • internal: don't re-export streaming type (#648) (4c4be94)
  • internal: fix binary files (#645) (e1fbc39)
  • internal: minor streaming updates (#647) (2f073e4)
  • internal: pin deno version (#649) (7e4b903)
openai-node - v4.25.0

Published by stainless-bot 9 months ago

4.25.0 (2024-01-21)

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

Features

  • api: add usage to runs and run steps (#640) (3caa416)

Bug Fixes

  • allow body type in RequestOptions to be null (#637) (c4f8a36)
  • handle system_fingerprint in streaming helpers (#636) (f273530)
  • types: accept undefined for optional client options (#635) (e48cd57)

Chores

  • internal: debug logging for retries; speculative retry-after-ms support (#633) (fd64971)
  • internal: update comment (#631) (e109d40)
openai-node - v4.24.7

Published by stainless-bot 9 months ago

4.24.7 (2024-01-13)

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)
openai-node - v4.24.6

Published by stainless-bot 9 months ago

4.24.6 (2024-01-12)

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)
openai-node - v4.24.5

Published by stainless-bot 9 months ago

4.24.5 (2024-01-12)

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

Refactors

openai-node - v4.24.4

Published by stainless-bot 9 months ago

4.24.4 (2024-01-11)

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

Chores

  • internal: narrow type into stringifyQuery (#619) (88fb9cd)
openai-node - v4.24.3

Published by stainless-bot 9 months ago

4.24.3 (2024-01-10)

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

Bug Fixes

  • use default base url if BASE_URL env var is blank (#615) (a27ad3d)
openai-node - v4.24.2

Published by stainless-bot 9 months ago

4.24.2 (2024-01-08)

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

  • add .keep files for examples and custom code directories (#612) (5e0f733)
  • internal: bump license (#605) (045ee74)
  • internal: improve type signatures (#609) (e1ccc82)

Documentation

openai-node - v4.24.1

Published by stainless-bot 10 months ago

4.24.1 (2023-12-22)

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

Bug Fixes

  • pagination: correct type annotation object field (#590) (4066eda)

Documentation

Refactors

openai-node - v4.24.0

Published by stainless-bot 10 months ago

4.24.0 (2023-12-19)

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

Features

  • api: add additional instructions for runs (#586) (401d93e)

Chores

Documentation

  • upgrade models in examples to latest version (#585) (60101a4)