PATCH
/v1/custom-models/{model_id}カスタムモデルを更新する
カスタムモデルの表示名、説明、非公開のシステムプロンプトを更新します。エイリアスは変わりません。フィールドを消去するにはnullを送信してください。
認証: AuthorizationヘッダーにBearer形式のAPIキー
パスパラメーター
model_idstring必須
リクエストボディ
descriptionstring | nulldisplay_namestring | nullsystem_promptstring | null
レスポンス
200成功。更新後のカスタムモデルです。
レスポンス
aliasstring必須baseline_modelstring必須created_atstring必須display_namestring必須gateway_alias_idstring必須idstring必須identity_idstring必須stageenumstatusstring必須updated_atstring必須descriptionstring | null必須system_promptstring | nullモデルの非公開システムプロンプトで、ChatとA/B推論に適用されます。設定されていない場合はnullです。
422リクエストが無効です。
レスポンス
detailarray<object>detail
ctxobjectinputanylocarray<string | integer>必須msgstring必須typestring必須
リクエスト
curl -X PATCH 'https://api.staging.experientiallabs.ai/v1/custom-models/00000000-0000-4000-8000-000000000001' \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"system_prompt": "You are a concise support assistant for Acme."
}'レスポンス
{
"alias": "string",
"baseline_model": "string",
"created_at": "string",
"display_name": "string",
"gateway_alias_id": "string",
"id": "string",
"identity_id": "string",
"status": "string",
"updated_at": "string",
"description": "string"
}https://api.staging.experientiallabs.ai/v1/custom-models/00000000-0000-4000-8000-000000000001