Skip to content

Commit e5c24ff

Browse files
committed
SDK regeneration
1 parent d9ff56c commit e5c24ff

File tree

84 files changed

+1026
-1011
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+1026
-1011
lines changed

Diff for: .mock/definition/empathic-voice/chat.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ channel:
22
path: /v0/evi/chat
33
url: prod
44
auth: false
5+
docs: Chat with Empathic Voice Interface (EVI)
56
query-parameters:
67
config_id:
78
type: optional<string>

Diff for: .mock/definition/expression-measurement/batch/__package__.yml

+76-61
Original file line numberDiff line numberDiff line change
@@ -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>

Diff for: .mock/definition/expression-measurement/v0StreamModels.yml renamed to .mock/definition/expression-measurement/stream/stream.yml

+15-14
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ channel:
22
path: /v0/stream/models
33
url: prod
44
auth: false
5-
display-name: Stream
65
headers:
76
X-Hume-Api-Key:
87
type: string
@@ -36,8 +35,8 @@ types:
3635
inline: true
3736
StreamModelPredictionsBurstPredictionsItem:
3837
properties:
39-
time: optional<unknown>
40-
emotions: optional<unknown>
38+
time: optional<streamRoot.TimeRange>
39+
emotions: optional<streamRoot.EmotionEmbedding>
4140
source:
4241
openapi: streaming-asyncapi.yml
4342
inline: true
@@ -56,7 +55,7 @@ types:
5655
time:
5756
type: optional<double>
5857
docs: Time in seconds when face detection occurred.
59-
bbox: optional<unknown>
58+
bbox: optional<streamRoot.StreamBoundingBox>
6059
prob:
6160
type: optional<double>
6261
docs: The predicted probability that a detected face was actually a face.
@@ -65,9 +64,9 @@ types:
6564
docs: >-
6665
Identifier for a face. Not that this defaults to `unknown` unless face
6766
identification is enabled in the face model configuration.
68-
emotions: optional<unknown>
69-
facs: optional<unknown>
70-
descriptions: optional<unknown>
67+
emotions: optional<streamRoot.EmotionEmbedding>
68+
facs: optional<streamRoot.EmotionEmbedding>
69+
descriptions: optional<streamRoot.EmotionEmbedding>
7170
source:
7271
openapi: streaming-asyncapi.yml
7372
inline: true
@@ -80,7 +79,7 @@ types:
8079
inline: true
8180
StreamModelPredictionsFacemeshPredictionsItem:
8281
properties:
83-
emotions: optional<unknown>
82+
emotions: optional<streamRoot.EmotionEmbedding>
8483
source:
8584
openapi: streaming-asyncapi.yml
8685
inline: true
@@ -96,10 +95,10 @@ types:
9695
text:
9796
type: optional<string>
9897
docs: A segment of text (like a word or a sentence).
99-
position: optional<unknown>
100-
emotions: optional<unknown>
101-
sentiment: optional<unknown>
102-
toxicity: optional<unknown>
98+
position: optional<streamRoot.TextPosition>
99+
emotions: optional<streamRoot.EmotionEmbedding>
100+
sentiment: optional<streamRoot.Sentiment>
101+
toxicity: optional<streamRoot.Toxicity>
103102
source:
104103
openapi: streaming-asyncapi.yml
105104
inline: true
@@ -112,8 +111,8 @@ types:
112111
inline: true
113112
StreamModelPredictionsProsodyPredictionsItem:
114113
properties:
115-
time: optional<unknown>
116-
emotions: optional<unknown>
114+
time: optional<streamRoot.TimeRange>
115+
emotions: optional<streamRoot.EmotionEmbedding>
117116
source:
118117
openapi: streaming-asyncapi.yml
119118
inline: true
@@ -435,3 +434,5 @@ types:
435434
received.
436435
source:
437436
openapi: streaming-asyncapi.yml
437+
imports:
438+
streamRoot: __package__.yml

0 commit comments

Comments
 (0)