Skip to content

Commit ec19344

Browse files
(chore): instrument sdk version in EVI
1 parent 1495108 commit ec19344

Some content is hidden

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

48 files changed

+814
-807
lines changed

.mock/definition/expression-measurement/batch.yml

+86-78
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ service:
104104
granularity: utterance
105105
identify_speakers: false
106106
notify: true
107-
registry_files: []
108107
text: []
109108
urls:
110109
- https://hume-tutorials.s3.amazonaws.com/faces.zip
@@ -127,6 +126,7 @@ service:
127126
response:
128127
docs: ""
129128
type: JobId
129+
property: job_id
130130
examples:
131131
- request:
132132
urls:
@@ -176,7 +176,6 @@ service:
176176
granularity: utterance
177177
identify_speakers: false
178178
notify: true
179-
registry_files: []
180179
text: []
181180
urls:
182181
- https://hume-tutorials.s3.amazonaws.com/faces.zip
@@ -545,7 +544,7 @@ types:
545544
type: string
546545
docs: Name of the descriptive feature being expressed.
547546
score:
548-
type: string
547+
type: float
549548
docs: Embedding value for the descriptive feature being expressed.
550549
source:
551550
openapi: ../expression-measurement/batch-openapi.json
@@ -568,7 +567,7 @@ types:
568567
type: string
569568
docs: Name of the emotion being expressed.
570569
score:
571-
type: double
570+
type: float
572571
docs: Embedding value for the emotion being expressed.
573572
source:
574573
openapi: ../expression-measurement/batch-openapi.json
@@ -671,7 +670,7 @@ types:
671670
type: string
672671
docs: Name of the FACS 2.0 feature being expressed.
673672
score:
674-
type: string
673+
type: float
675674
docs: Embedding value for the FACS 2.0 feature being expressed.
676675
source:
677676
openapi: ../expression-measurement/batch-openapi.json
@@ -880,9 +879,6 @@ types:
880879
881880
If you wish to supply more than 100 URLs, consider providing them as
882881
an archive (`.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`).
883-
registry_files:
884-
type: optional<list<string>>
885-
docs: List of File IDs corresponding to the files in the asset registry.
886882
text:
887883
type: optional<list<string>>
888884
docs: Text to supply directly to our language and NER models.
@@ -1243,7 +1239,7 @@ types:
12431239
type: string
12441240
docs: Level of sentiment, ranging from `1` (negative) to `9` (positive)
12451241
score:
1246-
type: string
1242+
type: float
12471243
docs: Prediction for this level of sentiment
12481244
source:
12491245
openapi: ../expression-measurement/batch-openapi.json
@@ -1255,169 +1251,176 @@ types:
12551251
source:
12561252
openapi: ../expression-measurement/batch-openapi.json
12571253
Source:
1258-
discriminant: type
1259-
base-properties: {}
1254+
discriminated: false
12601255
union:
1261-
url: SourceUrl
1262-
file: SourceFile
1263-
text: SourceTextSource
1256+
- SourceUrl
1257+
- SourceFile
1258+
- SourceTextSource
12641259
source:
12651260
openapi: ../expression-measurement/batch-openapi.json
12661261
SourceFile:
1267-
properties: {}
1262+
properties:
1263+
type: literal<"file">
12681264
extends:
12691265
- File
12701266
source:
12711267
openapi: ../expression-measurement/batch-openapi.json
12721268
SourceTextSource:
1273-
properties: {}
1269+
properties:
1270+
type: literal<"text">
12741271
source:
12751272
openapi: ../expression-measurement/batch-openapi.json
12761273
SourceUrl:
1277-
properties: {}
1274+
properties:
1275+
type: literal<"url">
12781276
extends:
12791277
- Url
12801278
source:
12811279
openapi: ../expression-measurement/batch-openapi.json
1282-
Url:
1283-
properties:
1284-
url:
1285-
type: string
1286-
docs: The URL of the source media file.
1287-
source:
1288-
openapi: ../expression-measurement/batch-openapi.json
12891280
StateEmbeddingGeneration:
1290-
discriminant: status
1291-
base-properties: {}
1281+
discriminated: false
12921282
union:
1293-
QUEUED: StateEmbeddingGenerationQueued
1294-
IN_PROGRESS: StateEmbeddingGenerationInProgress
1295-
COMPLETED: StateEmbeddingGenerationCompletedEmbeddingGeneration
1296-
FAILED: StateEmbeddingGenerationFailed
1283+
- StateEmbeddingGenerationQueued
1284+
- StateEmbeddingGenerationInProgress
1285+
- StateEmbeddingGenerationCompletedEmbeddingGeneration
1286+
- StateEmbeddingGenerationFailed
12971287
source:
12981288
openapi: ../expression-measurement/batch-openapi.json
12991289
StateEmbeddingGenerationCompletedEmbeddingGeneration:
1300-
properties: {}
1290+
properties:
1291+
status: literal<"COMPLETED">
13011292
extends:
13021293
- CompletedEmbeddingGeneration
13031294
source:
13041295
openapi: ../expression-measurement/batch-openapi.json
13051296
StateEmbeddingGenerationFailed:
1306-
properties: {}
1297+
properties:
1298+
status: literal<"FAILED">
13071299
extends:
13081300
- Failed
13091301
source:
13101302
openapi: ../expression-measurement/batch-openapi.json
13111303
StateEmbeddingGenerationInProgress:
1312-
properties: {}
1304+
properties:
1305+
status: literal<"IN_PROGRESS">
13131306
extends:
13141307
- InProgress
13151308
source:
13161309
openapi: ../expression-measurement/batch-openapi.json
13171310
StateEmbeddingGenerationQueued:
1318-
properties: {}
1311+
properties:
1312+
status: literal<"QUEUED">
13191313
extends:
13201314
- Queued
13211315
source:
13221316
openapi: ../expression-measurement/batch-openapi.json
13231317
StateInference:
1324-
discriminant: status
1325-
base-properties: {}
1318+
discriminated: false
13261319
union:
1327-
QUEUED: StateInferenceQueued
1328-
IN_PROGRESS: StateInferenceInProgress
1329-
COMPLETED: StateInferenceCompletedInference
1330-
FAILED: StateInferenceFailed
1320+
- QueuedState
1321+
- InProgressState
1322+
- CompletedState
1323+
- FailedState
13311324
source:
13321325
openapi: ../expression-measurement/batch-openapi.json
1333-
StateInferenceCompletedInference:
1334-
properties: {}
1326+
CompletedState:
1327+
properties:
1328+
status: literal<"COMPLETED">
13351329
extends:
13361330
- CompletedInference
13371331
source:
13381332
openapi: ../expression-measurement/batch-openapi.json
1339-
StateInferenceFailed:
1340-
properties: {}
1333+
FailedState:
1334+
properties:
1335+
status: literal<"FAILED">
13411336
extends:
13421337
- Failed
13431338
source:
13441339
openapi: ../expression-measurement/batch-openapi.json
1345-
StateInferenceInProgress:
1346-
properties: {}
1340+
InProgressState:
1341+
properties:
1342+
status: literal<"IN_PROGRESS">
13471343
extends:
13481344
- InProgress
13491345
source:
13501346
openapi: ../expression-measurement/batch-openapi.json
1351-
StateInferenceQueued:
1352-
properties: {}
1347+
QueuedState:
1348+
properties:
1349+
status: literal<"QUEUED">
13531350
extends:
13541351
- Queued
13551352
source:
13561353
openapi: ../expression-measurement/batch-openapi.json
13571354
StateTlInference:
1358-
discriminant: status
1359-
base-properties: {}
1355+
discriminated: false
13601356
union:
1361-
QUEUED: StateTlInferenceQueued
1362-
IN_PROGRESS: StateTlInferenceInProgress
1363-
COMPLETED: StateTlInferenceCompletedTlInference
1364-
FAILED: StateTlInferenceFailed
1357+
- StateTlInferenceQueued
1358+
- StateTlInferenceInProgress
1359+
- StateTlInferenceCompletedTlInference
1360+
- StateTlInferenceFailed
13651361
source:
13661362
openapi: ../expression-measurement/batch-openapi.json
13671363
StateTlInferenceCompletedTlInference:
1368-
properties: {}
1364+
properties:
1365+
status: literal<"COMPLETED">
13691366
extends:
13701367
- CompletedTlInference
13711368
source:
13721369
openapi: ../expression-measurement/batch-openapi.json
13731370
StateTlInferenceFailed:
1374-
properties: {}
1371+
properties:
1372+
status: literal<"FAILED">
13751373
extends:
13761374
- Failed
13771375
source:
13781376
openapi: ../expression-measurement/batch-openapi.json
13791377
StateTlInferenceInProgress:
1380-
properties: {}
1378+
properties:
1379+
status: literal<"IN_PROGRESS">
13811380
extends:
13821381
- InProgress
13831382
source:
13841383
openapi: ../expression-measurement/batch-openapi.json
13851384
StateTlInferenceQueued:
1386-
properties: {}
1385+
properties:
1386+
status: literal<"QUEUED">
13871387
extends:
13881388
- Queued
13891389
source:
13901390
openapi: ../expression-measurement/batch-openapi.json
13911391
StateTraining:
1392-
discriminant: status
1393-
base-properties: {}
1392+
discriminated: false
13941393
union:
1395-
QUEUED: StateTrainingQueued
1396-
IN_PROGRESS: StateTrainingInProgress
1397-
COMPLETED: StateTrainingCompletedTraining
1398-
FAILED: StateTrainingFailed
1394+
- StateTrainingQueued
1395+
- StateTrainingInProgress
1396+
- StateTrainingCompletedTraining
1397+
- StateTrainingFailed
13991398
source:
14001399
openapi: ../expression-measurement/batch-openapi.json
14011400
StateTrainingCompletedTraining:
1402-
properties: {}
1401+
properties:
1402+
status: literal<"COMPLETED">
14031403
extends:
14041404
- CompletedTraining
14051405
source:
14061406
openapi: ../expression-measurement/batch-openapi.json
14071407
StateTrainingFailed:
1408-
properties: {}
1408+
properties:
1409+
status: literal<"FAILED">
14091410
extends:
14101411
- Failed
14111412
source:
14121413
openapi: ../expression-measurement/batch-openapi.json
14131414
StateTrainingInProgress:
1414-
properties: {}
1415+
properties:
1416+
status: literal<"IN_PROGRESS">
14151417
extends:
14161418
- InProgress
14171419
source:
14181420
openapi: ../expression-measurement/batch-openapi.json
14191421
StateTrainingQueued:
1420-
properties: {}
1422+
properties:
1423+
status: literal<"QUEUED">
14211424
extends:
14221425
- Queued
14231426
source:
@@ -1469,19 +1472,20 @@ types:
14691472
source:
14701473
openapi: ../expression-measurement/batch-openapi.json
14711474
Task:
1472-
discriminant: type
1473-
base-properties: {}
1475+
discriminated: false
14741476
union:
1475-
classification: TaskClassification
1476-
regression: TaskRegression
1477+
- TaskClassification
1478+
- TaskRegression
14771479
source:
14781480
openapi: ../expression-measurement/batch-openapi.json
14791481
TaskClassification:
1480-
properties: {}
1482+
properties:
1483+
type: literal<"classification">
14811484
source:
14821485
openapi: ../expression-measurement/batch-openapi.json
14831486
TaskRegression:
1484-
properties: {}
1487+
properties:
1488+
type: literal<"regression">
14851489
source:
14861490
openapi: ../expression-measurement/batch-openapi.json
14871491
TextSource: map<string, unknown>
@@ -1509,9 +1513,6 @@ types:
15091513
15101514
If you wish to supply more than 100 URLs, consider providing them as
15111515
an archive (`.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`).
1512-
registry_files:
1513-
type: optional<list<string>>
1514-
docs: List of File IDs corresponding to the files in the asset registry.
15151516
callback_url:
15161517
type: optional<string>
15171518
docs: >-
@@ -1548,7 +1549,7 @@ types:
15481549
type: string
15491550
docs: Category of toxicity.
15501551
score:
1551-
type: string
1552+
type: float
15521553
docs: Prediction for this category of toxicity
15531554
source:
15541555
openapi: ../expression-measurement/batch-openapi.json
@@ -1729,6 +1730,13 @@ types:
17291730
source:
17301731
openapi: ../expression-measurement/batch-openapi.json
17311732
UnionPredictResult: InferenceSourcePredictResult
1733+
Url:
1734+
properties:
1735+
url:
1736+
type: string
1737+
docs: The URL of the source media file.
1738+
source:
1739+
openapi: ../expression-measurement/batch-openapi.json
17321740
ValidationArgs:
17331741
properties:
17341742
positive_label: optional<Target>

.mock/definition/expression-measurement/stream.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ types:
154154
Please use the default configuration by passing an empty object `{}`.
155155
source:
156156
openapi: ../expression-measurement/streaming-asyncapi.yml
157-
StreamErrorMessageJobDetails:
157+
JobDetails:
158158
docs: >
159159
If the job_details flag was set in the request, details about the current
160160
streaming job will be returned in the response body.
@@ -179,7 +179,7 @@ types:
179179
If a payload ID was passed in the request, the same payload ID will be
180180
sent back in the response body.
181181
job_details:
182-
type: optional<StreamErrorMessageJobDetails>
182+
type: optional<JobDetails>
183183
docs: >
184184
If the job_details flag was set in the request, details about the
185185
current streaming job will be returned in the response body.
@@ -381,6 +381,8 @@ types:
381381
This can be useful if you have multiple requests running
382382
asynchronously and want to disambiguate responses as they are
383383
received.
384+
face: optional<unknown>
385+
language: optional<unknown>
384386
source:
385387
openapi: ../expression-measurement/streaming-asyncapi.yml
386388
EmotionEmbeddingItem:

.mock/fern.config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization": "hume",
3-
"version": "0.39.14"
3+
"version": "0.40.2"
44
}

0 commit comments

Comments
 (0)