Releases: alexrudall/ruby-openai
Releases · alexrudall/ruby-openai
2.0.1
Removed
- Deprecate Client#answers endpoint.
- Deprecate Client#classifications endpoint.
2.0.0
Removed
- [BREAKING] Remove support for Ruby 2.5.
- [BREAKING] Remove support for passing
query
,documents
orfile
as top-level parameters toClient#search
. - Deprecate Client#search endpoint.
- Deprecate Client#engines endpoints.
Added
- Add Client#models endpoints to list and query available models.
1.5.0
Added
- Add Client#moderations endpoint to check OpenAI's Content Policy.
- Add Client#edits endpoints to transform inputs according to instructions.
1.4.0
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
Changed
- Add backwards compatibility from Ruby 2.5+.
v1.3.0
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
Changed
- Add Client#search(parameters:) to allow passing
max_rerank
orreturn_metadata
. - Deprecate Client#search with query, file or document parameters at the top level.
- Thanks @stevegeek for pointing this issue out!
v1.2.1
Added
- Add validation of JSONL files to make it easier to debug when uploading files.
v1.2.0
Added
- Add Client#answers endpoint for question/answer response on documents or a file.
v1.1.0
Added
- Add Client#files to allow file upload.
- Add Client#search(file:) so you can search a file.