This repository has been 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
FineTuningJobs
Handler, which creates and lists fine-tuning jobs. - Add new
FineTuningJobsEvents
Handler, which gets status updates for a given fine-tuning job. - Add new
FineTuningJobsCancel
Handler, 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::$parameters
property is now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateRequestMessagesItem::$content
property is now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateRequestMessagesItemFunctionCall
name
andarguments
properties are now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateResponseChoicesItem
index
,message
andfinish_reason
properties are now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateResponseChoicesItemMessage::$content
property is now required. - The
\Tectalic\OpenAi\Models\ChatCompletions\CreateResponseChoicesItemMessageFunctionCall
name
andarguments
properties are now required. - The
\Tectalic\OpenAi\Models\Edits\CreateResponseChoicesItem
text
,index
andfinish_reason
properties are now required. - The
\Tectalic\OpenAi\Models\Edits\CreateResponseChoicesItem::$logprobs
property has been removed. - The
\Tectalic\OpenAi\Models\Files\CreateResponse::$format
property is now required. - The
\Tectalic\OpenAi\Models\Files\ListResponseDataItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\Files\RetrieveResponse::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\CreateResponseHyperparams
model structure is now defined, with the following required properties:n_epochs
,batch_size
,prompt_loss_weight
andlearning_rate_multiplier
. - The
\Tectalic\OpenAi\Models\FineTunes\CreateResponseResultFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\CreateResponseTrainingFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\CreateResponseValidationFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\ListResponseDataItemHyperparams
model structure is now defined, with the following required properties:n_epochs
,batch_size
,prompt_loss_weight
andlearning_rate_multiplier
. - The
\Tectalic\OpenAi\Models\FineTunes\ListResponseDataItemResultFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\ListResponseDataItemTrainingFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\ListResponseDataItemValidationFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseHyperparams
model structure is now defined, with the following required properties:n_epochs
,batch_size
,prompt_loss_weight
andlearning_rate_multiplier
. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseResultFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseTrainingFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseValidationFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunes\RetrieveResponseValidationFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunesCancel\CancelFineTuneResponseHyperparams
model structure is now defined, with the following required properties:n_epochs
,batch_size
,prompt_loss_weight
andlearning_rate_multiplier
. - The
\Tectalic\OpenAi\Models\FineTunesCancel\CancelFineTuneResponseResultFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunesCancel\CancelFineTuneResponseTrainingFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\FineTunesCancel\CancelFineTuneResponseValidationFilesItem::$format
property is now required. - The
\Tectalic\OpenAi\Models\Moderations\CreateResponseResultsItemCategories
model now supportsharassment/threatening
,self-harm/intent
,self-harm/instructions
information. - The
\Tectalic\OpenAi\Models\Moderations\CreateResponseResultsItemCategoryScores
model now supportsharassment/threatening
,self-harm/intent
,self-harm/instructions
information. - Improved documentation for many model properties.
- API version updated from 1.3.1 to 2.0.0.
Deprecated
- Deprecate the
Edits
Handler. TheChatCompletions
handler should be used instead. These endpoints will be shut down on January 04, 2024. - Deprecate the
FineTunes
Handler. The newFineTunesJobs
handler should be used instead. These endpoints will be shut down on January 04, 2024. - Deprecate the
FineTunesEvents
Handler. The newFineTunesJobsEvents
handler should be used instead. These endpoints will be shut down on January 04, 2024. - Deprecate the
FineTunesCancel
Handler. The newFineTunesJobsCancel
handler should be used instead. These endpoints will be shut down on January 04, 2024.
Full Changelog: v1.5.0...v1.6.0