Skip to content

Releases: anasfik/openai

v6.0.0

08 Nov 22:20

Choose a tag to compare

What's Changed

  • [Audio] createTranscription Added timestamp_granularities[] request parameter and updated response object by @mihirshahxenlabs in #157
  • Unhandled Exception caused by jsonDecode(data) in postStream() by @masa8 in #153
  • [Edit] fix chat completion & opt. by @lollipopkit in #148
  • Remove toolChoice from ChatGpt example by @thomasdf in #145
  • fix: The type in OpenAIChatCompletionChoiceMessageContentItemModel.im… by @zmhu in #144
  • doc: edit function name by @y0u-0 in #141
  • Added imageBase64 capability instead of Image URL only for gpt-4-vision by @jber18 in #166
  • Changed JSON Syntax for imageUrls to have a object instead of a String. by @Mia-Ameisbichler in #171
  • renamed "max_tokens" to "max_completion_tokens" and added dynamic parameters by @nafiskabbo in #214
  • Feature: Added possibility to specify the dimensions of the embeddings to be created by @MatthiasKi in #211
  • Add support chunking_strategy in Whisper #212 by @DitriXNew in #213
  • fix(model): image_url changed to object from string as specified in OpenAI API spec by @MbBrainz in #198
  • Update responseFormat type by @VadymMatus in #208
  • Update README.md by @bashka411 in #197
  • Add timeout to postStream API by @kyakuno in #194
  • feat: Support dynamic responseFormat by @DuzziG in #193
  • replaceed all typo "Wether" to "Whether" by @luxun1910 in #192
  • Example of getting bytes instead of saving directly to file for speech by @dylandhall in #177
  • fix: /chat body compatibility by @lollipopkit in #178
  • Add stream_options property to get token usage. by @dominic-deantonio in #180

New Contributors

Full Changelog: v5.0.0...v6.0.0

v5.0.0

22 Nov 03:23

Choose a tag to compare

Release Notes

  • Bug fix in the RequestFunctionMessage's toMap() method.
  • Minor changes
  • Add/Improvements to the documentation.
  • Notifications about breaking changes in the chat completions methods in favor of OpenAI Vision feature support, JSON mode..

v4.1.5

18 Nov 00:08

Choose a tag to compare

Release Notes:

  • Removed the exposed field for configuring the package to use fetch_client instead of http_client manually with is isWeb field, in favor of using dart.library.js and dart.library.io conditional imports to automatically detect the platform and use the appropriate client for it.
  • Exposed field for configuring the package to use fetch_client instead of http_client for making requests in web apps (flutter web, etc..)
  • Added Audio Speech method in the Audio module with its docs, example code.
  • Migrated for the deprecated _functions_and function_call th the use of new fields such tools.. in the chat API, confirmed that it works on both asynchronous and stream responses.
  • Exposed API for controlling the requests time out for all internal client methods.
  • Exposed multi content calls for chat completion API for image and text..

v4.1.2

08 Nov 21:44

Choose a tag to compare

Release Notes:

  • Disabled a print method that was used for debugging purposes.

Install it in your Dart/Flutter app from:

v4.1.1

08 Nov 21:32

Choose a tag to compare

Release Notes

  • Fixed the non applied n field in image variation method.
  • Exposed non-breaking model field for other image APIs methods.
  • Bugs & issues fixes.
  • Followed up with more changes in the OpenAI API.
  • Added more documentation for the package.
  • Added more examples for the package.
  • Added more tests for the package.

Install it in your Dart/Flutter app from:

1.9.1

27 Mar 00:12

Choose a tag to compare

[ Add ] release 1.9.0

1.8.4

22 Mar 18:03

Choose a tag to compare

[ Add ] release 1.8.4

1.8.0

09 Mar 11:39

Choose a tag to compare

[ Add ] 1.8.0 release

1.6.1

08 Mar 17:53

Choose a tag to compare

[ Fix ] fixed analyser type issue, edited documentation

1.5.5

02 Mar 22:33

Choose a tag to compare

[ Remove ] removed title in Readme.md