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.
- package/.mock/definition/empathic-voice/__package__.yml +151 -224
- package/.mock/definition/empathic-voice/chatGroups.yml +4 -4
- package/.mock/definition/empathic-voice/chats.yml +3 -3
- package/.mock/definition/empathic-voice/configs.yml +17 -17
- package/.mock/definition/empathic-voice/customVoices.yml +6 -6
- package/.mock/definition/empathic-voice/prompts.yml +9 -9
- package/.mock/definition/empathic-voice/tools.yml +9 -9
- package/.mock/definition/tts/__package__.yml +32 -3
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +2 -2
- package/api/resources/empathicVoice/resources/configs/client/Client.js +11 -11
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +1 -1
- package/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
- package/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.d.ts → LanguageModelType.d.ts} +3 -6
- package/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.js → LanguageModelType.js} +3 -3
- package/api/resources/empathicVoice/types/{PostedLanguageModelModelProvider.d.ts → ModelProviderEnum.d.ts} +2 -5
- package/{dist/api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js → api/resources/empathicVoice/types/ModelProviderEnum.js} +2 -2
- package/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -2
- package/api/resources/empathicVoice/types/index.d.ts +6 -8
- package/api/resources/empathicVoice/types/index.js +6 -8
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/api/resources/tts/client/Client.js +4 -4
- package/api/resources/tts/resources/voices/client/Client.js +3 -3
- package/api/resources/tts/types/PostedTts.d.ts +7 -0
- package/api/resources/tts/types/SnippetAudioChunk.d.ts +6 -2
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +4 -4
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +3 -3
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +11 -11
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +1 -1
- package/dist/api/resources/empathicVoice/resources/customVoices/client/Client.js +6 -6
- package/dist/api/resources/empathicVoice/resources/prompts/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/resources/tools/client/Client.js +9 -9
- package/dist/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.d.ts → LanguageModelType.d.ts} +3 -6
- package/dist/api/resources/empathicVoice/types/{ReturnLanguageModelModelResource.js → LanguageModelType.js} +3 -3
- package/dist/api/resources/empathicVoice/types/{PostedLanguageModelModelProvider.d.ts → ModelProviderEnum.d.ts} +2 -5
- package/{api/resources/empathicVoice/types/PostedLanguageModelModelProvider.js → dist/api/resources/empathicVoice/types/ModelProviderEnum.js} +2 -2
- package/dist/api/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/index.d.ts +6 -8
- package/dist/api/resources/empathicVoice/types/index.js +6 -8
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/tts/client/Client.js +4 -4
- package/dist/api/resources/tts/resources/voices/client/Client.js +3 -3
- package/dist/api/resources/tts/types/PostedTts.d.ts +7 -0
- package/dist/api/resources/tts/types/SnippetAudioChunk.d.ts +6 -2
- package/dist/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +10 -0
- package/{serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js → dist/serialization/resources/empathicVoice/types/LanguageModelType.js} +3 -3
- package/dist/serialization/resources/empathicVoice/types/{PostedLanguageModelModelProvider.d.ts → ModelProviderEnum.d.ts} +2 -2
- package/dist/serialization/resources/empathicVoice/types/{ReturnLanguageModelModelProvider.js → ModelProviderEnum.js} +2 -2
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +4 -4
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +4 -4
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +4 -4
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +4 -4
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +6 -8
- package/dist/serialization/resources/empathicVoice/types/index.js +6 -8
- package/dist/serialization/resources/tts/types/PostedTts.d.ts +1 -0
- package/dist/serialization/resources/tts/types/PostedTts.js +1 -0
- package/dist/serialization/resources/tts/types/SnippetAudioChunk.d.ts +2 -0
- package/dist/serialization/resources/tts/types/SnippetAudioChunk.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/getAudioStream.d.ts +6 -1
- package/dist/wrapper/getAudioStream.js +5 -4
- package/package.json +1 -1
- package/reference.md +2 -2
- package/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +10 -0
- package/{dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js → serialization/resources/empathicVoice/types/LanguageModelType.js} +3 -3
- package/{dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts → serialization/resources/empathicVoice/types/ModelProviderEnum.d.ts} +2 -2
- package/{dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js → serialization/resources/empathicVoice/types/ModelProviderEnum.js} +2 -2
- package/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +4 -4
- package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +4 -4
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +4 -4
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +4 -4
- package/serialization/resources/empathicVoice/types/index.d.ts +6 -8
- package/serialization/resources/empathicVoice/types/index.js +6 -8
- package/serialization/resources/tts/types/PostedTts.d.ts +1 -0
- package/serialization/resources/tts/types/PostedTts.js +1 -0
- package/serialization/resources/tts/types/SnippetAudioChunk.d.ts +2 -0
- package/serialization/resources/tts/types/SnippetAudioChunk.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/getAudioStream.d.ts +6 -1
- package/wrapper/getAudioStream.js +5 -4
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -34
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -33
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +0 -17
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +0 -16
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -34
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -33
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +0 -17
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +0 -16
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -10
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -67
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +0 -10
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.d.ts +0 -10
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelProvider.js +0 -50
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +0 -10
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +0 -67
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.d.ts +0 -10
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelProvider.js +0 -50
- 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
|
-
}
|