This repository was archived by the owner on Oct 23, 2023. It is now read-only.
1.4.0
Announcement Post
A ChatGPT API Client for Your PHP Applications
Added
- Add support for the new ChatGPT API, including
gpt-3.5-turbomodel and the new Chat completions endpoint. Chat completions guide. - Add support for the new Whisper API, allowing Transcriptions and Translations, accepting a variety of formats (
m4a,mp3,mp4,mpeg,mpga,wav,webm). Speech to text guide. - Add new
AudioTranscriptionsHandler, which transcribes audio into the input language text using the Whisper API. - Add new
AudioTranslationsHandler, which transcribes audio into english text using the Whisper API. - Add new
ChatCompletionsHandler, which creates a completion for one or more chat messages using the ChatGPT API.
Changed
- Clarify which models can be used in
\Tectalic\OpenAi\Models\Edits\CreateRequest::$modelwhen performing Edits. - Clarify that
\Tectalic\OpenAi\Models\Embeddings\CreateRequest:$inputcan be a maximum of 8192 tokens (not 2048 tokens). - Clarify that
\Tectalic\OpenAi\Models\ImagesEdits\CreateImageRequest::$maskis no longer a required field. - API version updated from 1.1.0 to 1.2.0.
Full Changelog: v1.3.1...v1.4.0