@@ -1260,169 +1260,176 @@ types:
12601260 source :
12611261 openapi : batch-openapi.json
12621262 Source :
1263- discriminant : type
1264- base-properties : {}
1263+ discriminated : false
12651264 union :
1266- url : SourceUrl
1267- file : SourceFile
1268- text : SourceTextSource
1265+ - SourceUrl
1266+ - SourceFile
1267+ - SourceTextSource
12691268 source :
12701269 openapi : batch-openapi.json
12711270 SourceFile :
1272- properties : {}
1271+ properties :
1272+ type : literal<"file">
12731273 extends :
12741274 - File
12751275 source :
12761276 openapi : batch-openapi.json
12771277 SourceTextSource :
1278- properties : {}
1278+ properties :
1279+ type : literal<"text">
12791280 source :
12801281 openapi : batch-openapi.json
12811282 SourceUrl :
1282- properties : {}
1283+ properties :
1284+ type : literal<"url">
12831285 extends :
12841286 - Url
12851287 source :
12861288 openapi : batch-openapi.json
1287- Url :
1288- properties :
1289- url :
1290- type : string
1291- docs : The URL of the source media file.
1292- source :
1293- openapi : batch-openapi.json
12941289 StateEmbeddingGeneration :
1295- discriminant : status
1296- base-properties : {}
1290+ discriminated : false
12971291 union :
1298- QUEUED : StateEmbeddingGenerationQueued
1299- IN_PROGRESS : StateEmbeddingGenerationInProgress
1300- COMPLETED : StateEmbeddingGenerationCompletedEmbeddingGeneration
1301- FAILED : StateEmbeddingGenerationFailed
1292+ - StateEmbeddingGenerationQueued
1293+ - StateEmbeddingGenerationInProgress
1294+ - StateEmbeddingGenerationCompletedEmbeddingGeneration
1295+ - StateEmbeddingGenerationFailed
13021296 source :
13031297 openapi : batch-openapi.json
13041298 StateEmbeddingGenerationCompletedEmbeddingGeneration :
1305- properties : {}
1299+ properties :
1300+ status : literal<"COMPLETED">
13061301 extends :
13071302 - CompletedEmbeddingGeneration
13081303 source :
13091304 openapi : batch-openapi.json
13101305 StateEmbeddingGenerationFailed :
1311- properties : {}
1306+ properties :
1307+ status : literal<"FAILED">
13121308 extends :
13131309 - Failed
13141310 source :
13151311 openapi : batch-openapi.json
13161312 StateEmbeddingGenerationInProgress :
1317- properties : {}
1313+ properties :
1314+ status : literal<"IN_PROGRESS">
13181315 extends :
13191316 - InProgress
13201317 source :
13211318 openapi : batch-openapi.json
13221319 StateEmbeddingGenerationQueued :
1323- properties : {}
1320+ properties :
1321+ status : literal<"QUEUED">
13241322 extends :
13251323 - Queued
13261324 source :
13271325 openapi : batch-openapi.json
13281326 StateInference :
1329- discriminant : status
1330- base-properties : {}
1327+ discriminated : false
13311328 union :
1332- QUEUED : QueuedState
1333- IN_PROGRESS : InProgressState
1334- COMPLETED : CompletedState
1335- FAILED : FailedState
1329+ - QueuedState
1330+ - InProgressState
1331+ - CompletedState
1332+ - FailedState
13361333 source :
13371334 openapi : batch-openapi.json
13381335 CompletedState :
1339- properties : {}
1336+ properties :
1337+ status : literal<"COMPLETED">
13401338 extends :
13411339 - CompletedInference
13421340 source :
13431341 openapi : batch-openapi.json
13441342 FailedState :
1345- properties : {}
1343+ properties :
1344+ status : literal<"FAILED">
13461345 extends :
13471346 - Failed
13481347 source :
13491348 openapi : batch-openapi.json
13501349 InProgressState :
1351- properties : {}
1350+ properties :
1351+ status : literal<"IN_PROGRESS">
13521352 extends :
13531353 - InProgress
13541354 source :
13551355 openapi : batch-openapi.json
13561356 QueuedState :
1357- properties : {}
1357+ properties :
1358+ status : literal<"QUEUED">
13581359 extends :
13591360 - Queued
13601361 source :
13611362 openapi : batch-openapi.json
13621363 StateTlInference :
1363- discriminant : status
1364- base-properties : {}
1364+ discriminated : false
13651365 union :
1366- QUEUED : StateTlInferenceQueued
1367- IN_PROGRESS : StateTlInferenceInProgress
1368- COMPLETED : StateTlInferenceCompletedTlInference
1369- FAILED : StateTlInferenceFailed
1366+ - StateTlInferenceQueued
1367+ - StateTlInferenceInProgress
1368+ - StateTlInferenceCompletedTlInference
1369+ - StateTlInferenceFailed
13701370 source :
13711371 openapi : batch-openapi.json
13721372 StateTlInferenceCompletedTlInference :
1373- properties : {}
1373+ properties :
1374+ status : literal<"COMPLETED">
13741375 extends :
13751376 - CompletedTlInference
13761377 source :
13771378 openapi : batch-openapi.json
13781379 StateTlInferenceFailed :
1379- properties : {}
1380+ properties :
1381+ status : literal<"FAILED">
13801382 extends :
13811383 - Failed
13821384 source :
13831385 openapi : batch-openapi.json
13841386 StateTlInferenceInProgress :
1385- properties : {}
1387+ properties :
1388+ status : literal<"IN_PROGRESS">
13861389 extends :
13871390 - InProgress
13881391 source :
13891392 openapi : batch-openapi.json
13901393 StateTlInferenceQueued :
1391- properties : {}
1394+ properties :
1395+ status : literal<"QUEUED">
13921396 extends :
13931397 - Queued
13941398 source :
13951399 openapi : batch-openapi.json
13961400 StateTraining :
1397- discriminant : status
1398- base-properties : {}
1401+ discriminated : false
13991402 union :
1400- QUEUED : StateTrainingQueued
1401- IN_PROGRESS : StateTrainingInProgress
1402- COMPLETED : StateTrainingCompletedTraining
1403- FAILED : StateTrainingFailed
1403+ - StateTrainingQueued
1404+ - StateTrainingInProgress
1405+ - StateTrainingCompletedTraining
1406+ - StateTrainingFailed
14041407 source :
14051408 openapi : batch-openapi.json
14061409 StateTrainingCompletedTraining :
1407- properties : {}
1410+ properties :
1411+ status : literal<"COMPLETED">
14081412 extends :
14091413 - CompletedTraining
14101414 source :
14111415 openapi : batch-openapi.json
14121416 StateTrainingFailed :
1413- properties : {}
1417+ properties :
1418+ status : literal<"FAILED">
14141419 extends :
14151420 - Failed
14161421 source :
14171422 openapi : batch-openapi.json
14181423 StateTrainingInProgress :
1419- properties : {}
1424+ properties :
1425+ status : literal<"IN_PROGRESS">
14201426 extends :
14211427 - InProgress
14221428 source :
14231429 openapi : batch-openapi.json
14241430 StateTrainingQueued :
1425- properties : {}
1431+ properties :
1432+ status : literal<"QUEUED">
14261433 extends :
14271434 - Queued
14281435 source :
@@ -1474,19 +1481,20 @@ types:
14741481 source :
14751482 openapi : batch-openapi.json
14761483 Task :
1477- discriminant : type
1478- base-properties : {}
1484+ discriminated : false
14791485 union :
1480- classification : TaskClassification
1481- regression : TaskRegression
1486+ - TaskClassification
1487+ - TaskRegression
14821488 source :
14831489 openapi : batch-openapi.json
14841490 TaskClassification :
1485- properties : {}
1491+ properties :
1492+ type : literal<"classification">
14861493 source :
14871494 openapi : batch-openapi.json
14881495 TaskRegression :
1489- properties : {}
1496+ properties :
1497+ type : literal<"regression">
14901498 source :
14911499 openapi : batch-openapi.json
14921500 TextSource : map<string, unknown>
@@ -1731,6 +1739,13 @@ types:
17311739 source :
17321740 openapi : batch-openapi.json
17331741 UnionPredictResult : InferenceSourcePredictResult
1742+ Url :
1743+ properties :
1744+ url :
1745+ type : string
1746+ docs : The URL of the source media file.
1747+ source :
1748+ openapi : batch-openapi.json
17341749 ValidationArgs :
17351750 properties :
17361751 positive_label : optional<Target>
0 commit comments