This repository was archived by the owner on Oct 23, 2023. It is now read-only.
Added
- Add support for OpenAI's new fine-tuning API, which allows fine-tuning of GPT 3.5 Turbo. Fine-tuning guide. Announcement.
- Add new
FineTuningJobsHandler, which creates and lists fine-tuning jobs. - Add new
FineTuningJobsEventsHandler, which gets status updates for a given fine-tuning job. - Add new
FineTuningJobsCancelHandler, which cancels an existing fine-tuning job. - Add support for new content moderation categories:
harassment/threatening,self-harm/intent,self-harm/instructions. Moderation guide.
Changed
- The
\Tectalic\OpenAi\Models\ChatCompletions\CreateRequestFunctionsItem::$parametersproperty is now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateRequestMessagesItem::$contentproperty is now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateRequestMessagesItemFunctionCallnameandargumentsproperties are now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateResponseChoicesItemindex,messageandfinish_reasonproperties are now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateResponseChoicesItemMessage::$contentproperty is now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateResponseChoicesItemMessageFunctionCallnameandargumentsproperties are now required. - The
\Tectalic\OpenAi\Models\Edits\CreateResponseChoicesItemtext,indexandfinish_reasonproperties are now required. - The
\Tectalic\OpenAi\Models\Edits\CreateResponseChoicesItem::$logprobsproperty has been removed. - The
\Tectalic\OpenAi\Models\Files\CreateResponse::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\Files\ListResponseDataItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\Files\RetrieveResponse::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\CreateResponseHyperparamsmodel structure is now defined, with the following required properties:n_epochs,batch_size,prompt_loss_weightandlearning_rate_multiplier. - The
\Tectalic\OpenAi\Models\FineTunes\CreateResponseResultFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\CreateResponseTrainingFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\CreateResponseValidationFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\ListResponseDataItemHyperparamsmodel structure is now defined, with the following required properties:n_epochs,batch_size,prompt_loss_weightandlearning_rate_multiplier. - The
\Tectalic\OpenAi\Models\FineTunes\ListResponseDataItemResultFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\ListResponseDataItemTrainingFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\ListResponseDataItemValidationFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseHyperparamsmodel structure is now defined, with the following required properties:n_epochs,batch_size,prompt_loss_weightandlearning_rate_multiplier. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseResultFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseTrainingFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseValidationFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseValidationFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunesCancel\CancelFineTuneResponseHyperparamsmodel structure is now defined, with the following required properties:n_epochs,batch_size,prompt_loss_weightandlearning_rate_multiplier. - The
\Tectalic\OpenAi\Models\FineTunesCancel\CancelFineTuneResponseResultFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunesCancel\CancelFineTuneResponseTrainingFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\FineTunesCancel\CancelFineTuneResponseValidationFilesItem::$formatproperty is now required. - The
\Tectalic\OpenAi\Models\Moderations\CreateResponseResultsItemCategoriesmodel now supportsharassment/threatening,self-harm/intent,self-harm/instructionsinformation. - The
\Tectalic\OpenAi\Models\Moderations\CreateResponseResultsItemCategoryScoresmodel now supportsharassment/threatening,self-harm/intent,self-harm/instructionsinformation. - Improved documentation for many model properties.
- API version updated from 1.3.1 to 2.0.0.
Deprecated
- Deprecate the
EditsHandler. TheChatCompletionshandler should be used instead. These endpoints will be shut down on January 04, 2024. - Deprecate the
FineTunesHandler. The newFineTunesJobshandler should be used instead. These endpoints will be shut down on January 04, 2024. - Deprecate the
FineTunesEventsHandler. The newFineTunesJobsEventshandler should be used instead. These endpoints will be shut down on January 04, 2024. - Deprecate the
FineTunesCancelHandler. The newFineTunesJobsCancelhandler should be used instead. These endpoints will be shut down on January 04, 2024.
Full Changelog: v1.5.0...v1.6.0