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.
- Use parameters defined outside endpoint methods.
- Encourage the use of
php-http/mock-client
for testing and mocking API responses. - Remove the
Tests\MockHttpClient
class, and use thephp-http/mock-client
package instead. - Make Handler and Model class names more readable.
- Use correct model type for nested models.
- Add support for DALL·E image generation.
- Add new
ImageGenerations
Handler, which creates an image given a prompt. - Add new
ImagesEdits
Handler, which creates an edited or extended image given an original image and a prompt. - Add new
ImagesVariations
Handler, which creates a variation of a given image.
- Improve Handler unit tests.
- API version updated from 1.0.6 to 1.1.0.
- Improve readme.
- Remove deprecated
Answers
handler and associated models. - Remove deprecated
Classifications
handler and associated models. - Remove deprecated
Engines
handler and associated models. - Remove deprecated
EnginesSearch
handler and associated models.
- Switch License.
- Add support for Moderation using a new
Moderations::create()
Handler class and Method. - Add usage information to response models:
Completions::create()
,Edits::create()
andEmbeddings::create()
.
- Define required properties for response models.
- Rename all nested response models.
- Change default value for
Tectalic\OpenAi\Models\FineTunes\CreateRequest::$prompt_loss_weight
. - 22 API Methods are now supported, grouped into 14 API Handlers.
- API version updated from 1.0.5 to 1.0.6.
- Don't run CI for tags.
- Use correct model type for nested models:
Tectalic\OpenAi\Models\FineTunes\CreateResponse
,Tectalic\OpenAi\Models\FineTunes\RetrieveResponse
andTectalic\OpenAi\Models\FineTunesCancel\CancelFineTuneResponse
.
- Initial release.