Skip to content

Releases: alexrudall/ruby-openai

2.0.1

22 Oct 20:51
Compare
Choose a tag to compare

Removed

  • Deprecate Client#answers endpoint.
  • Deprecate Client#classifications endpoint.

2.0.0

19 Sep 14:40
815f9f9
Compare
Choose a tag to compare

Removed

  • [BREAKING] Remove support for Ruby 2.5.
  • [BREAKING] Remove support for passing query, documents or file as top-level parameters to Client#search.
  • Deprecate Client#search endpoint.
  • Deprecate Client#engines endpoints.

Added

  • Add Client#models endpoints to list and query available models.

1.5.0

18 Sep 19:15
Compare
Choose a tag to compare

Added

  • Add Client#moderations endpoint to check OpenAI's Content Policy.
  • Add Client#edits endpoints to transform inputs according to instructions.

1.4.0

11 Dec 22:41
Compare
Choose a tag to compare

Added

  • Add Client#engines endpoints to list and query available engines.
  • Add Client#finetunes endpoints to create and use fine-tuned models.
  • Add Client#embeddings endpoint to get vector representations of inputs.
  • Add tests and examples for more engines.

v1.3.1

14 Jul 20:33
Compare
Choose a tag to compare

Changed

  • Add backwards compatibility from Ruby 2.5+.

v1.3.0

18 Apr 21:16
5d56dd3
Compare
Choose a tag to compare

Added

  • Add Client#classifications to predict the most likely labels based on examples or a file.

Fixed

  • Fixed Files#upload which was previously broken by the validation code!

v1.2.2

18 Apr 17:16
Compare
Choose a tag to compare

Changed

  • Add Client#search(parameters:) to allow passing max_rerank or return_metadata.
  • Deprecate Client#search with query, file or document parameters at the top level.
  • Thanks @stevegeek for pointing this issue out!

v1.2.1

11 Apr 16:57
b0008c7
Compare
Choose a tag to compare

Added

  • Add validation of JSONL files to make it easier to debug when uploading files.

v1.2.0

08 Apr 17:10
Compare
Choose a tag to compare

Added

  • Add Client#answers endpoint for question/answer response on documents or a file.

v1.1.0

07 Apr 22:10
fa4c744
Compare
Choose a tag to compare

Added

  • Add Client#files to allow file upload.
  • Add Client#search(file:) so you can search a file.