Trains and deploys a fine-tuned model.

POST

Headers

X-Client-NamestringOptional

The name of the project that is making the request.

Request

This endpoint expects an object.
namestringRequired

FinetunedModel name (e.g. foobar).

settingsobjectRequired

FinetunedModel settings such as dataset, hyperparameters…

idstringOptional

read-only. FinetunedModel ID.

creator_idstringOptional

read-only. User ID of the creator.

organization_idstringOptional

read-only. Organization ID.

statusenumOptionalDefaults to STATUS_UNSPECIFIED

read-only. Current stage in the life-cycle of the fine-tuned model.

created_atdatetimeOptional

read-only. Creation timestamp.

updated_atdatetimeOptional

read-only. Latest update timestamp.

completed_atdatetimeOptional

read-only. Timestamp for the completed fine-tuning.

last_useddatetimeOptional

read-only. Timestamp for the latest request to this fine-tuned model.

Response

This endpoint returns an object.
finetuned_modelobjectOptional

Information about the fine-tuned model.