Skip to content

Commit 1ea8363

Browse files
SDK regeneration
1 parent 5c9d1b4 commit 1ea8363

Some content is hidden

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

53 files changed

+3186
-3242
lines changed

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

Lines changed: 1113 additions & 1135 deletions
Large diffs are not rendered by default.

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

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,84 @@ service:
161161
metadata: null
162162
config: null
163163
active: false
164+
get-audio:
165+
path: /v0/evi/chat_groups/{id}/audio
166+
method: GET
167+
docs: >-
168+
Fetches a paginated list of audio for each **Chat** within the specified
169+
**Chat Group**. For more details, see our guide on audio reconstruction
170+
[here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
171+
source:
172+
openapi: evi-openapi.json
173+
path-parameters:
174+
id:
175+
type: string
176+
docs: Identifier for a Chat Group. Formatted as a UUID.
177+
display-name: Get chat group audio
178+
request:
179+
name: ChatGroupsGetAudioRequest
180+
query-parameters:
181+
page_number:
182+
type: optional<integer>
183+
default: 0
184+
docs: >-
185+
Specifies the page number to retrieve, enabling pagination.
186+
187+
188+
This parameter uses zero-based indexing. For example, setting
189+
`page_number` to 0 retrieves the first page of results (items 0-9
190+
if `page_size` is 10), setting `page_number` to 1 retrieves the
191+
second page (items 10-19), and so on. Defaults to 0, which
192+
retrieves the first page.
193+
page_size:
194+
type: optional<integer>
195+
docs: >-
196+
Specifies the maximum number of results to include per page,
197+
enabling pagination. The value must be between 1 and 100,
198+
inclusive.
199+
200+
201+
For example, if `page_size` is set to 10, each page will include
202+
up to 10 items. Defaults to 10.
203+
ascending_order:
204+
type: optional<boolean>
205+
docs: >-
206+
Specifies the sorting order of the results based on their creation
207+
date. Set to true for ascending order (chronological, with the
208+
oldest records first) and false for descending order
209+
(reverse-chronological, with the newest records first). Defaults
210+
to true.
211+
response:
212+
docs: Success
213+
type: root.ReturnChatGroupPagedAudioReconstructions
214+
status-code: 200
215+
errors:
216+
- root.BadRequestError
217+
examples:
218+
- path-parameters:
219+
id: 369846cf-6ad5-404d-905e-a8acb5cdfc78
220+
query-parameters:
221+
page_number: 0
222+
page_size: 10
223+
ascending_order: true
224+
response:
225+
body:
226+
id: 369846cf-6ad5-404d-905e-a8acb5cdfc78
227+
user_id: e6235940-cfda-3988-9147-ff531627cf42
228+
num_chats: 1
229+
page_number: 0
230+
page_size: 10
231+
total_pages: 1
232+
pagination_direction: ASC
233+
audio_reconstructions_page:
234+
- id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
235+
user_id: e6235940-cfda-3988-9147-ff531627cf42
236+
status: COMPLETE
237+
filename: >-
238+
e6235940-cfda-3988-9147-ff531627cf42/470a49f6-1dec-4afe-8b61-035d3b2d63b0/reconstructed_audio.mp4
239+
modified_at: 1729875432555
240+
signed_audio_url: https://storage.googleapis.com/...etc.
241+
signed_url_expiration_timestamp_millis: 1730232816964
164242
list-chat-group-events:
165243
path: /v0/evi/chat_groups/{id}/events
166244
method: GET
@@ -541,83 +619,5 @@ service:
541619
0.022247314453125, "Tiredness": 0.0194549560546875,
542620
"Triumph": 0.04107666015625}
543621
metadata: ''
544-
get-audio:
545-
path: /v0/evi/chat_groups/{id}/audio
546-
method: GET
547-
docs: >-
548-
Fetches a paginated list of audio for each **Chat** within the specified
549-
**Chat Group**. For more details, see our guide on audio reconstruction
550-
[here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
551-
source:
552-
openapi: evi-openapi.json
553-
path-parameters:
554-
id:
555-
type: string
556-
docs: Identifier for a Chat Group. Formatted as a UUID.
557-
display-name: Get chat group audio
558-
request:
559-
name: ChatGroupsGetAudioRequest
560-
query-parameters:
561-
page_number:
562-
type: optional<integer>
563-
default: 0
564-
docs: >-
565-
Specifies the page number to retrieve, enabling pagination.
566-
567-
568-
This parameter uses zero-based indexing. For example, setting
569-
`page_number` to 0 retrieves the first page of results (items 0-9
570-
if `page_size` is 10), setting `page_number` to 1 retrieves the
571-
second page (items 10-19), and so on. Defaults to 0, which
572-
retrieves the first page.
573-
page_size:
574-
type: optional<integer>
575-
docs: >-
576-
Specifies the maximum number of results to include per page,
577-
enabling pagination. The value must be between 1 and 100,
578-
inclusive.
579-
580-
581-
For example, if `page_size` is set to 10, each page will include
582-
up to 10 items. Defaults to 10.
583-
ascending_order:
584-
type: optional<boolean>
585-
docs: >-
586-
Specifies the sorting order of the results based on their creation
587-
date. Set to true for ascending order (chronological, with the
588-
oldest records first) and false for descending order
589-
(reverse-chronological, with the newest records first). Defaults
590-
to true.
591-
response:
592-
docs: Success
593-
type: root.ReturnChatGroupPagedAudioReconstructions
594-
status-code: 200
595-
errors:
596-
- root.BadRequestError
597-
examples:
598-
- path-parameters:
599-
id: 369846cf-6ad5-404d-905e-a8acb5cdfc78
600-
query-parameters:
601-
page_number: 0
602-
page_size: 10
603-
ascending_order: true
604-
response:
605-
body:
606-
id: 369846cf-6ad5-404d-905e-a8acb5cdfc78
607-
user_id: e6235940-cfda-3988-9147-ff531627cf42
608-
num_chats: 1
609-
page_number: 0
610-
page_size: 10
611-
total_pages: 1
612-
pagination_direction: ASC
613-
audio_reconstructions_page:
614-
- id: 470a49f6-1dec-4afe-8b61-035d3b2d63b0
615-
user_id: e6235940-cfda-3988-9147-ff531627cf42
616-
status: COMPLETE
617-
filename: >-
618-
e6235940-cfda-3988-9147-ff531627cf42/470a49f6-1dec-4afe-8b61-035d3b2d63b0/reconstructed_audio.mp4
619-
modified_at: 1729875432555
620-
signed_audio_url: https://storage.googleapis.com/...etc.
621-
signed_url_expiration_timestamp_millis: 1730232816964
622622
source:
623623
openapi: evi-openapi.json

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

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -136,21 +136,25 @@ service:
136136
name: PostedConfig
137137
body:
138138
properties:
139+
builtin_tools:
140+
type: optional<list<optional<root.PostedBuiltinTool>>>
141+
docs: List of built-in tools associated with this Config.
142+
ellm_model:
143+
type: optional<root.PostedEllmModel>
144+
docs: >-
145+
The eLLM setup associated with this Config.
146+
147+
148+
Hume's eLLM (empathic Large Language Model) is a multimodal
149+
language model that takes into account both expression measures
150+
and language. The eLLM generates short, empathic language
151+
responses and guides text-to-speech (TTS) prosody.
152+
event_messages: optional<root.PostedEventMessageSpecs>
139153
evi_version:
140154
type: string
141155
docs: >-
142156
EVI version to use. Only versions `3` and `4-mini` are
143157
supported.
144-
name:
145-
type: string
146-
docs: Name applied to all versions of a particular Config.
147-
version_description:
148-
type: optional<string>
149-
docs: An optional description of the Config version.
150-
prompt: optional<root.PostedConfigPromptSpec>
151-
voice:
152-
type: optional<root.VoiceRef>
153-
docs: A voice specification associated with this Config.
154158
language_model:
155159
type: optional<root.PostedLanguageModel>
156160
docs: >-
@@ -161,31 +165,27 @@ service:
161165
from EVI. Choosing an appropriate supplemental language model
162166
for your use case is crucial for generating fast, high-quality
163167
responses from EVI.
164-
ellm_model:
165-
type: optional<root.PostedEllmModel>
166-
docs: >-
167-
The eLLM setup associated with this Config.
168-
169-
170-
Hume's eLLM (empathic Large Language Model) is a multimodal
171-
language model that takes into account both expression measures
172-
and language. The eLLM generates short, empathic language
173-
responses and guides text-to-speech (TTS) prosody.
174-
tools:
175-
type: optional<list<optional<root.PostedUserDefinedToolSpec>>>
176-
docs: List of user-defined tools associated with this Config.
177-
builtin_tools:
178-
type: optional<list<optional<root.PostedBuiltinTool>>>
179-
docs: List of built-in tools associated with this Config.
180-
event_messages: optional<root.PostedEventMessageSpecs>
168+
name:
169+
type: string
170+
docs: Name applied to all versions of a particular Config.
181171
nudges:
182172
type: optional<root.PostedNudgeSpec>
183173
docs: >-
184174
Configures nudges, brief audio prompts that can guide
185175
conversations when users pause or need encouragement to continue
186176
speaking. Nudges help create more natural, flowing interactions
187177
by providing gentle conversational cues.
178+
prompt: optional<root.PostedConfigPromptSpec>
188179
timeouts: optional<root.PostedTimeoutSpecs>
180+
tools:
181+
type: optional<list<optional<root.PostedUserDefinedToolSpec>>>
182+
docs: List of user-defined tools associated with this Config.
183+
version_description:
184+
type: optional<string>
185+
docs: An optional description of the Config version.
186+
voice:
187+
type: optional<root.VoiceRef>
188+
docs: A voice specification associated with this Config.
189189
webhooks:
190190
type: optional<list<optional<root.PostedWebhookSpec>>>
191191
docs: Webhook config specifications for each subscriber.
@@ -409,16 +409,23 @@ service:
409409
name: PostedConfigVersion
410410
body:
411411
properties:
412+
builtin_tools:
413+
type: optional<list<optional<root.PostedBuiltinTool>>>
414+
docs: List of built-in tools associated with this Config version.
415+
ellm_model:
416+
type: optional<root.PostedEllmModel>
417+
docs: >-
418+
The eLLM setup associated with this Config version.
419+
420+
421+
Hume's eLLM (empathic Large Language Model) is a multimodal
422+
language model that takes into account both expression measures
423+
and language. The eLLM generates short, empathic language
424+
responses and guides text-to-speech (TTS) prosody.
425+
event_messages: optional<root.PostedEventMessageSpecs>
412426
evi_version:
413427
type: string
414428
docs: The version of the EVI used with this config.
415-
version_description:
416-
type: optional<string>
417-
docs: An optional description of the Config version.
418-
prompt: optional<root.PostedConfigPromptSpec>
419-
voice:
420-
type: optional<root.VoiceRef>
421-
docs: A voice specification associated with this Config version.
422429
language_model:
423430
type: optional<root.PostedLanguageModel>
424431
docs: >-
@@ -430,25 +437,18 @@ service:
430437
from EVI. Choosing an appropriate supplemental language model
431438
for your use case is crucial for generating fast, high-quality
432439
responses from EVI.
433-
ellm_model:
434-
type: optional<root.PostedEllmModel>
435-
docs: >-
436-
The eLLM setup associated with this Config version.
437-
438-
439-
Hume's eLLM (empathic Large Language Model) is a multimodal
440-
language model that takes into account both expression measures
441-
and language. The eLLM generates short, empathic language
442-
responses and guides text-to-speech (TTS) prosody.
440+
nudges: optional<root.PostedNudgeSpec>
441+
prompt: optional<root.PostedConfigPromptSpec>
442+
timeouts: optional<root.PostedTimeoutSpecs>
443443
tools:
444444
type: optional<list<optional<root.PostedUserDefinedToolSpec>>>
445445
docs: List of user-defined tools associated with this Config version.
446-
builtin_tools:
447-
type: optional<list<optional<root.PostedBuiltinTool>>>
448-
docs: List of built-in tools associated with this Config version.
449-
event_messages: optional<root.PostedEventMessageSpecs>
450-
timeouts: optional<root.PostedTimeoutSpecs>
451-
nudges: optional<root.PostedNudgeSpec>
446+
version_description:
447+
type: optional<string>
448+
docs: An optional description of the Config version.
449+
voice:
450+
type: optional<root.VoiceRef>
451+
docs: A voice specification associated with this Config version.
452452
webhooks:
453453
type: optional<list<optional<root.PostedWebhookSpec>>>
454454
docs: Webhook config specifications for each subscriber.

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,6 @@ service:
118118
name:
119119
type: string
120120
docs: Name applied to all versions of a particular Prompt.
121-
version_description:
122-
type: optional<string>
123-
docs: An optional description of the Prompt version.
124121
text:
125122
type: string
126123
docs: >-
@@ -137,6 +134,9 @@ service:
137134
138135
For help writing a system prompt, see our [Prompting
139136
Guide](/docs/speech-to-speech-evi/guides/prompting).
137+
version_description:
138+
type: optional<string>
139+
docs: An optional description of the Prompt version.
140140
content-type: application/json
141141
response:
142142
docs: Created
@@ -268,9 +268,6 @@ service:
268268
name: PostedPromptVersion
269269
body:
270270
properties:
271-
version_description:
272-
type: optional<string>
273-
docs: An optional description of the Prompt version.
274271
text:
275272
type: string
276273
docs: >-
@@ -288,6 +285,9 @@ service:
288285
289286
For help writing a system prompt, see our [Prompting
290287
Guide](/docs/speech-to-speech-evi/guides/prompting).
288+
version_description:
289+
type: optional<string>
290+
docs: An optional description of the Prompt version.
291291
content-type: application/json
292292
response:
293293
docs: Created

0 commit comments

Comments
 (0)