All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- [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.
- Add Client#models endpoints to list and query available models.
- Add Client#moderations endpoint to check OpenAI's Content Policy.
- Add Client#edits endpoints to transform inputs according to instructions.
- 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.
- Add backwards compatibility from Ruby 2.5+.
- Add Client#classifications to predict the most likely labels based on examples or a file.
- Fixed Files#upload which was previously broken by the validation code!
- 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!
- Add validation of JSONL files to make it easier to debug during upload.
- Add Client#answers endpoint for question/answer response on documents or a file.
- Add Client#files to allow file upload.
- Add Client#search(file:) so you can search a file.
- Remove deprecated method Client#call - use Client#completions instead.
- Rename 'master' branch to 'main' branch.
- Bump dependencies.
- Add Client#completions to allow all parameters.
- Deprecate Client#call.
- Update README.
- Add method to use the search endpoint.
- Bump Rubocop to 3.9.2.
- Bump Webmock to 3.9.1.
- Add ability to change API version in the future.
- Fix README typos.
- Add tests and cached responses for the different engines.
- Add issue templates.
- Add README instructions for using the gem without dotenv.
- Add list of engines to README.
- Run Rubocop on pulls using CircleCI.
- Clean up CircleCI config file.
- Initialise repository.
- Add OpenAI::Client to connect to OpenAI API using user credentials.
- Add spec for Client with a cached response using VCR.
- Add CircleCI to run the specs on pull requests.