Skip to content

Commit 1f0357a

Browse files
🌿 Fern Regeneration -- March 22, 2025 (#247)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: twitchard <[email protected]>
1 parent 1163822 commit 1f0357a

File tree

83 files changed

+1534
-687
lines changed

Some content is hidden

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

83 files changed

+1534
-687
lines changed

.mock/definition/empathic-voice/chat.yml

Lines changed: 1 addition & 0 deletions
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>

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

Lines changed: 15 additions & 14 deletions
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

.mock/definition/tts/__package__.yml

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,12 @@ service:
6767
audio: //PExAA0DDYRvkpNfhv3JI5JZ...etc.
6868
snippets:
6969
- - audio: //PExAA0DDYRvkpNfhv3JI5JZ...etc.
70+
audio_format: mp3
7071
id: 37b1b1b1-1b1b-1b1b-1b1b-1b1b1b1b1b1b
7172
text: >-
7273
Beauty is no quality in things themselves: It exists
7374
merely in the mind which contemplates them.
75+
generation_id: 795c949a-1510-4a80-9646-7d0863b023ab
7476
request_id: 66e01f90-4501-4aa0-bbaf-74f45dc15aa725906
7577
synthesize-file:
7678
path: /v0/tts/file
@@ -260,30 +262,29 @@ types:
260262
type: literal<"pcm">
261263
source:
262264
openapi: tts-openapi.yml
263-
PostedTtsRecord:
264-
properties:
265-
created_on: integer
266-
id: string
267-
internal_metadata: string
268-
message_text: string
269-
parent_id:
270-
type: optional<string>
271-
request_payload: string
272-
source:
273-
openapi: tts-openapi.yml
274265
Snippet:
275266
properties:
276267
audio:
277268
type: string
278269
docs: >-
279270
The segmented audio output in the requested format, encoded as a
280271
base64 string.
272+
access: read-only
273+
audio_format:
274+
type: string
275+
docs: The generated audio output format.
276+
generation_id:
277+
type: string
278+
docs: The generation ID this snippet corresponds to.
281279
id:
282280
type: string
283281
docs: A unique ID associated with this **Snippet**.
284282
text:
285283
type: string
286284
docs: The text for this **Snippet**.
285+
utterance_index:
286+
type: optional<integer>
287+
docs: The index of the utterance in the request this snippet corresponds to.
287288
source:
288289
openapi: tts-openapi.yml
289290
PostedUtterance:
@@ -305,11 +306,25 @@ types:
305306
See our [prompting guide](/docs/text-to-speech-tts/prompting) for tips on crafting your descriptions.
306307
validation:
307308
maxLength: 1000
309+
speed:
310+
type: optional<double>
311+
docs: Speed multiplier for the synthesized speech.
312+
default: 1
313+
validation:
314+
min: 0.25
315+
max: 3
308316
text:
309317
type: string
310318
docs: The input text to be synthesized into speech.
311319
validation:
312320
maxLength: 5000
321+
trailing_silence:
322+
type: optional<double>
323+
docs: Duration of trailing silence (in seconds) to add to this utterance
324+
default: 0.35
325+
validation:
326+
min: 0
327+
max: 5
313328
voice:
314329
type: optional<PostedUtteranceVoice>
315330
docs: >-

.mock/definition/tts/voices.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ service:
2222
generation_id:
2323
type: string
2424
docs: >-
25-
Id of the TTS generation (as returned by the [/v0/tts
26-
endpoint](/reference/text-to-speech-evi/synthesize-json#response.body.generations.generation_id))
27-
that should be saved as a voice.
25+
A unique ID associated with this TTS generation that can be used
26+
as context for generating consistent speech style and prosody
27+
across multiple requests.
2828
name:
2929
type: string
3030
docs: Name of the voice in the `Voice Library`.

.mock/fern.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization" : "hume",
3-
"version" : "0.53.17"
3+
"version" : "0.56.29"
44
}

0 commit comments

Comments
 (0)