This repository has been 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-turbo
model 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
AudioTranscriptions
Handler, which transcribes audio into the input language text using the Whisper API. - Add new
AudioTranslations
Handler, which transcribes audio into english text using the Whisper API. - Add new
ChatCompletions
Handler, 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::$model
when performing Edits. - Clarify that
\Tectalic\OpenAi\Models\Embeddings\CreateRequest:$input
can be a maximum of 8192 tokens (not 2048 tokens). - Clarify that
\Tectalic\OpenAi\Models\ImagesEdits\CreateImageRequest::$mask
is no longer a required field. - API version updated from 1.1.0 to 1.2.0.
Full Changelog: v1.3.1...v1.4.0