TsgcHTTP_API_OpenAI › Methods › ListFineTuneEvents
Lists events for a legacy fine-tune (deprecated, use ListFineTuningJobEvents instead)
function ListFineTuneEvents(const aFineTuneId: string) : TsgcOpenAIClass_Response_FineTune_Events;
| Name | Type | Description |
|---|---|---|
aFineTuneId | const string | Identifier of the legacy fine-tune whose events to read |
Collection of event records with level, message and timestamp (TsgcOpenAIClass_Response_FineTune_Events)
Calls the legacy GET /v1/fine-tunes/{fine_tune_id}/events endpoint. This API is deprecated; for current fine-tuning jobs use ListFineTuningJobEvents instead. Events describe the lifecycle of a training run, including validation, training and export phases.
oResponse := oAPI.ListFineTuneEvents('ft-abc123');
for i := 0 to oResponse.Data.Count - 1 do
Memo1.Lines.Add(oResponse.Data[i].Message);