hume 0.9.18 → 0.10.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.
Files changed (132) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +151 -224
  2. package/.mock/definition/empathic-voice/chat.yml +16 -16
  3. package/.mock/definition/empathic-voice/chatGroups.yml +10 -4
  4. package/.mock/definition/empathic-voice/chats.yml +3 -3
  5. package/.mock/definition/empathic-voice/configs.yml +23 -17
  6. package/.mock/definition/empathic-voice/customVoices.yml +9 -6
  7. package/.mock/definition/empathic-voice/prompts.yml +9 -9
  8. package/.mock/definition/empathic-voice/tools.yml +12 -9
  9. package/.mock/definition/expression-measurement/stream/stream.yml +206 -206
  10. package/.mock/definition/tts/__package__.yml +32 -3
  11. package/.mock/definition/tts/voices.yml +4 -2
  12. package/.mock/fern.config.json +1 -1
  13. package/api/resources/empathicVoice/resources/chat/types/index.d.ts +1 -1
  14. package/api/resources/empathicVoice/resources/chat/types/index.js +1 -1
  15. package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
  16. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +139 -115
  17. package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  18. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
  19. package/api/resources/empathicVoice/resources/configs/client/Client.js +146 -122
  20. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
  21. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +1 -1
  22. package/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +1 -1
  23. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +72 -60
  24. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  25. package/api/resources/empathicVoice/resources/tools/client/Client.d.ts +1 -1
  26. package/api/resources/empathicVoice/resources/tools/client/Client.js +75 -63
  27. package/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.d.ts → LanguageModelType.d.ts} +3 -6
  28. package/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.js → LanguageModelType.js} +3 -3
  29. package/api/resources/empathicVoice/types/{PostedLanguageModelModelProvider.d.ts → ModelProviderEnum.d.ts} +2 -5
  30. package/{dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js → api/resources/empathicVoice/types/ModelProviderEnum.js} +2 -2
  31. package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -2
  32. package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -2
  33. package/api/resources/empathicVoice/types/index.d.ts +6 -8
  34. package/api/resources/empathicVoice/types/index.js +6 -8
  35. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  36. package/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +4 -4
  37. package/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +4 -4
  38. package/api/resources/tts/client/Client.js +4 -4
  39. package/api/resources/tts/resources/voices/client/Client.d.ts +1 -1
  40. package/api/resources/tts/resources/voices/client/Client.js +72 -60
  41. package/api/resources/tts/types/PostedTts.d.ts +7 -0
  42. package/api/resources/tts/types/SnippetAudioChunk.d.ts +6 -2
  43. package/dist/api/resources/empathicVoice/resources/chat/types/index.d.ts +1 -1
  44. package/dist/api/resources/empathicVoice/resources/chat/types/index.js +1 -1
  45. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +2 -2
  46. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +139 -115
  47. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  48. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
  49. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +146 -122
  50. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
  51. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +1 -1
  52. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.d.ts +1 -1
  53. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +72 -60
  54. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  55. package/dist/api/resources/empathicVoice/resources/tools/client/Client.d.ts +1 -1
  56. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +75 -63
  57. package/dist/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.d.ts → LanguageModelType.d.ts} +3 -6
  58. package/dist/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.js → LanguageModelType.js} +3 -3
  59. package/dist/api/resources/empathicVoice/types/{PostedLanguageModelModelProvider.d.ts → ModelProviderEnum.d.ts} +2 -5
  60. package/{api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js → dist/api/resources/empathicVoice/types/ModelProviderEnum.js} +2 -2
  61. package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -2
  62. package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -2
  63. package/dist/api/resources/empathicVoice/types/index.d.ts +6 -8
  64. package/dist/api/resources/empathicVoice/types/index.js +6 -8
  65. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  66. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +4 -4
  67. package/dist/api/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +4 -4
  68. package/dist/api/resources/tts/client/Client.js +4 -4
  69. package/dist/api/resources/tts/resources/voices/client/Client.d.ts +1 -1
  70. package/dist/api/resources/tts/resources/voices/client/Client.js +72 -60
  71. package/dist/api/resources/tts/types/PostedTts.d.ts +7 -0
  72. package/dist/api/resources/tts/types/SnippetAudioChunk.d.ts +6 -2
  73. package/dist/serialization/resources/empathicVoice/resources/chat/types/index.d.ts +1 -1
  74. package/dist/serialization/resources/empathicVoice/resources/chat/types/index.js +1 -1
  75. package/dist/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +10 -0
  76. package/{serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js → dist/serialization/resources/empathicVoice/types/LanguageModelType.js} +3 -3
  77. package/dist/serialization/resources/empathicVoice/types/{PostedLanguageModelModelProvider.d.ts → ModelProviderEnum.d.ts} +2 -2
  78. package/dist/serialization/resources/empathicVoice/types/{ReturnLanguageModelModelProvider.js → ModelProviderEnum.js} +2 -2
  79. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +4 -4
  80. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +4 -4
  81. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +4 -4
  82. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +4 -4
  83. package/dist/serialization/resources/empathicVoice/types/index.d.ts +6 -8
  84. package/dist/serialization/resources/empathicVoice/types/index.js +6 -8
  85. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +4 -4
  86. package/dist/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +4 -4
  87. package/dist/serialization/resources/tts/types/PostedTts.d.ts +1 -0
  88. package/dist/serialization/resources/tts/types/PostedTts.js +1 -0
  89. package/dist/serialization/resources/tts/types/SnippetAudioChunk.d.ts +2 -0
  90. package/dist/serialization/resources/tts/types/SnippetAudioChunk.js +2 -0
  91. package/dist/version.d.ts +1 -1
  92. package/dist/version.js +1 -1
  93. package/package.json +1 -1
  94. package/reference.md +93 -16
  95. package/serialization/resources/empathicVoice/resources/chat/types/index.d.ts +1 -1
  96. package/serialization/resources/empathicVoice/resources/chat/types/index.js +1 -1
  97. package/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +10 -0
  98. package/{dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js → serialization/resources/empathicVoice/types/LanguageModelType.js} +3 -3
  99. package/{dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts → serialization/resources/empathicVoice/types/ModelProviderEnum.d.ts} +2 -2
  100. package/{dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js → serialization/resources/empathicVoice/types/ModelProviderEnum.js} +2 -2
  101. package/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +4 -4
  102. package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +4 -4
  103. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +4 -4
  104. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +4 -4
  105. package/serialization/resources/empathicVoice/types/index.d.ts +6 -8
  106. package/serialization/resources/empathicVoice/types/index.js +6 -8
  107. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.d.ts +4 -4
  108. package/serialization/resources/expressionMeasurement/resources/stream/resources/stream/types/index.js +4 -4
  109. package/serialization/resources/tts/types/PostedTts.d.ts +1 -0
  110. package/serialization/resources/tts/types/PostedTts.js +1 -0
  111. package/serialization/resources/tts/types/SnippetAudioChunk.d.ts +2 -0
  112. package/serialization/resources/tts/types/SnippetAudioChunk.js +2 -0
  113. package/version.d.ts +1 -1
  114. package/version.js +1 -1
  115. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -34
  116. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -33
  117. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +0 -17
  118. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +0 -16
  119. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -34
  120. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -33
  121. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +0 -17
  122. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +0 -16
  123. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -10
  124. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -67
  125. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +0 -10
  126. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +0 -10
  127. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +0 -50
  128. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -10
  129. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -67
  130. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +0 -10
  131. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +0 -50
  132. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +0 -10
@@ -1002,6 +1002,87 @@ types:
1002
1002
  type: optional<list<ValidationError>>
1003
1003
  source:
1004
1004
  openapi: evi-openapi.json
1005
+ LanguageModelType:
1006
+ enum:
1007
+ - value: claude-3-7-sonnet-latest
1008
+ name: Claude37SonnetLatest
1009
+ - value: claude-3-5-sonnet-latest
1010
+ name: Claude35SonnetLatest
1011
+ - value: claude-3-5-haiku-latest
1012
+ name: Claude35HaikuLatest
1013
+ - value: claude-3-5-sonnet-20240620
1014
+ name: Claude35Sonnet20240620
1015
+ - value: claude-3-opus-20240229
1016
+ name: Claude3Opus20240229
1017
+ - value: claude-3-sonnet-20240229
1018
+ name: Claude3Sonnet20240229
1019
+ - value: claude-3-haiku-20240307
1020
+ name: Claude3Haiku20240307
1021
+ - value: us.anthropic.claude-3-5-haiku-20241022-v1:0
1022
+ name: UsAnthropicClaude35Haiku20241022V10
1023
+ - value: us.anthropic.claude-3-5-sonnet-20240620-v1:0
1024
+ name: UsAnthropicClaude35Sonnet20240620V10
1025
+ - value: us.anthropic.claude-3-haiku-20240307-v1:0
1026
+ name: UsAnthropicClaude3Haiku20240307V10
1027
+ - value: gemini-1.5-pro
1028
+ name: Gemini15Pro
1029
+ - value: gemini-1.5-flash
1030
+ name: Gemini15Flash
1031
+ - value: gemini-1.5-pro-002
1032
+ name: Gemini15Pro002
1033
+ - value: gemini-1.5-flash-002
1034
+ name: Gemini15Flash002
1035
+ - value: gemini-2.0-flash
1036
+ name: Gemini20Flash
1037
+ - value: gpt-4-turbo
1038
+ name: Gpt4Turbo
1039
+ - value: gpt-4-turbo-preview
1040
+ name: Gpt4TurboPreview
1041
+ - value: gpt-3.5-turbo-0125
1042
+ name: Gpt35Turbo0125
1043
+ - value: gpt-3.5-turbo
1044
+ name: Gpt35Turbo
1045
+ - value: gpt-4o
1046
+ name: Gpt4O
1047
+ - value: gpt-4o-mini
1048
+ name: Gpt4OMini
1049
+ - value: gemma-7b-it
1050
+ name: Gemma7BIt
1051
+ - value: llama3-8b-8192
1052
+ name: Llama38B8192
1053
+ - value: llama3-70b-8192
1054
+ name: Llama370B8192
1055
+ - value: llama-3.1-70b-versatile
1056
+ name: Llama3170BVersatile
1057
+ - value: llama-3.3-70b-versatile
1058
+ name: Llama3370BVersatile
1059
+ - value: llama-3.1-8b-instant
1060
+ name: Llama318BInstant
1061
+ - value: accounts/fireworks/models/mixtral-8x7b-instruct
1062
+ name: AccountsFireworksModelsMixtral8X7BInstruct
1063
+ - value: accounts/fireworks/models/llama-v3p1-405b-instruct
1064
+ name: AccountsFireworksModelsLlamaV3P1405BInstruct
1065
+ - value: accounts/fireworks/models/llama-v3p1-70b-instruct
1066
+ name: AccountsFireworksModelsLlamaV3P170BInstruct
1067
+ - value: accounts/fireworks/models/llama-v3p1-8b-instruct
1068
+ name: AccountsFireworksModelsLlamaV3P18BInstruct
1069
+ - ellm
1070
+ - value: custom-language-model
1071
+ name: CustomLanguageModel
1072
+ source:
1073
+ openapi: evi-openapi.json
1074
+ ModelProviderEnum:
1075
+ enum:
1076
+ - GROQ
1077
+ - OPEN_AI
1078
+ - FIREWORKS
1079
+ - ANTHROPIC
1080
+ - CUSTOM_LANGUAGE_MODEL
1081
+ - GOOGLE
1082
+ - HUME_AI
1083
+ - AMAZON_BEDROCK
1084
+ source:
1085
+ openapi: evi-openapi.json
1005
1086
  ValidationErrorLocItem:
1006
1087
  discriminated: false
1007
1088
  union:
@@ -2355,119 +2436,14 @@ types:
2355
2436
  docs: Text used to create a new prompt for a particular config.
2356
2437
  source:
2357
2438
  openapi: evi-openapi.json
2358
- PostedVoiceProvider:
2359
- enum:
2360
- - HUME_AI
2361
- - CUSTOM_VOICE
2362
- docs: >-
2363
- The provider of the voice to use. Supported values are `HUME_AI` and
2364
- `CUSTOM_VOICE`.
2365
- inline: true
2366
- source:
2367
- openapi: evi-openapi.json
2368
- PostedVoice:
2369
- docs: A Voice specification posted to the server
2370
- properties:
2371
- provider:
2372
- type: PostedVoiceProvider
2373
- docs: >-
2374
- The provider of the voice to use. Supported values are `HUME_AI` and
2375
- `CUSTOM_VOICE`.
2376
- name:
2377
- type: optional<string>
2378
- docs: >-
2379
- Specifies the name of the voice to use.
2380
-
2381
-
2382
- This can be either the name of a previously created Custom Voice or
2383
- one of our 8 base voices: `ITO`, `KORA`, `DACHER`, `AURA`, `FINN`,
2384
- `WHIMSY`, `STELLA`, or `SUNNY`.
2385
-
2386
-
2387
- The name will be automatically converted to uppercase (e.g., "Ito"
2388
- becomes "ITO"). If a name is not specified, then a [Custom
2389
- Voice](/reference/empathic-voice-interface-evi/configs/create-config#request.body.voice.custom_voice)
2390
- specification must be provided.
2391
- custom_voice: optional<PostedCustomVoice>
2392
- source:
2393
- openapi: evi-openapi.json
2394
- PostedLanguageModelModelProvider:
2395
- enum:
2396
- - GROQ
2397
- - OPEN_AI
2398
- - FIREWORKS
2399
- - ANTHROPIC
2400
- - CUSTOM_LANGUAGE_MODEL
2401
- - GOOGLE
2402
- - HUME_AI
2403
- - AMAZON_BEDROCK
2404
- docs: The provider of the supplemental language model.
2405
- inline: true
2406
- source:
2407
- openapi: evi-openapi.json
2408
- PostedLanguageModelModelResource:
2409
- enum:
2410
- - value: claude-3-7-sonnet
2411
- name: Claude37Sonnet
2412
- - value: claude-3-5-sonnet-latest
2413
- name: Claude35SonnetLatest
2414
- - value: claude-3-5-haiku-20241022-v1
2415
- name: Claude35Haiku20241022V1
2416
- - value: gemini-2.0-flash
2417
- name: Gemini20Flash
2418
- - value: claude-3-haiku-20240307
2419
- name: Claude3Haiku20240307
2420
- - value: gemini-1.5-pro
2421
- name: Gemini15Pro
2422
- - value: claude-3-5-sonnet-20240620
2423
- name: Claude35Sonnet20240620
2424
- - value: gpt-4o
2425
- name: Gpt4O
2426
- - value: gpt-4o-mini
2427
- name: Gpt4OMini
2428
- - value: gemini-1.5-flash
2429
- name: Gemini15Flash
2430
- - value: claude-3-5-haiku-latest
2431
- name: Claude35HaikuLatest
2432
- - value: llama-v3p1-70b-instruct
2433
- name: LlamaV3P170BInstruct
2434
- - value: llama-3.3-70b-versatile
2435
- name: Llama3370BVersatile
2436
- - value: llama-v3p1-405b-instruct
2437
- name: LlamaV3P1405BInstruct
2438
- - value: llama-v3p1-8b-instruct
2439
- name: LlamaV3P18BInstruct
2440
- - value: llama-3.1-8b-instant
2441
- name: Llama318BInstant
2442
- - value: mixtral-8x7b-instruct
2443
- name: Mixtral8X7BInstruct
2444
- - value: llama3-8b-8192
2445
- name: Llama38B8192
2446
- - value: llama3-70b-8192
2447
- name: Llama370B8192
2448
- - value: claude-3-opus-20240229
2449
- name: Claude3Opus20240229
2450
- - value: gpt-4-turbo
2451
- name: Gpt4Turbo
2452
- - value: claude-3-sonnet-20240229
2453
- name: Claude3Sonnet20240229
2454
- - value: claude-3-5-sonnet-20240620-v1
2455
- name: Claude35Sonnet20240620V1
2456
- - value: claude-3-haiku-20240307-v1
2457
- name: Claude3Haiku20240307V1
2458
- - ellm
2459
- docs: String that specifies the language model to use with `model_provider`.
2460
- inline: true
2461
- source:
2462
- openapi: evi-openapi.json
2463
2439
  PostedLanguageModel:
2464
2440
  docs: A LanguageModel to be posted to the server
2465
2441
  properties:
2466
2442
  model_provider:
2467
- type: optional<PostedLanguageModelModelProvider>
2443
+ type: optional<ModelProviderEnum>
2468
2444
  docs: The provider of the supplemental language model.
2469
2445
  model_resource:
2470
- type: optional<PostedLanguageModelModelResource>
2446
+ type: optional<LanguageModelType>
2471
2447
  docs: String that specifies the language model to use with `model_provider`.
2472
2448
  temperature:
2473
2449
  type: optional<float>
@@ -2719,129 +2695,14 @@ types:
2719
2695
  type: list<PostedWebhookEventType>
2720
2696
  source:
2721
2697
  openapi: evi-openapi.json
2722
- ReturnVoiceProvider:
2723
- enum:
2724
- - HUME_AI
2725
- - CUSTOM_VOICE
2726
- docs: >-
2727
- The provider of the voice to use. Supported values are `HUME_AI` and
2728
- `CUSTOM_VOICE`.
2729
- inline: true
2730
- source:
2731
- openapi: evi-openapi.json
2732
- ReturnVoice:
2733
- docs: A specific voice specification
2734
- properties:
2735
- provider:
2736
- type: ReturnVoiceProvider
2737
- docs: >-
2738
- The provider of the voice to use. Supported values are `HUME_AI` and
2739
- `CUSTOM_VOICE`.
2740
- name:
2741
- type: optional<string>
2742
- docs: >-
2743
- The name of the specified voice.
2744
-
2745
-
2746
- This will either be the name of a previously created Custom Voice or
2747
- one of our 8 base voices: `ITO`, `KORA`, `DACHER`, `AURA`, `FINN`,
2748
- `WHIMSY`, `STELLA`, or `SUNNY`.
2749
- custom_voice: optional<ReturnCustomVoice>
2750
- source:
2751
- openapi: evi-openapi.json
2752
- ReturnLanguageModelModelProvider:
2753
- enum:
2754
- - GROQ
2755
- - OPEN_AI
2756
- - FIREWORKS
2757
- - ANTHROPIC
2758
- - CUSTOM_LANGUAGE_MODEL
2759
- - GOOGLE
2760
- - HUME_AI
2761
- - AMAZON_BEDROCK
2762
- docs: The provider of the supplemental language model.
2763
- inline: true
2764
- source:
2765
- openapi: evi-openapi.json
2766
- ReturnLanguageModelModelResource:
2767
- enum:
2768
- - value: claude-3-7-sonnet
2769
- name: Claude37Sonnet
2770
- - value: claude-3-5-sonnet-latest
2771
- name: Claude35SonnetLatest
2772
- - value: claude-3-5-haiku-latest
2773
- name: Claude35HaikuLatest
2774
- - value: claude-3-5-sonnet-20240620
2775
- name: Claude35Sonnet20240620
2776
- - value: claude-3-opus-20240229
2777
- name: Claude3Opus20240229
2778
- - value: claude-3-sonnet-20240229
2779
- name: Claude3Sonnet20240229
2780
- - value: claude-3-haiku-20240307
2781
- name: Claude3Haiku20240307
2782
- - value: us.anthropic.claude-3-5-haiku-20241022-v1:0
2783
- name: UsAnthropicClaude35Haiku20241022V10
2784
- - value: us.anthropic.claude-3-5-sonnet-20240620-v1:0
2785
- name: UsAnthropicClaude35Sonnet20240620V10
2786
- - value: us.anthropic.claude-3-haiku-20240307-v1:0
2787
- name: UsAnthropicClaude3Haiku20240307V10
2788
- - value: gemini-1.5-pro
2789
- name: Gemini15Pro
2790
- - value: gemini-1.5-flash
2791
- name: Gemini15Flash
2792
- - value: gemini-1.5-pro-002
2793
- name: Gemini15Pro002
2794
- - value: gemini-1.5-flash-002
2795
- name: Gemini15Flash002
2796
- - value: gemini-2.0-flash
2797
- name: Gemini20Flash
2798
- - value: gpt-4-turbo
2799
- name: Gpt4Turbo
2800
- - value: gpt-4-turbo-preview
2801
- name: Gpt4TurboPreview
2802
- - value: gpt-3.5-turbo-0125
2803
- name: Gpt35Turbo0125
2804
- - value: gpt-3.5-turbo
2805
- name: Gpt35Turbo
2806
- - value: gpt-4o
2807
- name: Gpt4O
2808
- - value: gpt-4o-mini
2809
- name: Gpt4OMini
2810
- - value: gemma-7b-it
2811
- name: Gemma7BIt
2812
- - value: llama3-8b-8192
2813
- name: Llama38B8192
2814
- - value: llama3-70b-8192
2815
- name: Llama370B8192
2816
- - value: llama-3.1-70b-versatile
2817
- name: Llama3170BVersatile
2818
- - value: llama-3.3-70b-versatile
2819
- name: Llama3370BVersatile
2820
- - value: llama-3.1-8b-instant
2821
- name: Llama318BInstant
2822
- - value: accounts/fireworks/models/mixtral-8x7b-instruct
2823
- name: AccountsFireworksModelsMixtral8X7BInstruct
2824
- - value: accounts/fireworks/models/llama-v3p1-405b-instruct
2825
- name: AccountsFireworksModelsLlamaV3P1405BInstruct
2826
- - value: accounts/fireworks/models/llama-v3p1-70b-instruct
2827
- name: AccountsFireworksModelsLlamaV3P170BInstruct
2828
- - value: accounts/fireworks/models/llama-v3p1-8b-instruct
2829
- name: AccountsFireworksModelsLlamaV3P18BInstruct
2830
- - ellm
2831
- - value: custom-language-model
2832
- name: CustomLanguageModel
2833
- docs: String that specifies the language model to use with `model_provider`.
2834
- inline: true
2835
- source:
2836
- openapi: evi-openapi.json
2837
2698
  ReturnLanguageModel:
2838
2699
  docs: A specific LanguageModel
2839
2700
  properties:
2840
2701
  model_provider:
2841
- type: optional<ReturnLanguageModelModelProvider>
2702
+ type: optional<ModelProviderEnum>
2842
2703
  docs: The provider of the supplemental language model.
2843
2704
  model_resource:
2844
- type: optional<ReturnLanguageModelModelResource>
2705
+ type: optional<LanguageModelType>
2845
2706
  docs: String that specifies the language model to use with `model_provider`.
2846
2707
  temperature:
2847
2708
  type: optional<float>
@@ -3349,3 +3210,69 @@ types:
3349
3210
  version: optional<unknown>
3350
3211
  source:
3351
3212
  openapi: evi-openapi.json
3213
+ PostedVoiceProvider:
3214
+ enum:
3215
+ - HUME_AI
3216
+ - CUSTOM_VOICE
3217
+ docs: >-
3218
+ The provider of the voice to use. Supported values are `HUME_AI` and
3219
+ `CUSTOM_VOICE`.
3220
+ inline: true
3221
+ source:
3222
+ openapi: evi-openapi.json
3223
+ PostedVoice:
3224
+ docs: A Voice specification posted to the server
3225
+ properties:
3226
+ provider:
3227
+ type: PostedVoiceProvider
3228
+ docs: >-
3229
+ The provider of the voice to use. Supported values are `HUME_AI` and
3230
+ `CUSTOM_VOICE`.
3231
+ name:
3232
+ type: optional<string>
3233
+ docs: >-
3234
+ Specifies the name of the voice to use.
3235
+
3236
+
3237
+ This can be either the name of a previously created Custom Voice or
3238
+ one of our 8 base voices: `ITO`, `KORA`, `DACHER`, `AURA`, `FINN`,
3239
+ `WHIMSY`, `STELLA`, or `SUNNY`.
3240
+
3241
+
3242
+ The name will be automatically converted to uppercase (e.g., "Ito"
3243
+ becomes "ITO"). If a name is not specified, then a [Custom
3244
+ Voice](/reference/empathic-voice-interface-evi/configs/create-config#request.body.voice.custom_voice)
3245
+ specification must be provided.
3246
+ custom_voice: optional<PostedCustomVoice>
3247
+ source:
3248
+ openapi: evi-openapi.json
3249
+ ReturnVoiceProvider:
3250
+ enum:
3251
+ - HUME_AI
3252
+ - CUSTOM_VOICE
3253
+ docs: >-
3254
+ The provider of the voice to use. Supported values are `HUME_AI` and
3255
+ `CUSTOM_VOICE`.
3256
+ inline: true
3257
+ source:
3258
+ openapi: evi-openapi.json
3259
+ ReturnVoice:
3260
+ docs: A specific voice specification
3261
+ properties:
3262
+ provider:
3263
+ type: ReturnVoiceProvider
3264
+ docs: >-
3265
+ The provider of the voice to use. Supported values are `HUME_AI` and
3266
+ `CUSTOM_VOICE`.
3267
+ name:
3268
+ type: optional<string>
3269
+ docs: >-
3270
+ The name of the specified voice.
3271
+
3272
+
3273
+ This will either be the name of a previously created Custom Voice or
3274
+ one of our 8 base voices: `ITO`, `KORA`, `DACHER`, `AURA`, `FINN`,
3275
+ `WHIMSY`, `STELLA`, or `SUNNY`.
3276
+ custom_voice: optional<ReturnCustomVoice>
3277
+ source:
3278
+ openapi: evi-openapi.json
@@ -113,12 +113,12 @@ channel:
113
113
  For more details, refer to the [Authentication Strategies
114
114
  Guide](/docs/introduction/api-key#authentication-strategies).
115
115
  messages:
116
- subscribe:
117
- origin: server
118
- body: SubscribeEvent
119
116
  publish:
120
117
  origin: client
121
118
  body: PublishEvent
119
+ subscribe:
120
+ origin: server
121
+ body: SubscribeEvent
122
122
  examples:
123
123
  - messages:
124
124
  - type: publish
@@ -131,6 +131,19 @@ channel:
131
131
  imports:
132
132
  root: __package__.yml
133
133
  types:
134
+ PublishEvent:
135
+ discriminated: false
136
+ union:
137
+ - type: root.AudioInput
138
+ - type: root.SessionSettings
139
+ - type: root.UserInput
140
+ - type: root.AssistantInput
141
+ - type: root.ToolResponseMessage
142
+ - type: root.ToolErrorMessage
143
+ - type: root.PauseAssistantMessage
144
+ - type: root.ResumeAssistantMessage
145
+ source:
146
+ openapi: evi-asyncapi.json
134
147
  SubscribeEvent:
135
148
  discriminated: false
136
149
  union:
@@ -146,16 +159,3 @@ types:
146
159
  - type: root.ToolErrorMessage
147
160
  source:
148
161
  openapi: evi-asyncapi.json
149
- PublishEvent:
150
- discriminated: false
151
- union:
152
- - type: root.AudioInput
153
- - type: root.SessionSettings
154
- - type: root.UserInput
155
- - type: root.AssistantInput
156
- - type: root.ToolResponseMessage
157
- - type: root.ToolErrorMessage
158
- - type: root.PauseAssistantMessage
159
- - type: root.ResumeAssistantMessage
160
- source:
161
- openapi: evi-asyncapi.json
@@ -7,8 +7,11 @@ service:
7
7
  list-chat-groups:
8
8
  path: /v0/evi/chat_groups
9
9
  method: GET
10
- auth: false
10
+ auth: true
11
11
  docs: Fetches a paginated list of **Chat Groups**.
12
+ pagination:
13
+ offset: $request.page_number
14
+ results: $response.chat_groups_page
12
15
  source:
13
16
  openapi: evi-openapi.json
14
17
  display-name: List chat_groups
@@ -82,7 +85,7 @@ service:
82
85
  get-chat-group:
83
86
  path: /v0/evi/chat_groups/{id}
84
87
  method: GET
85
- auth: false
88
+ auth: true
86
89
  docs: >-
87
90
  Fetches a **ChatGroup** by ID, including a paginated list of **Chats**
88
91
  associated with the **ChatGroup**.
@@ -161,10 +164,13 @@ service:
161
164
  list-chat-group-events:
162
165
  path: /v0/evi/chat_groups/{id}/events
163
166
  method: GET
164
- auth: false
167
+ auth: true
165
168
  docs: >-
166
169
  Fetches a paginated list of **Chat** events associated with a **Chat
167
170
  Group**.
171
+ pagination:
172
+ offset: $request.page_number
173
+ results: $response.events_page
168
174
  source:
169
175
  openapi: evi-openapi.json
170
176
  path-parameters:
@@ -538,7 +544,7 @@ service:
538
544
  get-audio:
539
545
  path: /v0/evi/chat_groups/{id}/audio
540
546
  method: GET
541
- auth: false
547
+ auth: true
542
548
  docs: >-
543
549
  Fetches a paginated list of audio for each **Chat** within the specified
544
550
  **Chat Group**. For more details, see our guide on audio reconstruction
@@ -7,7 +7,7 @@ service:
7
7
  list-chats:
8
8
  path: /v0/evi/chats
9
9
  method: GET
10
- auth: false
10
+ auth: true
11
11
  docs: Fetches a paginated list of **Chats**.
12
12
  pagination:
13
13
  offset: $request.page_number
@@ -83,7 +83,7 @@ service:
83
83
  list-chat-events:
84
84
  path: /v0/evi/chats/{id}
85
85
  method: GET
86
- auth: false
86
+ auth: true
87
87
  docs: Fetches a paginated list of **Chat** events.
88
88
  pagination:
89
89
  offset: $request.page_number
@@ -469,7 +469,7 @@ service:
469
469
  get-audio:
470
470
  path: /v0/evi/chats/{id}/audio
471
471
  method: GET
472
- auth: false
472
+ auth: true
473
473
  docs: >-
474
474
  Fetches the audio of a previous **Chat**. For more details, see our
475
475
  guide on audio reconstruction
@@ -7,7 +7,7 @@ service:
7
7
  list-configs:
8
8
  path: /v0/evi/configs
9
9
  method: GET
10
- auth: false
10
+ auth: true
11
11
  docs: >-
12
12
  Fetches a paginated list of **Configs**.
13
13
 
@@ -15,6 +15,9 @@ service:
15
15
  For more details on configuration options and how to configure EVI, see
16
16
  our [configuration
17
17
  guide](/docs/empathic-voice-interface-evi/configuration).
18
+ pagination:
19
+ offset: $request.page_number
20
+ results: $response.configs_page
18
21
  source:
19
22
  openapi: evi-openapi.json
20
23
  display-name: List configs
@@ -113,7 +116,7 @@ service:
113
116
  tightness: 5
114
117
  language_model:
115
118
  model_provider: ANTHROPIC
116
- model_resource: claude-3-7-sonnet
119
+ model_resource: claude-3-7-sonnet-latest
117
120
  temperature: 1
118
121
  ellm_model:
119
122
  allow_short_responses: false
@@ -139,7 +142,7 @@ service:
139
142
  create-config:
140
143
  path: /v0/evi/configs
141
144
  method: POST
142
- auth: false
145
+ auth: true
143
146
  docs: >-
144
147
  Creates a **Config** which can be applied to EVI.
145
148
 
@@ -221,7 +224,7 @@ service:
221
224
  name: SAMPLE VOICE
222
225
  language_model:
223
226
  model_provider: ANTHROPIC
224
- model_resource: claude-3-7-sonnet
227
+ model_resource: claude-3-7-sonnet-latest
225
228
  temperature: 1
226
229
  event_messages:
227
230
  on_new_chat:
@@ -281,7 +284,7 @@ service:
281
284
  tightness: 5
282
285
  language_model:
283
286
  model_provider: ANTHROPIC
284
- model_resource: claude-3-7-sonnet
287
+ model_resource: claude-3-7-sonnet-latest
285
288
  temperature: 1
286
289
  ellm_model:
287
290
  allow_short_responses: false
@@ -307,7 +310,7 @@ service:
307
310
  list-config-versions:
308
311
  path: /v0/evi/configs/{id}
309
312
  method: GET
310
- auth: false
313
+ auth: true
311
314
  docs: >-
312
315
  Fetches a list of a **Config's** versions.
313
316
 
@@ -315,6 +318,9 @@ service:
315
318
  For more details on configuration options and how to configure EVI, see
316
319
  our [configuration
317
320
  guide](/docs/empathic-voice-interface-evi/configuration).
321
+ pagination:
322
+ offset: $request.page_number
323
+ results: $response.configs_page
318
324
  source:
319
325
  openapi: evi-openapi.json
320
326
  path-parameters:
@@ -413,7 +419,7 @@ service:
413
419
  tightness: 5
414
420
  language_model:
415
421
  model_provider: ANTHROPIC
416
- model_resource: claude-3-7-sonnet
422
+ model_resource: claude-3-7-sonnet-latest
417
423
  temperature: 1
418
424
  ellm_model:
419
425
  allow_short_responses: false
@@ -439,7 +445,7 @@ service:
439
445
  create-config-version:
440
446
  path: /v0/evi/configs/{id}
441
447
  method: POST
442
- auth: false
448
+ auth: true
443
449
  docs: >-
444
450
  Updates a **Config** by creating a new version of the **Config**.
445
451
 
@@ -521,7 +527,7 @@ service:
521
527
  name: ITO
522
528
  language_model:
523
529
  model_provider: ANTHROPIC
524
- model_resource: claude-3-7-sonnet
530
+ model_resource: claude-3-7-sonnet-latest
525
531
  temperature: 1
526
532
  ellm_model:
527
533
  allow_short_responses: true
@@ -583,7 +589,7 @@ service:
583
589
  tightness: 5
584
590
  language_model:
585
591
  model_provider: ANTHROPIC
586
- model_resource: claude-3-7-sonnet
592
+ model_resource: claude-3-7-sonnet-latest
587
593
  temperature: 1
588
594
  ellm_model:
589
595
  allow_short_responses: true
@@ -609,7 +615,7 @@ service:
609
615
  delete-config:
610
616
  path: /v0/evi/configs/{id}
611
617
  method: DELETE
612
- auth: false
618
+ auth: true
613
619
  docs: >-
614
620
  Deletes a **Config** and its versions.
615
621
 
@@ -632,7 +638,7 @@ service:
632
638
  update-config-name:
633
639
  path: /v0/evi/configs/{id}
634
640
  method: PATCH
635
- auth: false
641
+ auth: true
636
642
  docs: >-
637
643
  Updates the name of a **Config**.
638
644
 
@@ -669,7 +675,7 @@ service:
669
675
  get-config-version:
670
676
  path: /v0/evi/configs/{id}/version/{version}
671
677
  method: GET
672
- auth: false
678
+ auth: true
673
679
  docs: >-
674
680
  Fetches a specified version of a **Config**.
675
681
 
@@ -757,7 +763,7 @@ service:
757
763
  tightness: 5
758
764
  language_model:
759
765
  model_provider: ANTHROPIC
760
- model_resource: claude-3-7-sonnet
766
+ model_resource: claude-3-7-sonnet-latest
761
767
  temperature: 1
762
768
  ellm_model:
763
769
  allow_short_responses: false
@@ -783,7 +789,7 @@ service:
783
789
  delete-config-version:
784
790
  path: /v0/evi/configs/{id}/version/{version}
785
791
  method: DELETE
786
- auth: false
792
+ auth: true
787
793
  docs: >-
788
794
  Deletes a specified version of a **Config**.
789
795
 
@@ -822,7 +828,7 @@ service:
822
828
  update-config-description:
823
829
  path: /v0/evi/configs/{id}/version/{version}
824
830
  method: PATCH
825
- auth: false
831
+ auth: true
826
832
  docs: >-
827
833
  Updates the description of a **Config**.
828
834
 
@@ -920,7 +926,7 @@ service:
920
926
  tightness: 5
921
927
  language_model:
922
928
  model_provider: ANTHROPIC
923
- model_resource: claude-3-7-sonnet
929
+ model_resource: claude-3-7-sonnet-latest
924
930
  temperature: 1
925
931
  ellm_model:
926
932
  allow_short_responses: false