This repository was archived by the owner on Oct 23, 2023. It is now read-only.
v1.5.0
Added
- Add support for Function Calling in the chat completions handler. Function calling guide.
Changed
- Improve Examples in Readme.
- The
\Tectalic\OpenAi\Models\Completions\CreateRequest::$promptproperty is now required. - The
\Tectalic\OpenAi\Models\Completions\CreateResponseChoicesItem::$textproperty is now required. - The
\Tectalic\OpenAi\Models\Completions\CreateResponseChoicesItem::$indexproperty is now required. - The
\Tectalic\OpenAi\Models\Completions\CreateResponseChoicesItem::$logprobsproperty is now required. - The
\Tectalic\OpenAi\Models\Completions\CreateResponseChoicesItem::$finish_reasonproperty is now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateRequestMessagesItem::$contentproperty is no longer marked as required, as it is not required forfunctionchats but is for all other types. - Document the valid values for the
\Tectalic\OpenAi\Models\Completions\CreateResponseChoicesItem::$finish_reasonproperty. - Document the valid values for the
\Tectalic\OpenAi\Models\ChatCompletions\CreateResponseChoicesItem::$finish_reasonproperty. - API version updated from 1.2.0 to 1.3.1.
Full Changelog: v1.4.0...v1.5.0