hume 0.11.5-beta.2 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/empathic-voice/__package__.yml +28 -517
- package/.mock/definition/empathic-voice/chatGroups.yml +1 -1
- package/.mock/definition/empathic-voice/chats.yml +1 -1
- package/.mock/definition/empathic-voice/configs.yml +34 -151
- package/.mock/definition/empathic-voice/prompts.yml +21 -21
- package/.mock/definition/empathic-voice/tools.yml +10 -10
- package/.mock/definition/tts/__package__.yml +6 -22
- package/api/resources/empathicVoice/resources/chat/client/Socket.js +1 -4
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +1 -1
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
- package/api/resources/empathicVoice/resources/chats/client/Client.js +1 -1
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
- package/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +10 -10
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
- package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +10 -10
- package/api/resources/empathicVoice/resources/tools/client/Client.js +10 -10
- package/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chat/client/Socket.js +1 -4
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +1 -1
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +9 -9
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.d.ts +10 -10
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +10 -10
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/requests/PostedPromptVersion.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +10 -10
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +10 -10
- package/dist/api/resources/empathicVoice/types/JsonMessage.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinTool.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedBuiltinToolName.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedWebhookSpec.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnWebhookSpec.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +43 -485
- package/serialization/resources/empathicVoice/types/JsonMessage.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/JsonMessage.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/.mock/definition/empathic-voice/customVoices.yml +0 -283
|
@@ -13,8 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
For more details on configuration options and how to configure EVI, see
|
|
16
|
-
our [configuration
|
|
17
|
-
guide](/docs/empathic-voice-interface-evi/configuration).
|
|
16
|
+
our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
18
17
|
pagination:
|
|
19
18
|
offset: $request.page_number
|
|
20
19
|
results: $response.configs_page
|
|
@@ -77,7 +76,7 @@ service:
|
|
|
77
76
|
name: Weather Assistant Config
|
|
78
77
|
created_on: 1715267200693
|
|
79
78
|
modified_on: 1715267200693
|
|
80
|
-
evi_version: '
|
|
79
|
+
evi_version: '3'
|
|
81
80
|
prompt:
|
|
82
81
|
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
83
82
|
version: 0
|
|
@@ -95,26 +94,8 @@ service:
|
|
|
95
94
|
Include helpful tips if severe weather is expected.</role>
|
|
96
95
|
voice:
|
|
97
96
|
provider: HUME_AI
|
|
98
|
-
name:
|
|
99
|
-
|
|
100
|
-
id: 00aa8ee9-c50e-4ea1-9af0-7b08ad451704
|
|
101
|
-
version: 1
|
|
102
|
-
name: SAMPLE VOICE
|
|
103
|
-
created_on: 1724704587367
|
|
104
|
-
modified_on: 1725489961583
|
|
105
|
-
base_voice: KORA
|
|
106
|
-
parameter_model: 20241004-11parameter
|
|
107
|
-
parameters:
|
|
108
|
-
gender: 0
|
|
109
|
-
assertiveness: 20
|
|
110
|
-
buoyancy: -30
|
|
111
|
-
confidence: -40
|
|
112
|
-
enthusiasm: 50
|
|
113
|
-
nasality: 45
|
|
114
|
-
relaxedness: -35
|
|
115
|
-
smoothness: 25
|
|
116
|
-
tepidity: 15
|
|
117
|
-
tightness: 5
|
|
97
|
+
name: Ava Song
|
|
98
|
+
id: 5bb7de05-c8fe-426a-8fcc-ba4fc4ce9f9c
|
|
118
99
|
language_model:
|
|
119
100
|
model_provider: ANTHROPIC
|
|
120
101
|
model_resource: claude-3-7-sonnet-latest
|
|
@@ -149,8 +130,7 @@ service:
|
|
|
149
130
|
|
|
150
131
|
|
|
151
132
|
For more details on configuration options and how to configure EVI, see
|
|
152
|
-
our [configuration
|
|
153
|
-
guide](/docs/empathic-voice-interface-evi/configuration).
|
|
133
|
+
our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
154
134
|
source:
|
|
155
135
|
openapi: evi-openapi.json
|
|
156
136
|
display-name: Create config
|
|
@@ -164,7 +144,7 @@ service:
|
|
|
164
144
|
Specifies the EVI version to use. Use `"1"` for version 1, or
|
|
165
145
|
`"2"` for the latest enhanced version. For a detailed comparison
|
|
166
146
|
of the two versions, refer to our
|
|
167
|
-
[guide](/docs/
|
|
147
|
+
[guide](/docs/speech-to-speech-evi/configuration/evi-version).
|
|
168
148
|
name:
|
|
169
149
|
type: string
|
|
170
150
|
docs: Name applied to all versions of a particular Config.
|
|
@@ -173,7 +153,7 @@ service:
|
|
|
173
153
|
docs: An optional description of the Config version.
|
|
174
154
|
prompt: optional<root.PostedConfigPromptSpec>
|
|
175
155
|
voice:
|
|
176
|
-
type: optional<root.
|
|
156
|
+
type: optional<root.VoiceRef>
|
|
177
157
|
docs: A voice specification associated with this Config.
|
|
178
158
|
language_model:
|
|
179
159
|
type: optional<root.PostedLanguageModel>
|
|
@@ -226,10 +206,10 @@ service:
|
|
|
226
206
|
prompt:
|
|
227
207
|
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
228
208
|
version: 0
|
|
229
|
-
evi_version: '
|
|
209
|
+
evi_version: '3'
|
|
230
210
|
voice:
|
|
231
211
|
provider: HUME_AI
|
|
232
|
-
name:
|
|
212
|
+
name: Ava Song
|
|
233
213
|
language_model:
|
|
234
214
|
model_provider: ANTHROPIC
|
|
235
215
|
model_resource: claude-3-7-sonnet-latest
|
|
@@ -252,7 +232,7 @@ service:
|
|
|
252
232
|
name: Weather Assistant Config
|
|
253
233
|
created_on: 1715275452390
|
|
254
234
|
modified_on: 1715275452390
|
|
255
|
-
evi_version: '
|
|
235
|
+
evi_version: '3'
|
|
256
236
|
prompt:
|
|
257
237
|
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
258
238
|
version: 0
|
|
@@ -270,26 +250,8 @@ service:
|
|
|
270
250
|
severe weather is expected.</role>
|
|
271
251
|
voice:
|
|
272
252
|
provider: HUME_AI
|
|
273
|
-
name:
|
|
274
|
-
|
|
275
|
-
id: 00aa8ee9-c50e-4ea1-9af0-7b08ad451704
|
|
276
|
-
version: 1
|
|
277
|
-
name: SAMPLE VOICE
|
|
278
|
-
created_on: 1724704587367
|
|
279
|
-
modified_on: 1725489961583
|
|
280
|
-
base_voice: KORA
|
|
281
|
-
parameter_model: 20241004-11parameter
|
|
282
|
-
parameters:
|
|
283
|
-
gender: 0
|
|
284
|
-
assertiveness: 20
|
|
285
|
-
buoyancy: -30
|
|
286
|
-
confidence: -40
|
|
287
|
-
enthusiasm: 50
|
|
288
|
-
nasality: 45
|
|
289
|
-
relaxedness: -35
|
|
290
|
-
smoothness: 25
|
|
291
|
-
tepidity: 15
|
|
292
|
-
tightness: 5
|
|
253
|
+
name: Ava Song
|
|
254
|
+
id: 5bb7de05-c8fe-426a-8fcc-ba4fc4ce9f9c
|
|
293
255
|
language_model:
|
|
294
256
|
model_provider: ANTHROPIC
|
|
295
257
|
model_resource: claude-3-7-sonnet-latest
|
|
@@ -324,8 +286,7 @@ service:
|
|
|
324
286
|
|
|
325
287
|
|
|
326
288
|
For more details on configuration options and how to configure EVI, see
|
|
327
|
-
our [configuration
|
|
328
|
-
guide](/docs/empathic-voice-interface-evi/configuration).
|
|
289
|
+
our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
329
290
|
pagination:
|
|
330
291
|
offset: $request.page_number
|
|
331
292
|
results: $response.configs_page
|
|
@@ -388,7 +349,7 @@ service:
|
|
|
388
349
|
name: Weather Assistant Config
|
|
389
350
|
created_on: 1715275452390
|
|
390
351
|
modified_on: 1715275452390
|
|
391
|
-
evi_version: '
|
|
352
|
+
evi_version: '3'
|
|
392
353
|
prompt:
|
|
393
354
|
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
394
355
|
version: 0
|
|
@@ -406,26 +367,8 @@ service:
|
|
|
406
367
|
Include helpful tips if severe weather is expected.</role>
|
|
407
368
|
voice:
|
|
408
369
|
provider: HUME_AI
|
|
409
|
-
name:
|
|
410
|
-
|
|
411
|
-
id: 00aa8ee9-c50e-4ea1-9af0-7b08ad451704
|
|
412
|
-
version: 1
|
|
413
|
-
name: SAMPLE VOICE
|
|
414
|
-
created_on: 1724704587367
|
|
415
|
-
modified_on: 1725489961583
|
|
416
|
-
base_voice: KORA
|
|
417
|
-
parameter_model: 20241004-11parameter
|
|
418
|
-
parameters:
|
|
419
|
-
gender: 0
|
|
420
|
-
assertiveness: 20
|
|
421
|
-
buoyancy: -30
|
|
422
|
-
confidence: -40
|
|
423
|
-
enthusiasm: 50
|
|
424
|
-
nasality: 45
|
|
425
|
-
relaxedness: -35
|
|
426
|
-
smoothness: 25
|
|
427
|
-
tepidity: 15
|
|
428
|
-
tightness: 5
|
|
370
|
+
name: Ava Song
|
|
371
|
+
id: 5bb7de05-c8fe-426a-8fcc-ba4fc4ce9f9c
|
|
429
372
|
language_model:
|
|
430
373
|
model_provider: ANTHROPIC
|
|
431
374
|
model_resource: claude-3-7-sonnet-latest
|
|
@@ -460,8 +403,7 @@ service:
|
|
|
460
403
|
|
|
461
404
|
|
|
462
405
|
For more details on configuration options and how to configure EVI, see
|
|
463
|
-
our [configuration
|
|
464
|
-
guide](/docs/empathic-voice-interface-evi/configuration).
|
|
406
|
+
our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
465
407
|
source:
|
|
466
408
|
openapi: evi-openapi.json
|
|
467
409
|
path-parameters:
|
|
@@ -481,7 +423,7 @@ service:
|
|
|
481
423
|
docs: An optional description of the Config version.
|
|
482
424
|
prompt: optional<root.PostedConfigPromptSpec>
|
|
483
425
|
voice:
|
|
484
|
-
type: optional<root.
|
|
426
|
+
type: optional<root.VoiceRef>
|
|
485
427
|
docs: A voice specification associated with this Config version.
|
|
486
428
|
language_model:
|
|
487
429
|
type: optional<root.PostedLanguageModel>
|
|
@@ -528,13 +470,13 @@ service:
|
|
|
528
470
|
id: 1b60e1a0-cc59-424a-8d2c-189d354db3f3
|
|
529
471
|
request:
|
|
530
472
|
version_description: This is an updated version of the Weather Assistant Config.
|
|
531
|
-
evi_version: '
|
|
473
|
+
evi_version: '3'
|
|
532
474
|
prompt:
|
|
533
475
|
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
534
476
|
version: 0
|
|
535
477
|
voice:
|
|
536
478
|
provider: HUME_AI
|
|
537
|
-
name:
|
|
479
|
+
name: Ava Song
|
|
538
480
|
language_model:
|
|
539
481
|
model_provider: ANTHROPIC
|
|
540
482
|
model_resource: claude-3-7-sonnet-latest
|
|
@@ -559,7 +501,7 @@ service:
|
|
|
559
501
|
name: Weather Assistant Config
|
|
560
502
|
created_on: 1715275452390
|
|
561
503
|
modified_on: 1722642242998
|
|
562
|
-
evi_version: '
|
|
504
|
+
evi_version: '3'
|
|
563
505
|
prompt:
|
|
564
506
|
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
565
507
|
version: 0
|
|
@@ -577,26 +519,8 @@ service:
|
|
|
577
519
|
severe weather is expected.</role>
|
|
578
520
|
voice:
|
|
579
521
|
provider: HUME_AI
|
|
580
|
-
name:
|
|
581
|
-
|
|
582
|
-
id: 00aa8ee9-c50e-4ea1-9af0-7b08ad451704
|
|
583
|
-
version: 1
|
|
584
|
-
name: SAMPLE VOICE
|
|
585
|
-
created_on: 1724704587367
|
|
586
|
-
modified_on: 1725489961583
|
|
587
|
-
base_voice: KORA
|
|
588
|
-
parameter_model: 20241004-11parameter
|
|
589
|
-
parameters:
|
|
590
|
-
gender: 0
|
|
591
|
-
assertiveness: 20
|
|
592
|
-
buoyancy: -30
|
|
593
|
-
confidence: -40
|
|
594
|
-
enthusiasm: 50
|
|
595
|
-
nasality: 45
|
|
596
|
-
relaxedness: -35
|
|
597
|
-
smoothness: 25
|
|
598
|
-
tepidity: 15
|
|
599
|
-
tightness: 5
|
|
522
|
+
name: Ava Song
|
|
523
|
+
id: 5bb7de05-c8fe-426a-8fcc-ba4fc4ce9f9c
|
|
600
524
|
language_model:
|
|
601
525
|
model_provider: ANTHROPIC
|
|
602
526
|
model_resource: claude-3-7-sonnet-latest
|
|
@@ -631,8 +555,7 @@ service:
|
|
|
631
555
|
|
|
632
556
|
|
|
633
557
|
For more details on configuration options and how to configure EVI, see
|
|
634
|
-
our [configuration
|
|
635
|
-
guide](/docs/empathic-voice-interface-evi/configuration).
|
|
558
|
+
our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
636
559
|
source:
|
|
637
560
|
openapi: evi-openapi.json
|
|
638
561
|
path-parameters:
|
|
@@ -654,8 +577,7 @@ service:
|
|
|
654
577
|
|
|
655
578
|
|
|
656
579
|
For more details on configuration options and how to configure EVI, see
|
|
657
|
-
our [configuration
|
|
658
|
-
guide](/docs/empathic-voice-interface-evi/configuration).
|
|
580
|
+
our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
659
581
|
source:
|
|
660
582
|
openapi: evi-openapi.json
|
|
661
583
|
path-parameters:
|
|
@@ -691,8 +613,7 @@ service:
|
|
|
691
613
|
|
|
692
614
|
|
|
693
615
|
For more details on configuration options and how to configure EVI, see
|
|
694
|
-
our [configuration
|
|
695
|
-
guide](/docs/empathic-voice-interface-evi/configuration).
|
|
616
|
+
our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
696
617
|
source:
|
|
697
618
|
openapi: evi-openapi.json
|
|
698
619
|
path-parameters:
|
|
@@ -733,7 +654,7 @@ service:
|
|
|
733
654
|
name: Weather Assistant Config
|
|
734
655
|
created_on: 1715275452390
|
|
735
656
|
modified_on: 1715275452390
|
|
736
|
-
evi_version: '
|
|
657
|
+
evi_version: '3'
|
|
737
658
|
prompt:
|
|
738
659
|
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
739
660
|
version: 0
|
|
@@ -751,26 +672,8 @@ service:
|
|
|
751
672
|
severe weather is expected.</role>
|
|
752
673
|
voice:
|
|
753
674
|
provider: HUME_AI
|
|
754
|
-
name:
|
|
755
|
-
|
|
756
|
-
id: 00aa8ee9-c50e-4ea1-9af0-7b08ad451704
|
|
757
|
-
version: 1
|
|
758
|
-
name: SAMPLE VOICE
|
|
759
|
-
created_on: 1724704587367
|
|
760
|
-
modified_on: 1725489961583
|
|
761
|
-
base_voice: KORA
|
|
762
|
-
parameter_model: 20241004-11parameter
|
|
763
|
-
parameters:
|
|
764
|
-
gender: 0
|
|
765
|
-
assertiveness: 20
|
|
766
|
-
buoyancy: -30
|
|
767
|
-
confidence: -40
|
|
768
|
-
enthusiasm: 50
|
|
769
|
-
nasality: 45
|
|
770
|
-
relaxedness: -35
|
|
771
|
-
smoothness: 25
|
|
772
|
-
tepidity: 15
|
|
773
|
-
tightness: 5
|
|
675
|
+
name: Ava Song
|
|
676
|
+
id: 5bb7de05-c8fe-426a-8fcc-ba4fc4ce9f9c
|
|
774
677
|
language_model:
|
|
775
678
|
model_provider: ANTHROPIC
|
|
776
679
|
model_resource: claude-3-7-sonnet-latest
|
|
@@ -805,8 +708,7 @@ service:
|
|
|
805
708
|
|
|
806
709
|
|
|
807
710
|
For more details on configuration options and how to configure EVI, see
|
|
808
|
-
our [configuration
|
|
809
|
-
guide](/docs/empathic-voice-interface-evi/configuration).
|
|
711
|
+
our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
810
712
|
source:
|
|
811
713
|
openapi: evi-openapi.json
|
|
812
714
|
path-parameters:
|
|
@@ -844,8 +746,7 @@ service:
|
|
|
844
746
|
|
|
845
747
|
|
|
846
748
|
For more details on configuration options and how to configure EVI, see
|
|
847
|
-
our [configuration
|
|
848
|
-
guide](/docs/empathic-voice-interface-evi/configuration).
|
|
749
|
+
our [configuration guide](/docs/speech-to-speech-evi/configuration).
|
|
849
750
|
source:
|
|
850
751
|
openapi: evi-openapi.json
|
|
851
752
|
path-parameters:
|
|
@@ -896,7 +797,7 @@ service:
|
|
|
896
797
|
name: Weather Assistant Config
|
|
897
798
|
created_on: 1715275452390
|
|
898
799
|
modified_on: 1715275452390
|
|
899
|
-
evi_version: '
|
|
800
|
+
evi_version: '3'
|
|
900
801
|
prompt:
|
|
901
802
|
id: af699d45-2985-42cc-91b9-af9e5da3bac5
|
|
902
803
|
version: 0
|
|
@@ -914,26 +815,8 @@ service:
|
|
|
914
815
|
severe weather is expected.</role>
|
|
915
816
|
voice:
|
|
916
817
|
provider: HUME_AI
|
|
917
|
-
name:
|
|
918
|
-
|
|
919
|
-
id: 00aa8ee9-c50e-4ea1-9af0-7b08ad451704
|
|
920
|
-
version: 1
|
|
921
|
-
name: SAMPLE VOICE
|
|
922
|
-
created_on: 1724704587367
|
|
923
|
-
modified_on: 1725489961583
|
|
924
|
-
base_voice: KORA
|
|
925
|
-
parameter_model: 20241004-11parameter
|
|
926
|
-
parameters:
|
|
927
|
-
gender: 0
|
|
928
|
-
assertiveness: 20
|
|
929
|
-
buoyancy: -30
|
|
930
|
-
confidence: -40
|
|
931
|
-
enthusiasm: 50
|
|
932
|
-
nasality: 45
|
|
933
|
-
relaxedness: -35
|
|
934
|
-
smoothness: 25
|
|
935
|
-
tepidity: 15
|
|
936
|
-
tightness: 5
|
|
818
|
+
name: Ava Song
|
|
819
|
+
id: 5bb7de05-c8fe-426a-8fcc-ba4fc4ce9f9c
|
|
937
820
|
language_model:
|
|
938
821
|
model_provider: ANTHROPIC
|
|
939
822
|
model_resource: claude-3-7-sonnet-latest
|
|
@@ -13,8 +13,8 @@ service:
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
See our [prompting
|
|
16
|
-
guide](/docs/
|
|
17
|
-
|
|
16
|
+
guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on
|
|
17
|
+
crafting your system prompt.
|
|
18
18
|
pagination:
|
|
19
19
|
offset: $request.page_number
|
|
20
20
|
results: $response.prompts_page
|
|
@@ -104,12 +104,12 @@ service:
|
|
|
104
104
|
auth: true
|
|
105
105
|
docs: >-
|
|
106
106
|
Creates a **Prompt** that can be added to an [EVI
|
|
107
|
-
configuration](/reference/
|
|
107
|
+
configuration](/reference/speech-to-speech-evi/configs/create-config).
|
|
108
108
|
|
|
109
109
|
|
|
110
110
|
See our [prompting
|
|
111
|
-
guide](/docs/
|
|
112
|
-
|
|
111
|
+
guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on
|
|
112
|
+
crafting your system prompt.
|
|
113
113
|
source:
|
|
114
114
|
openapi: evi-openapi.json
|
|
115
115
|
display-name: Create prompt
|
|
@@ -138,7 +138,7 @@ service:
|
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
For help writing a system prompt, see our [Prompting
|
|
141
|
-
Guide](/docs/
|
|
141
|
+
Guide](/docs/speech-to-speech-evi/guides/prompting).
|
|
142
142
|
content-type: application/json
|
|
143
143
|
response:
|
|
144
144
|
docs: Created
|
|
@@ -181,8 +181,8 @@ service:
|
|
|
181
181
|
|
|
182
182
|
|
|
183
183
|
See our [prompting
|
|
184
|
-
guide](/docs/
|
|
185
|
-
|
|
184
|
+
guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on
|
|
185
|
+
crafting your system prompt.
|
|
186
186
|
source:
|
|
187
187
|
openapi: evi-openapi.json
|
|
188
188
|
path-parameters:
|
|
@@ -259,8 +259,8 @@ service:
|
|
|
259
259
|
|
|
260
260
|
|
|
261
261
|
See our [prompting
|
|
262
|
-
guide](/docs/
|
|
263
|
-
|
|
262
|
+
guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on
|
|
263
|
+
crafting your system prompt.
|
|
264
264
|
source:
|
|
265
265
|
openapi: evi-openapi.json
|
|
266
266
|
path-parameters:
|
|
@@ -291,7 +291,7 @@ service:
|
|
|
291
291
|
|
|
292
292
|
|
|
293
293
|
For help writing a system prompt, see our [Prompting
|
|
294
|
-
Guide](/docs/
|
|
294
|
+
Guide](/docs/speech-to-speech-evi/guides/prompting).
|
|
295
295
|
content-type: application/json
|
|
296
296
|
response:
|
|
297
297
|
docs: Created
|
|
@@ -336,8 +336,8 @@ service:
|
|
|
336
336
|
|
|
337
337
|
|
|
338
338
|
See our [prompting
|
|
339
|
-
guide](/docs/
|
|
340
|
-
|
|
339
|
+
guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on
|
|
340
|
+
crafting your system prompt.
|
|
341
341
|
source:
|
|
342
342
|
openapi: evi-openapi.json
|
|
343
343
|
path-parameters:
|
|
@@ -359,8 +359,8 @@ service:
|
|
|
359
359
|
|
|
360
360
|
|
|
361
361
|
See our [prompting
|
|
362
|
-
guide](/docs/
|
|
363
|
-
|
|
362
|
+
guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on
|
|
363
|
+
crafting your system prompt.
|
|
364
364
|
source:
|
|
365
365
|
openapi: evi-openapi.json
|
|
366
366
|
path-parameters:
|
|
@@ -396,8 +396,8 @@ service:
|
|
|
396
396
|
|
|
397
397
|
|
|
398
398
|
See our [prompting
|
|
399
|
-
guide](/docs/
|
|
400
|
-
|
|
399
|
+
guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on
|
|
400
|
+
crafting your system prompt.
|
|
401
401
|
source:
|
|
402
402
|
openapi: evi-openapi.json
|
|
403
403
|
path-parameters:
|
|
@@ -455,8 +455,8 @@ service:
|
|
|
455
455
|
|
|
456
456
|
|
|
457
457
|
See our [prompting
|
|
458
|
-
guide](/docs/
|
|
459
|
-
|
|
458
|
+
guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on
|
|
459
|
+
crafting your system prompt.
|
|
460
460
|
source:
|
|
461
461
|
openapi: evi-openapi.json
|
|
462
462
|
path-parameters:
|
|
@@ -494,8 +494,8 @@ service:
|
|
|
494
494
|
|
|
495
495
|
|
|
496
496
|
See our [prompting
|
|
497
|
-
guide](/docs/
|
|
498
|
-
|
|
497
|
+
guide](/docs/speech-to-speech-evi/guides/phone-calling) for tips on
|
|
498
|
+
crafting your system prompt.
|
|
499
499
|
source:
|
|
500
500
|
openapi: evi-openapi.json
|
|
501
501
|
path-parameters:
|
|
@@ -13,7 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
Refer to our [tool
|
|
16
|
-
use](/docs/
|
|
16
|
+
use](/docs/speech-to-speech-evi/features/tool-use#function-calling)
|
|
17
17
|
guide for comprehensive instructions on defining and integrating tools
|
|
18
18
|
into EVI.
|
|
19
19
|
pagination:
|
|
@@ -113,11 +113,11 @@ service:
|
|
|
113
113
|
auth: true
|
|
114
114
|
docs: >-
|
|
115
115
|
Creates a **Tool** that can be added to an [EVI
|
|
116
|
-
configuration](/reference/
|
|
116
|
+
configuration](/reference/speech-to-speech-evi/configs/create-config).
|
|
117
117
|
|
|
118
118
|
|
|
119
119
|
Refer to our [tool
|
|
120
|
-
use](/docs/
|
|
120
|
+
use](/docs/speech-to-speech-evi/features/tool-use#function-calling)
|
|
121
121
|
guide for comprehensive instructions on defining and integrating tools
|
|
122
122
|
into EVI.
|
|
123
123
|
source:
|
|
@@ -208,7 +208,7 @@ service:
|
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
Refer to our [tool
|
|
211
|
-
use](/docs/
|
|
211
|
+
use](/docs/speech-to-speech-evi/features/tool-use#function-calling)
|
|
212
212
|
guide for comprehensive instructions on defining and integrating tools
|
|
213
213
|
into EVI.
|
|
214
214
|
pagination:
|
|
@@ -295,7 +295,7 @@ service:
|
|
|
295
295
|
|
|
296
296
|
|
|
297
297
|
Refer to our [tool
|
|
298
|
-
use](/docs/
|
|
298
|
+
use](/docs/speech-to-speech-evi/features/tool-use#function-calling)
|
|
299
299
|
guide for comprehensive instructions on defining and integrating tools
|
|
300
300
|
into EVI.
|
|
301
301
|
source:
|
|
@@ -388,7 +388,7 @@ service:
|
|
|
388
388
|
|
|
389
389
|
|
|
390
390
|
Refer to our [tool
|
|
391
|
-
use](/docs/
|
|
391
|
+
use](/docs/speech-to-speech-evi/features/tool-use#function-calling)
|
|
392
392
|
guide for comprehensive instructions on defining and integrating tools
|
|
393
393
|
into EVI.
|
|
394
394
|
source:
|
|
@@ -412,7 +412,7 @@ service:
|
|
|
412
412
|
|
|
413
413
|
|
|
414
414
|
Refer to our [tool
|
|
415
|
-
use](/docs/
|
|
415
|
+
use](/docs/speech-to-speech-evi/features/tool-use#function-calling)
|
|
416
416
|
guide for comprehensive instructions on defining and integrating tools
|
|
417
417
|
into EVI.
|
|
418
418
|
source:
|
|
@@ -450,7 +450,7 @@ service:
|
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
Refer to our [tool
|
|
453
|
-
use](/docs/
|
|
453
|
+
use](/docs/speech-to-speech-evi/features/tool-use#function-calling)
|
|
454
454
|
guide for comprehensive instructions on defining and integrating tools
|
|
455
455
|
into EVI.
|
|
456
456
|
source:
|
|
@@ -514,7 +514,7 @@ service:
|
|
|
514
514
|
|
|
515
515
|
|
|
516
516
|
Refer to our [tool
|
|
517
|
-
use](/docs/
|
|
517
|
+
use](/docs/speech-to-speech-evi/features/tool-use#function-calling)
|
|
518
518
|
guide for comprehensive instructions on defining and integrating tools
|
|
519
519
|
into EVI.
|
|
520
520
|
source:
|
|
@@ -553,7 +553,7 @@ service:
|
|
|
553
553
|
|
|
554
554
|
|
|
555
555
|
Refer to our [tool
|
|
556
|
-
use](/docs/
|
|
556
|
+
use](/docs/speech-to-speech-evi/features/tool-use#function-calling)
|
|
557
557
|
guide for comprehensive instructions on defining and integrating tools
|
|
558
558
|
into EVI.
|
|
559
559
|
source:
|
|
@@ -165,15 +165,9 @@ service:
|
|
|
165
165
|
- text: >-
|
|
166
166
|
Beauty is no quality in things themselves: It exists merely in
|
|
167
167
|
the mind which contemplates them.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
academic quality.
|
|
172
|
-
context:
|
|
173
|
-
generation_id: 09ad914d-8e7f-40f8-a279-e34f07f7dab2
|
|
174
|
-
format:
|
|
175
|
-
type: mp3
|
|
176
|
-
num_generations: 1
|
|
168
|
+
voice:
|
|
169
|
+
name: Male English Actor
|
|
170
|
+
provider: HUME_AI
|
|
177
171
|
synthesize-json-streaming:
|
|
178
172
|
path: /v0/tts/stream/json
|
|
179
173
|
method: POST
|
|
@@ -206,19 +200,9 @@ service:
|
|
|
206
200
|
- text: >-
|
|
207
201
|
Beauty is no quality in things themselves: It exists merely in
|
|
208
202
|
the mind which contemplates them.
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
academic quality.
|
|
213
|
-
context:
|
|
214
|
-
utterances:
|
|
215
|
-
- text: How can people see beauty so differently?
|
|
216
|
-
description: >-
|
|
217
|
-
A curious student with a clear and respectful tone, seeking
|
|
218
|
-
clarification on Hume's ideas with a straightforward
|
|
219
|
-
question.
|
|
220
|
-
format:
|
|
221
|
-
type: mp3
|
|
203
|
+
voice:
|
|
204
|
+
name: Male English Actor
|
|
205
|
+
provider: HUME_AI
|
|
222
206
|
source:
|
|
223
207
|
openapi: tts-openapi.yml
|
|
224
208
|
types:
|
|
@@ -55,7 +55,7 @@ class ChatSocket {
|
|
|
55
55
|
(_b = (_a = this.eventHandlers).open) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
56
56
|
};
|
|
57
57
|
this.handleMessage = (event) => {
|
|
58
|
-
var _a, _b
|
|
58
|
+
var _a, _b;
|
|
59
59
|
const data = JSON.parse(event.data);
|
|
60
60
|
const parsedResponse = serializers.empathicVoice.SubscribeEvent.parse(data, {
|
|
61
61
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -66,9 +66,6 @@ class ChatSocket {
|
|
|
66
66
|
if (parsedResponse.ok) {
|
|
67
67
|
(_b = (_a = this.eventHandlers).message) === null || _b === void 0 ? void 0 : _b.call(_a, Object.assign(Object.assign({}, parsedResponse.value), { receivedAt: new Date() }));
|
|
68
68
|
}
|
|
69
|
-
else {
|
|
70
|
-
(_d = (_c = this.eventHandlers).error) === null || _d === void 0 ? void 0 : _d.call(_c, new Error(`Received unknown message type`));
|
|
71
|
-
}
|
|
72
69
|
};
|
|
73
70
|
this.handleClose = (event) => {
|
|
74
71
|
var _a, _b;
|
|
@@ -81,7 +81,7 @@ export declare class ChatGroups {
|
|
|
81
81
|
*/
|
|
82
82
|
listChatGroupEvents(id: string, request?: Hume.empathicVoice.ChatGroupsListChatGroupEventsRequest, requestOptions?: ChatGroups.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnChatEvent>>;
|
|
83
83
|
/**
|
|
84
|
-
* Fetches a paginated list of audio for each **Chat** within the specified **Chat Group**. For more details, see our guide on audio reconstruction [here](/docs/
|
|
84
|
+
* Fetches a paginated list of audio for each **Chat** within the specified **Chat Group**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
|
|
85
85
|
*
|
|
86
86
|
* @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
|
|
87
87
|
* @param {Hume.empathicVoice.ChatGroupsGetAudioRequest} request
|
|
@@ -347,7 +347,7 @@ class ChatGroups {
|
|
|
347
347
|
});
|
|
348
348
|
}
|
|
349
349
|
/**
|
|
350
|
-
* Fetches a paginated list of audio for each **Chat** within the specified **Chat Group**. For more details, see our guide on audio reconstruction [here](/docs/
|
|
350
|
+
* Fetches a paginated list of audio for each **Chat** within the specified **Chat Group**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
|
|
351
351
|
*
|
|
352
352
|
* @param {string} id - Identifier for a Chat Group. Formatted as a UUID.
|
|
353
353
|
* @param {Hume.empathicVoice.ChatGroupsGetAudioRequest} request
|
|
@@ -62,7 +62,7 @@ export declare class Chats {
|
|
|
62
62
|
*/
|
|
63
63
|
listChatEvents(id: string, request?: Hume.empathicVoice.ChatsListChatEventsRequest, requestOptions?: Chats.RequestOptions): Promise<core.Page<Hume.empathicVoice.ReturnChatEvent>>;
|
|
64
64
|
/**
|
|
65
|
-
* Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/
|
|
65
|
+
* Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
|
|
66
66
|
*
|
|
67
67
|
* @param {string} id - Identifier for a chat. Formatted as a UUID.
|
|
68
68
|
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -259,7 +259,7 @@ class Chats {
|
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
261
|
/**
|
|
262
|
-
* Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/
|
|
262
|
+
* Fetches the audio of a previous **Chat**. For more details, see our guide on audio reconstruction [here](/docs/speech-to-speech-evi/faq#can-i-access-the-audio-of-previous-conversations-with-evi).
|
|
263
263
|
*
|
|
264
264
|
* @param {string} id - Identifier for a chat. Formatted as a UUID.
|
|
265
265
|
* @param {Chats.RequestOptions} requestOptions - Request-specific configuration.
|