@@ -1295,169 +1295,176 @@ types:
12951295 source :
12961296 openapi : batch-openapi.json
12971297 Source :
1298- discriminant : type
1299- base-properties : {}
1298+ discriminated : false
13001299 union :
1301- url : SourceUrl
1302- file : SourceFile
1303- text : SourceTextSource
1300+ - SourceUrl
1301+ - SourceFile
1302+ - SourceTextSource
13041303 source :
13051304 openapi : batch-openapi.json
13061305 SourceFile :
1307- properties : {}
1306+ properties :
1307+ type : literal<"file">
13081308 extends :
13091309 - File
13101310 source :
13111311 openapi : batch-openapi.json
13121312 SourceTextSource :
1313- properties : {}
1313+ properties :
1314+ type : literal<"text">
13141315 source :
13151316 openapi : batch-openapi.json
13161317 SourceUrl :
1317- properties : {}
1318+ properties :
1319+ type : literal<"url">
13181320 extends :
13191321 - Url
13201322 source :
13211323 openapi : batch-openapi.json
1322- Url :
1323- properties :
1324- url :
1325- type : string
1326- docs : The URL of the source media file.
1327- source :
1328- openapi : batch-openapi.json
13291324 StateEmbeddingGeneration :
1330- discriminant : status
1331- base-properties : {}
1325+ discriminated : false
13321326 union :
1333- QUEUED : StateEmbeddingGenerationQueued
1334- IN_PROGRESS : StateEmbeddingGenerationInProgress
1335- COMPLETED : StateEmbeddingGenerationCompletedEmbeddingGeneration
1336- FAILED : StateEmbeddingGenerationFailed
1327+ - StateEmbeddingGenerationQueued
1328+ - StateEmbeddingGenerationInProgress
1329+ - StateEmbeddingGenerationCompletedEmbeddingGeneration
1330+ - StateEmbeddingGenerationFailed
13371331 source :
13381332 openapi : batch-openapi.json
13391333 StateEmbeddingGenerationCompletedEmbeddingGeneration :
1340- properties : {}
1334+ properties :
1335+ status : literal<"COMPLETED">
13411336 extends :
13421337 - CompletedEmbeddingGeneration
13431338 source :
13441339 openapi : batch-openapi.json
13451340 StateEmbeddingGenerationFailed :
1346- properties : {}
1341+ properties :
1342+ status : literal<"FAILED">
13471343 extends :
13481344 - Failed
13491345 source :
13501346 openapi : batch-openapi.json
13511347 StateEmbeddingGenerationInProgress :
1352- properties : {}
1348+ properties :
1349+ status : literal<"IN_PROGRESS">
13531350 extends :
13541351 - InProgress
13551352 source :
13561353 openapi : batch-openapi.json
13571354 StateEmbeddingGenerationQueued :
1358- properties : {}
1355+ properties :
1356+ status : literal<"QUEUED">
13591357 extends :
13601358 - Queued
13611359 source :
13621360 openapi : batch-openapi.json
13631361 StateInference :
1364- discriminant : status
1365- base-properties : {}
1362+ discriminated : false
13661363 union :
1367- QUEUED : QueuedState
1368- IN_PROGRESS : InProgressState
1369- COMPLETED : CompletedState
1370- FAILED : FailedState
1364+ - QueuedState
1365+ - InProgressState
1366+ - CompletedState
1367+ - FailedState
13711368 source :
13721369 openapi : batch-openapi.json
13731370 CompletedState :
1374- properties : {}
1371+ properties :
1372+ status : literal<"COMPLETED">
13751373 extends :
13761374 - CompletedInference
13771375 source :
13781376 openapi : batch-openapi.json
13791377 FailedState :
1380- properties : {}
1378+ properties :
1379+ status : literal<"FAILED">
13811380 extends :
13821381 - Failed
13831382 source :
13841383 openapi : batch-openapi.json
13851384 InProgressState :
1386- properties : {}
1385+ properties :
1386+ status : literal<"IN_PROGRESS">
13871387 extends :
13881388 - InProgress
13891389 source :
13901390 openapi : batch-openapi.json
13911391 QueuedState :
1392- properties : {}
1392+ properties :
1393+ status : literal<"QUEUED">
13931394 extends :
13941395 - Queued
13951396 source :
13961397 openapi : batch-openapi.json
13971398 StateTlInference :
1398- discriminant : status
1399- base-properties : {}
1399+ discriminated : false
14001400 union :
1401- QUEUED : StateTlInferenceQueued
1402- IN_PROGRESS : StateTlInferenceInProgress
1403- COMPLETED : StateTlInferenceCompletedTlInference
1404- FAILED : StateTlInferenceFailed
1401+ - StateTlInferenceQueued
1402+ - StateTlInferenceInProgress
1403+ - StateTlInferenceCompletedTlInference
1404+ - StateTlInferenceFailed
14051405 source :
14061406 openapi : batch-openapi.json
14071407 StateTlInferenceCompletedTlInference :
1408- properties : {}
1408+ properties :
1409+ status : literal<"COMPLETED">
14091410 extends :
14101411 - CompletedTlInference
14111412 source :
14121413 openapi : batch-openapi.json
14131414 StateTlInferenceFailed :
1414- properties : {}
1415+ properties :
1416+ status : literal<"FAILED">
14151417 extends :
14161418 - Failed
14171419 source :
14181420 openapi : batch-openapi.json
14191421 StateTlInferenceInProgress :
1420- properties : {}
1422+ properties :
1423+ status : literal<"IN_PROGRESS">
14211424 extends :
14221425 - InProgress
14231426 source :
14241427 openapi : batch-openapi.json
14251428 StateTlInferenceQueued :
1426- properties : {}
1429+ properties :
1430+ status : literal<"QUEUED">
14271431 extends :
14281432 - Queued
14291433 source :
14301434 openapi : batch-openapi.json
14311435 StateTraining :
1432- discriminant : status
1433- base-properties : {}
1436+ discriminated : false
14341437 union :
1435- QUEUED : StateTrainingQueued
1436- IN_PROGRESS : StateTrainingInProgress
1437- COMPLETED : StateTrainingCompletedTraining
1438- FAILED : StateTrainingFailed
1438+ - StateTrainingQueued
1439+ - StateTrainingInProgress
1440+ - StateTrainingCompletedTraining
1441+ - StateTrainingFailed
14391442 source :
14401443 openapi : batch-openapi.json
14411444 StateTrainingCompletedTraining :
1442- properties : {}
1445+ properties :
1446+ status : literal<"COMPLETED">
14431447 extends :
14441448 - CompletedTraining
14451449 source :
14461450 openapi : batch-openapi.json
14471451 StateTrainingFailed :
1448- properties : {}
1452+ properties :
1453+ status : literal<"FAILED">
14491454 extends :
14501455 - Failed
14511456 source :
14521457 openapi : batch-openapi.json
14531458 StateTrainingInProgress :
1454- properties : {}
1459+ properties :
1460+ status : literal<"IN_PROGRESS">
14551461 extends :
14561462 - InProgress
14571463 source :
14581464 openapi : batch-openapi.json
14591465 StateTrainingQueued :
1460- properties : {}
1466+ properties :
1467+ status : literal<"QUEUED">
14611468 extends :
14621469 - Queued
14631470 source :
@@ -1509,19 +1516,20 @@ types:
15091516 source :
15101517 openapi : batch-openapi.json
15111518 Task :
1512- discriminant : type
1513- base-properties : {}
1519+ discriminated : false
15141520 union :
1515- classification : TaskClassification
1516- regression : TaskRegression
1521+ - TaskClassification
1522+ - TaskRegression
15171523 source :
15181524 openapi : batch-openapi.json
15191525 TaskClassification :
1520- properties : {}
1526+ properties :
1527+ type : literal<"classification">
15211528 source :
15221529 openapi : batch-openapi.json
15231530 TaskRegression :
1524- properties : {}
1531+ properties :
1532+ type : literal<"regression">
15251533 source :
15261534 openapi : batch-openapi.json
15271535 TextSource : map<string, unknown>
@@ -1766,6 +1774,13 @@ types:
17661774 source :
17671775 openapi : batch-openapi.json
17681776 UnionPredictResult : InferenceSourcePredictResult
1777+ Url :
1778+ properties :
1779+ url :
1780+ type : string
1781+ docs : The URL of the source media file.
1782+ source :
1783+ openapi : batch-openapi.json
17691784 ValidationArgs :
17701785 properties :
17711786 positive_label : optional<Target>
0 commit comments