Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Releases: tectalichq/public-openai-client-js

v0.3.1

20 Mar 04:15
1723489
Compare
Choose a tag to compare

0.3.0

17 Mar 03:39
094d3f5
Compare
Choose a tag to compare

Added

  • Add support for Chat with a new ChatCompletions handler class containing a new create() method.
  • Add support for Audio transcription with a new AudioTranscriptions handler class containing a new create() method.
  • Add support for Audio translation with a new AudioTranslations handler class containing a new create() method.
  • Add ability to use .env file to control test behaviour.

Changed

  • Updated latest OpenAI specification to v1.2.0.
  • Make test use of OPENAI_CLIENT_TEST_AUTH_TOKEN, OPENAI_CLIENT_TEST_BASE_URI, OPENAI_CLIENT_TEST_TIMEOUT and OPENAI_CLIENT_TEST_VERBOSE_OUTPUT environment variables.

Full Changelog: v0.2.1...v0.3.0

Download: https://www.npmjs.com/package/@tectalic/openai/v/0.3.0

0.2.1

23 Feb 08:29
721378b
Compare
Choose a tag to compare

Fixed

  • Fix error when retrieving a response from the .edits.create() handler method.

Changed

  • Remove id and model required properties from the .edits.create() handler method response, as they are no longer returned by OpenAI's API.

Full Changelog: v0.2.0...v0.2.1

0.2.0

14 Nov 04:34
678d42e
Compare
Choose a tag to compare

Added

  • Add support for Edits with a new Edits handler class containing a new create() method.
  • Add support for Embeddings with a new Embeddings handler class containing a new create() method.
  • Add support for Files with a new Files handler class containing four new methods:
    • list()
    • create()
    • retrieve()
    • delete()
  • Add support for Files Content with a new FilesContent handler class containing a new download() method.
  • Add support for Fine-Tuning with a new FineTunes handler class containing three new methods:
    • list()
    • create()
    • retrieve()
  • Add support for Fine-Tune Cancellation with a new FineTunesCancel handler class containing a new cancelFineTune() method.
  • Add support for Fine-Tune Events with a new FineTunesEvents handler class containing a new listFineTune() method.
  • Add support for Image Edits using a new ImagesEdits handler class containing a new createImage() method.
  • Add support for Image Generations using a new ImagesGenerations handler class containing a new create() method.
  • Add support for Image Variations using a new ImagesVariations handler class containing a new createImage() method.
  • Add support for Models with a new Models handler class containing three new methods:
    • list()
    • retrieve()
    • delete()
  • Add support for Moderation using a new Moderations handler class containing a new create() method.
  • Added comments for Completions handler and model classes.

Changed

  • Improve README.md file.
  • Updated latest OpenAI specification to v1.1.0
  • Updated Completions handler and model classes to match the specification.
  • Fine-tune error handling.
  • Tests are separated into unit and integration tests.
  • Enabled esModuleInterop for tsc build.

Full Changelog: v0.1.2...v0.2.0

0.1.2

09 Nov 05:22
7f62cf7
Compare
Choose a tag to compare

Added

  • Return data type autocompletion for endpoints

Full Changelog: v0.1.1...v0.1.2

0.1.1

09 Nov 05:21
0acf956
Compare
Choose a tag to compare

Changed

  • Switch License.

Full Changelog: v0.1.0...v0.1.1

0.1.0

09 Nov 05:21
44c52c4
Compare
Choose a tag to compare

Added

  • Initial release.