hume 0.10.0 → 0.10.2

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 (108) hide show
  1. package/.mock/definition/empathic-voice/__package__.yml +151 -224
  2. package/.mock/definition/empathic-voice/chatGroups.yml +4 -4
  3. package/.mock/definition/empathic-voice/chats.yml +3 -3
  4. package/.mock/definition/empathic-voice/configs.yml +17 -17
  5. package/.mock/definition/empathic-voice/customVoices.yml +6 -6
  6. package/.mock/definition/empathic-voice/prompts.yml +9 -9
  7. package/.mock/definition/empathic-voice/tools.yml +9 -9
  8. package/.mock/definition/tts/__package__.yml +32 -3
  9. package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  10. package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  11. package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +2 -2
  12. package/api/resources/empathicVoice/resources/configs/client/Client.js +11 -11
  13. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
  14. package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +1 -1
  15. package/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  16. package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  17. package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  18. package/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.d.ts → LanguageModelType.d.ts} +3 -6
  19. package/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.js → LanguageModelType.js} +3 -3
  20. package/api/resources/empathicVoice/types/{PostedLanguageModelModelProvider.d.ts → ModelProviderEnum.d.ts} +2 -5
  21. package/{dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js → api/resources/empathicVoice/types/ModelProviderEnum.js} +2 -2
  22. package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -2
  23. package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -2
  24. package/api/resources/empathicVoice/types/index.d.ts +6 -8
  25. package/api/resources/empathicVoice/types/index.js +6 -8
  26. package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  27. package/api/resources/tts/client/Client.js +4 -4
  28. package/api/resources/tts/resources/voices/client/Client.js +3 -3
  29. package/api/resources/tts/types/PostedTts.d.ts +7 -0
  30. package/api/resources/tts/types/SnippetAudioChunk.d.ts +6 -2
  31. package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
  32. package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
  33. package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +2 -2
  34. package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +11 -11
  35. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
  36. package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +1 -1
  37. package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
  38. package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
  39. package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
  40. package/dist/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.d.ts → LanguageModelType.d.ts} +3 -6
  41. package/dist/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.js → LanguageModelType.js} +3 -3
  42. package/dist/api/resources/empathicVoice/types/{PostedLanguageModelModelProvider.d.ts → ModelProviderEnum.d.ts} +2 -5
  43. package/{api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js → dist/api/resources/empathicVoice/types/ModelProviderEnum.js} +2 -2
  44. package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -2
  45. package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -2
  46. package/dist/api/resources/empathicVoice/types/index.d.ts +6 -8
  47. package/dist/api/resources/empathicVoice/types/index.js +6 -8
  48. package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
  49. package/dist/api/resources/tts/client/Client.js +4 -4
  50. package/dist/api/resources/tts/resources/voices/client/Client.js +3 -3
  51. package/dist/api/resources/tts/types/PostedTts.d.ts +7 -0
  52. package/dist/api/resources/tts/types/SnippetAudioChunk.d.ts +6 -2
  53. package/dist/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +10 -0
  54. package/{serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js → dist/serialization/resources/empathicVoice/types/LanguageModelType.js} +3 -3
  55. package/dist/serialization/resources/empathicVoice/types/{PostedLanguageModelModelProvider.d.ts → ModelProviderEnum.d.ts} +2 -2
  56. package/dist/serialization/resources/empathicVoice/types/{ReturnLanguageModelModelProvider.js → ModelProviderEnum.js} +2 -2
  57. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +4 -4
  58. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +4 -4
  59. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +4 -4
  60. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +4 -4
  61. package/dist/serialization/resources/empathicVoice/types/index.d.ts +6 -8
  62. package/dist/serialization/resources/empathicVoice/types/index.js +6 -8
  63. package/dist/serialization/resources/tts/types/PostedTts.d.ts +1 -0
  64. package/dist/serialization/resources/tts/types/PostedTts.js +1 -0
  65. package/dist/serialization/resources/tts/types/SnippetAudioChunk.d.ts +2 -0
  66. package/dist/serialization/resources/tts/types/SnippetAudioChunk.js +2 -0
  67. package/dist/version.d.ts +1 -1
  68. package/dist/version.js +1 -1
  69. package/dist/wrapper/getAudioStream.d.ts +6 -1
  70. package/dist/wrapper/getAudioStream.js +5 -4
  71. package/package.json +1 -1
  72. package/reference.md +2 -2
  73. package/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +10 -0
  74. package/{dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js → serialization/resources/empathicVoice/types/LanguageModelType.js} +3 -3
  75. package/{dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts → serialization/resources/empathicVoice/types/ModelProviderEnum.d.ts} +2 -2
  76. package/{dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js → serialization/resources/empathicVoice/types/ModelProviderEnum.js} +2 -2
  77. package/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +4 -4
  78. package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +4 -4
  79. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +4 -4
  80. package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +4 -4
  81. package/serialization/resources/empathicVoice/types/index.d.ts +6 -8
  82. package/serialization/resources/empathicVoice/types/index.js +6 -8
  83. package/serialization/resources/tts/types/PostedTts.d.ts +1 -0
  84. package/serialization/resources/tts/types/PostedTts.js +1 -0
  85. package/serialization/resources/tts/types/SnippetAudioChunk.d.ts +2 -0
  86. package/serialization/resources/tts/types/SnippetAudioChunk.js +2 -0
  87. package/version.d.ts +1 -1
  88. package/version.js +1 -1
  89. package/wrapper/getAudioStream.d.ts +6 -1
  90. package/wrapper/getAudioStream.js +5 -4
  91. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -34
  92. package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -33
  93. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +0 -17
  94. package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +0 -16
  95. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -34
  96. package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -33
  97. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +0 -17
  98. package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +0 -16
  99. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -10
  100. package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -67
  101. package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +0 -10
  102. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +0 -10
  103. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +0 -50
  104. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -10
  105. package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -67
  106. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +0 -10
  107. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +0 -50
  108. package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +0 -10
@@ -1,50 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ReturnLanguageModelModelProvider = void 0;
40
- const core = __importStar(require("../../../../core"));
41
- exports.ReturnLanguageModelModelProvider = core.serialization.enum_([
42
- "GROQ",
43
- "OPEN_AI",
44
- "FIREWORKS",
45
- "ANTHROPIC",
46
- "CUSTOM_LANGUAGE_MODEL",
47
- "GOOGLE",
48
- "HUME_AI",
49
- "AMAZON_BEDROCK",
50
- ]);
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index";
5
- import * as Hume from "../../../../api/index";
6
- import * as core from "../../../../core";
7
- export declare const ReturnLanguageModelModelResource: core.serialization.Schema<serializers.empathicVoice.ReturnLanguageModelModelResource.Raw, Hume.empathicVoice.ReturnLanguageModelModelResource>;
8
- export declare namespace ReturnLanguageModelModelResource {
9
- type Raw = "claude-3-7-sonnet" | "claude-3-5-sonnet-latest" | "claude-3-5-haiku-latest" | "claude-3-5-sonnet-20240620" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "us.anthropic.claude-3-5-haiku-20241022-v1:0" | "us.anthropic.claude-3-5-sonnet-20240620-v1:0" | "us.anthropic.claude-3-haiku-20240307-v1:0" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.5-pro-002" | "gemini-1.5-flash-002" | "gemini-2.0-flash" | "gpt-4-turbo" | "gpt-4-turbo-preview" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo" | "gpt-4o" | "gpt-4o-mini" | "gemma-7b-it" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-70b-versatile" | "llama-3.3-70b-versatile" | "llama-3.1-8b-instant" | "accounts/fireworks/models/mixtral-8x7b-instruct" | "accounts/fireworks/models/llama-v3p1-405b-instruct" | "accounts/fireworks/models/llama-v3p1-70b-instruct" | "accounts/fireworks/models/llama-v3p1-8b-instruct" | "ellm" | "custom-language-model";
10
- }