@@ -1295,176 +1295,169 @@ types:
1295
1295
source :
1296
1296
openapi : batch-openapi.json
1297
1297
Source :
1298
- discriminated : false
1298
+ discriminant : type
1299
+ base-properties : {}
1299
1300
union :
1300
- - SourceUrl
1301
- - SourceFile
1302
- - SourceTextSource
1301
+ url : SourceUrl
1302
+ file : SourceFile
1303
+ text : SourceTextSource
1303
1304
source :
1304
1305
openapi : batch-openapi.json
1305
1306
SourceFile :
1306
- properties :
1307
- type : literal<"file">
1307
+ properties : {}
1308
1308
extends :
1309
1309
- File
1310
1310
source :
1311
1311
openapi : batch-openapi.json
1312
1312
SourceTextSource :
1313
- properties :
1314
- type : literal<"text">
1313
+ properties : {}
1315
1314
source :
1316
1315
openapi : batch-openapi.json
1317
1316
SourceUrl :
1318
- properties :
1319
- type : literal<"url">
1317
+ properties : {}
1320
1318
extends :
1321
1319
- Url
1322
1320
source :
1323
1321
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
1324
1329
StateEmbeddingGeneration :
1325
- discriminated : false
1330
+ discriminant : status
1331
+ base-properties : {}
1326
1332
union :
1327
- - StateEmbeddingGenerationQueued
1328
- - StateEmbeddingGenerationInProgress
1329
- - StateEmbeddingGenerationCompletedEmbeddingGeneration
1330
- - StateEmbeddingGenerationFailed
1333
+ QUEUED : StateEmbeddingGenerationQueued
1334
+ IN_PROGRESS : StateEmbeddingGenerationInProgress
1335
+ COMPLETED : StateEmbeddingGenerationCompletedEmbeddingGeneration
1336
+ FAILED : StateEmbeddingGenerationFailed
1331
1337
source :
1332
1338
openapi : batch-openapi.json
1333
1339
StateEmbeddingGenerationCompletedEmbeddingGeneration :
1334
- properties :
1335
- status : literal<"COMPLETED">
1340
+ properties : {}
1336
1341
extends :
1337
1342
- CompletedEmbeddingGeneration
1338
1343
source :
1339
1344
openapi : batch-openapi.json
1340
1345
StateEmbeddingGenerationFailed :
1341
- properties :
1342
- status : literal<"FAILED">
1346
+ properties : {}
1343
1347
extends :
1344
1348
- Failed
1345
1349
source :
1346
1350
openapi : batch-openapi.json
1347
1351
StateEmbeddingGenerationInProgress :
1348
- properties :
1349
- status : literal<"IN_PROGRESS">
1352
+ properties : {}
1350
1353
extends :
1351
1354
- InProgress
1352
1355
source :
1353
1356
openapi : batch-openapi.json
1354
1357
StateEmbeddingGenerationQueued :
1355
- properties :
1356
- status : literal<"QUEUED">
1358
+ properties : {}
1357
1359
extends :
1358
1360
- Queued
1359
1361
source :
1360
1362
openapi : batch-openapi.json
1361
1363
StateInference :
1362
- discriminated : false
1364
+ discriminant : status
1365
+ base-properties : {}
1363
1366
union :
1364
- - QueuedState
1365
- - InProgressState
1366
- - CompletedState
1367
- - FailedState
1367
+ QUEUED : QueuedState
1368
+ IN_PROGRESS : InProgressState
1369
+ COMPLETED : CompletedState
1370
+ FAILED : FailedState
1368
1371
source :
1369
1372
openapi : batch-openapi.json
1370
1373
CompletedState :
1371
- properties :
1372
- status : literal<"COMPLETED">
1374
+ properties : {}
1373
1375
extends :
1374
1376
- CompletedInference
1375
1377
source :
1376
1378
openapi : batch-openapi.json
1377
1379
FailedState :
1378
- properties :
1379
- status : literal<"FAILED">
1380
+ properties : {}
1380
1381
extends :
1381
1382
- Failed
1382
1383
source :
1383
1384
openapi : batch-openapi.json
1384
1385
InProgressState :
1385
- properties :
1386
- status : literal<"IN_PROGRESS">
1386
+ properties : {}
1387
1387
extends :
1388
1388
- InProgress
1389
1389
source :
1390
1390
openapi : batch-openapi.json
1391
1391
QueuedState :
1392
- properties :
1393
- status : literal<"QUEUED">
1392
+ properties : {}
1394
1393
extends :
1395
1394
- Queued
1396
1395
source :
1397
1396
openapi : batch-openapi.json
1398
1397
StateTlInference :
1399
- discriminated : false
1398
+ discriminant : status
1399
+ base-properties : {}
1400
1400
union :
1401
- - StateTlInferenceQueued
1402
- - StateTlInferenceInProgress
1403
- - StateTlInferenceCompletedTlInference
1404
- - StateTlInferenceFailed
1401
+ QUEUED : StateTlInferenceQueued
1402
+ IN_PROGRESS : StateTlInferenceInProgress
1403
+ COMPLETED : StateTlInferenceCompletedTlInference
1404
+ FAILED : StateTlInferenceFailed
1405
1405
source :
1406
1406
openapi : batch-openapi.json
1407
1407
StateTlInferenceCompletedTlInference :
1408
- properties :
1409
- status : literal<"COMPLETED">
1408
+ properties : {}
1410
1409
extends :
1411
1410
- CompletedTlInference
1412
1411
source :
1413
1412
openapi : batch-openapi.json
1414
1413
StateTlInferenceFailed :
1415
- properties :
1416
- status : literal<"FAILED">
1414
+ properties : {}
1417
1415
extends :
1418
1416
- Failed
1419
1417
source :
1420
1418
openapi : batch-openapi.json
1421
1419
StateTlInferenceInProgress :
1422
- properties :
1423
- status : literal<"IN_PROGRESS">
1420
+ properties : {}
1424
1421
extends :
1425
1422
- InProgress
1426
1423
source :
1427
1424
openapi : batch-openapi.json
1428
1425
StateTlInferenceQueued :
1429
- properties :
1430
- status : literal<"QUEUED">
1426
+ properties : {}
1431
1427
extends :
1432
1428
- Queued
1433
1429
source :
1434
1430
openapi : batch-openapi.json
1435
1431
StateTraining :
1436
- discriminated : false
1432
+ discriminant : status
1433
+ base-properties : {}
1437
1434
union :
1438
- - StateTrainingQueued
1439
- - StateTrainingInProgress
1440
- - StateTrainingCompletedTraining
1441
- - StateTrainingFailed
1435
+ QUEUED : StateTrainingQueued
1436
+ IN_PROGRESS : StateTrainingInProgress
1437
+ COMPLETED : StateTrainingCompletedTraining
1438
+ FAILED : StateTrainingFailed
1442
1439
source :
1443
1440
openapi : batch-openapi.json
1444
1441
StateTrainingCompletedTraining :
1445
- properties :
1446
- status : literal<"COMPLETED">
1442
+ properties : {}
1447
1443
extends :
1448
1444
- CompletedTraining
1449
1445
source :
1450
1446
openapi : batch-openapi.json
1451
1447
StateTrainingFailed :
1452
- properties :
1453
- status : literal<"FAILED">
1448
+ properties : {}
1454
1449
extends :
1455
1450
- Failed
1456
1451
source :
1457
1452
openapi : batch-openapi.json
1458
1453
StateTrainingInProgress :
1459
- properties :
1460
- status : literal<"IN_PROGRESS">
1454
+ properties : {}
1461
1455
extends :
1462
1456
- InProgress
1463
1457
source :
1464
1458
openapi : batch-openapi.json
1465
1459
StateTrainingQueued :
1466
- properties :
1467
- status : literal<"QUEUED">
1460
+ properties : {}
1468
1461
extends :
1469
1462
- Queued
1470
1463
source :
@@ -1516,20 +1509,19 @@ types:
1516
1509
source :
1517
1510
openapi : batch-openapi.json
1518
1511
Task :
1519
- discriminated : false
1512
+ discriminant : type
1513
+ base-properties : {}
1520
1514
union :
1521
- - TaskClassification
1522
- - TaskRegression
1515
+ classification : TaskClassification
1516
+ regression : TaskRegression
1523
1517
source :
1524
1518
openapi : batch-openapi.json
1525
1519
TaskClassification :
1526
- properties :
1527
- type : literal<"classification">
1520
+ properties : {}
1528
1521
source :
1529
1522
openapi : batch-openapi.json
1530
1523
TaskRegression :
1531
- properties :
1532
- type : literal<"regression">
1524
+ properties : {}
1533
1525
source :
1534
1526
openapi : batch-openapi.json
1535
1527
TextSource : map<string, unknown>
@@ -1774,13 +1766,6 @@ types:
1774
1766
source :
1775
1767
openapi : batch-openapi.json
1776
1768
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
1784
1769
ValidationArgs :
1785
1770
properties :
1786
1771
positive_label : optional<Target>
0 commit comments