Share via


Fine Tuning - Get Events

指定された fine-tune-id で指定された微調整ジョブのイベントを取得します。イベントは、ジョブの状態が変更された場合 (実行中や完了時など)、結果がアップロードされたときに作成されます。

GET {endpoint}/openai/fine_tuning/jobs/{fine-tuning-job-id}/events?api-version=2024-02-01
GET {endpoint}/openai/fine_tuning/jobs/{fine-tuning-job-id}/events?after={after}&limit={limit}&api-version=2024-02-01

URI パラメーター

名前 / 必須 説明
endpoint
path True

string

url

サポートされている Cognitive Services エンドポイント (プロトコルとホスト名など): https://aoairesource.openai.azure.com"aoairesource" を Azure OpenAI アカウント名に置き換えます)。

fine-tuning-job-id
path True

string

微調整ジョブの識別子。

api-version
query True

string

要求された API バージョン。

after
query

string

前の改ページ調整要求からの最後のイベントの識別子。

limit
query

integer

int32

取得するイベントの数。 既定値は 20 です。

要求ヘッダー

名前 必須 説明
api-key True

string

Cognitive Services Azure OpenAI アカウント キーをここに入力します。

応答

名前 説明
200 OK

FineTuningJobEventList

Success

Other Status Codes

ErrorResponse

エラーが発生しました。

セキュリティ

api-key

Cognitive Services Azure OpenAI アカウント キーをここに入力します。

Type: apiKey
In: header

Getting events of a fine tune job.

Sample Request

GET https://aoairesource.openai.azure.com/openai/fine_tuning/jobs/ft-72a2792ef7d24ba7b82c7fe4a37e379f/events?api-version=2024-02-01

Sample Response

{
  "has_more": false,
  "data": [
    {
      "id": "ft-event-363dcd7cb4c74539bc53293c1dceef05",
      "created_at": 1646126127,
      "level": "info",
      "message": "Job enqueued. Waiting for jobs ahead to complete.",
      "type": "message",
      "object": "fine_tuning.job.event"
    },
    {
      "id": "ft-event-8c2a44999790437cb3230e543fa2cf0f",
      "created_at": 1646126169,
      "level": "info",
      "message": "Job started.",
      "type": "message",
      "object": "fine_tuning.job.event"
    },
    {
      "id": "ft-event-2d47d651d2f3484c8187c88c00078147",
      "created_at": 1646126192,
      "level": "info",
      "message": "Job succeeded.",
      "type": "message",
      "object": "fine_tuning.job.event"
    }
  ],
  "object": "list"
}

定義

名前 説明
Error

エラー

ErrorCode

ErrorCode

ErrorResponse

ErrorResponse

EventType

EventType

FineTuningJobEvent

FineTuningJobEvent

FineTuningJobEventList

FineTuningJobEventList

InnerError

InnerError

InnerErrorCode

InnerErrorCode

LogLevel

LogLevel

TypeDiscriminator

TypeDiscriminator

Error

エラー

名前 説明
code

ErrorCode

ErrorCode
Microsoft REST ガイドライン (https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses) で定義されているエラー コード。

details

Error[]

エラーの詳細 (使用可能な場合)。

innererror

InnerError

InnerError
Microsoft REST ガイドライン (https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses) で定義されている内部エラー。

message

string

このエラーのメッセージ。

target

string

エラーが発生した場所 (使用可能な場合)。

ErrorCode

ErrorCode

名前 説明
conflict

string

要求された操作が現在のリソースの状態と競合しています。

contentFilter

string

安全システムの結果、画像の生成に失敗しました。

fileImportFailed

string

ファイルのインポートに失敗しました。

forbidden

string

この操作は、現在のユーザー/API キーに対しては禁止されています。

internalFailure

string

内部エラーです。 もう一度お試しください。

invalidPayload

string

この操作の要求データが無効です。

itemDoesAlreadyExist

string

項目は既に存在します。

jsonlValidationFailed

string

jsonl データの検証に失敗しました。

notFound

string

リソースが見つかりません。

quotaExceeded

string

クォータを超過しました。

serviceUnavailable

string

このサービスは現在使用できません。

tooManyRequests

string

要求が多すぎます。 後で再試行してください。

unauthorized

string

現在のユーザー/API キーは、操作に対して承認されていません。

unexpectedEntityState

string

現在のリソースの状態では操作を実行できません。

ErrorResponse

ErrorResponse

名前 説明
error

Error

エラー
Microsoft REST ガイドライン (https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses) で定義されているエラー コンテンツ。

EventType

EventType

名前 説明
message

string

イベントには、人間が判読できるメッセージのみが含まれます。

metrics

string

イベントにはメトリックが含まれています。

FineTuningJobEvent

FineTuningJobEvent

名前 説明
created_at

integer

このイベントが作成されたときのタイムスタンプ (unix エポック)。

data

このイベントのマシン読み取り可能なデータ。

id

string

このイベントの ID。

level

LogLevel

LogLevel
イベントの詳細レベル。

message

string

イベントを説明するメッセージ。 これは、エンキュー、開始、失敗、完了、アップロードされた結果などの他のイベントなど、状態の変化です。

object

TypeDiscriminator

TypeDiscriminator
オブジェクトの型を定義します。

type

EventType

EventType
コンテンツ フィルター結果の重大度を定義します。

FineTuningJobEventList

FineTuningJobEventList

名前 説明
data

FineTuningJobEvent[]

項目の一覧。

has_more

boolean

イベントの一覧に返される要素より多くの要素が含まれているかどうかを示す値。

object

TypeDiscriminator

TypeDiscriminator
オブジェクトの型を定義します。

InnerError

InnerError

名前 説明
code

InnerErrorCode

InnerErrorCode
Microsoft REST ガイドライン (https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses) で定義されている内部エラー コード。

innererror

InnerError

InnerError
Microsoft REST ガイドライン (https://github.com/microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses) で定義されている内部エラー。

InnerErrorCode

InnerErrorCode

名前 説明
invalidPayload

string

この操作の要求データが無効です。

LogLevel

LogLevel

名前 説明
error

string

このメッセージは、回復不可能な問題を表します。

info

string

このイベントは情報提供のみを目的としています。

warning

string

このイベントは、軽減された問題を表します。

TypeDiscriminator

TypeDiscriminator

名前 説明
file

string

このオブジェクトは、ファイルを表します。

fine-tune

string

このオブジェクトは、微調整ジョブを表します。

fine-tune-event

string

このオブジェクトは、微調整ジョブのイベントを表します。

fine_tuning.job

string

このオブジェクトは、微調整ジョブを表します。

fine_tuning.job.event

string

このオブジェクトは、微調整ジョブのイベントを表します。

list

string

このオブジェクトは、他のオブジェクトの一覧を表します。

model

string

このオブジェクトは、モデルを表します (基本モデルまたは微調整ジョブの結果を指定できます)。