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