hume 0.12.1 → 0.12.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 +169 -75
- package/.mock/definition/empathic-voice/configs.yml +10 -4
- package/.mock/definition/tts/__package__.yml +7 -38
- package/api/resources/empathicVoice/client/index.d.ts +1 -0
- package/api/resources/empathicVoice/client/index.js +15 -0
- package/api/resources/empathicVoice/client/requests/BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost.d.ts +12 -0
- package/api/resources/empathicVoice/client/requests/BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost.js +5 -0
- package/api/resources/empathicVoice/client/requests/index.d.ts +1 -0
- package/api/resources/empathicVoice/client/requests/index.js +2 -0
- package/api/resources/empathicVoice/errors/UnprocessableEntityError.d.ts +9 -0
- package/{core/form-data-utils/toReadableStream.js → api/resources/empathicVoice/errors/UnprocessableEntityError.js} +16 -14
- package/api/resources/empathicVoice/errors/index.d.ts +1 -0
- package/api/resources/empathicVoice/errors/index.js +1 -0
- package/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/chats/client/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/configs/client/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +5 -1
- package/api/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -0
- package/api/resources/empathicVoice/resources/tools/client/index.d.ts +1 -0
- package/api/resources/empathicVoice/types/LanguageModelType.d.ts +17 -1
- package/api/resources/empathicVoice/types/LanguageModelType.js +16 -0
- package/api/resources/empathicVoice/types/ModelProviderEnum.d.ts +4 -1
- package/api/resources/empathicVoice/types/ModelProviderEnum.js +3 -0
- package/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +12 -17
- package/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +0 -4
- package/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +22 -18
- package/api/resources/empathicVoice/types/ReturnChatEventType.js +9 -4
- package/api/resources/empathicVoice/types/ReturnConfig.d.ts +21 -17
- package/api/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -2
- package/api/resources/empathicVoice/types/SupportsToolUse.d.ts +7 -0
- package/api/resources/empathicVoice/types/SupportsToolUse.js +5 -0
- package/api/resources/empathicVoice/types/UserMessage.d.ts +8 -1
- package/api/resources/empathicVoice/types/index.d.ts +1 -0
- package/api/resources/empathicVoice/types/index.js +1 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +2 -4
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +1 -1
- package/api/resources/expressionMeasurement/resources/batch/client/index.d.ts +1 -0
- package/api/resources/tts/client/index.d.ts +1 -0
- package/api/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/api/resources/tts/types/PostedUtterance.d.ts +1 -1
- package/api/resources/tts/types/SnippetAudioChunk.d.ts +0 -16
- package/core/fetcher/BinaryResponse.d.ts +17 -0
- package/core/fetcher/BinaryResponse.js +14 -0
- package/core/fetcher/Fetcher.d.ts +1 -1
- package/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/core/fetcher/ResponseWithBody.js +6 -0
- package/core/fetcher/getFetchFn.js +3 -3
- package/core/fetcher/getResponseBody.js +33 -32
- package/core/fetcher/index.d.ts +1 -0
- package/core/file.d.ts +1 -0
- package/core/file.js +2 -0
- package/core/form-data-utils/FormDataWrapper.d.ts +5 -52
- package/core/form-data-utils/FormDataWrapper.js +104 -124
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/dist/api/resources/empathicVoice/client/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/client/index.js +15 -0
- package/dist/api/resources/empathicVoice/client/requests/BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost.d.ts +12 -0
- package/dist/api/resources/empathicVoice/client/requests/BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost.js +5 -0
- package/dist/api/resources/empathicVoice/client/requests/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/client/requests/index.js +2 -0
- package/dist/api/resources/empathicVoice/errors/UnprocessableEntityError.d.ts +9 -0
- package/dist/{core/form-data-utils/toReadableStream.js → api/resources/empathicVoice/errors/UnprocessableEntityError.js} +16 -14
- package/dist/api/resources/empathicVoice/errors/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/errors/index.js +1 -0
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/chats/client/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/configs/client/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +5 -1
- package/dist/api/resources/empathicVoice/resources/prompts/client/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/resources/tools/client/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/types/LanguageModelType.d.ts +17 -1
- package/dist/api/resources/empathicVoice/types/LanguageModelType.js +16 -0
- package/dist/api/resources/empathicVoice/types/ModelProviderEnum.d.ts +4 -1
- package/dist/api/resources/empathicVoice/types/ModelProviderEnum.js +3 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatEvent.d.ts +12 -17
- package/dist/api/resources/empathicVoice/types/ReturnChatEventRole.d.ts +0 -4
- package/dist/api/resources/empathicVoice/types/ReturnChatEventType.d.ts +22 -18
- package/dist/api/resources/empathicVoice/types/ReturnChatEventType.js +9 -4
- package/dist/api/resources/empathicVoice/types/ReturnConfig.d.ts +21 -17
- package/dist/api/resources/empathicVoice/types/ReturnPrompt.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/SupportsToolUse.d.ts +7 -0
- package/dist/api/resources/empathicVoice/types/SupportsToolUse.js +5 -0
- package/dist/api/resources/empathicVoice/types/UserMessage.d.ts +8 -1
- package/dist/api/resources/empathicVoice/types/index.d.ts +1 -0
- package/dist/api/resources/empathicVoice/types/index.js +1 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.d.ts +2 -4
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +1 -1
- package/dist/api/resources/expressionMeasurement/resources/batch/client/index.d.ts +1 -0
- package/dist/api/resources/tts/client/index.d.ts +1 -0
- package/dist/api/resources/tts/resources/voices/client/index.d.ts +1 -0
- package/dist/api/resources/tts/types/PostedUtterance.d.ts +1 -1
- package/dist/api/resources/tts/types/SnippetAudioChunk.d.ts +0 -16
- package/dist/core/fetcher/BinaryResponse.d.ts +17 -0
- package/dist/core/fetcher/BinaryResponse.js +14 -0
- package/dist/core/fetcher/Fetcher.d.ts +1 -1
- package/dist/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/core/fetcher/getFetchFn.js +3 -3
- package/dist/core/fetcher/getResponseBody.js +33 -32
- package/dist/core/fetcher/index.d.ts +1 -0
- package/dist/core/file.d.ts +1 -0
- package/dist/core/file.js +2 -0
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +5 -52
- package/dist/core/form-data-utils/FormDataWrapper.js +104 -124
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/serialization/resources/empathicVoice/client/index.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/client/index.js +17 -0
- package/dist/serialization/resources/empathicVoice/client/requests/BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost.d.ts +12 -0
- package/dist/serialization/resources/empathicVoice/client/requests/BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost.js +43 -0
- package/dist/serialization/resources/empathicVoice/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/client/requests/index.js +5 -0
- package/dist/serialization/resources/empathicVoice/index.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/index.js +1 -0
- package/dist/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/LanguageModelType.js +16 -0
- package/dist/serialization/resources/empathicVoice/types/ModelProviderEnum.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ModelProviderEnum.js +3 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnChatEventType.js +9 -4
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +13 -13
- package/dist/serialization/resources/empathicVoice/types/ReturnConfig.js +13 -13
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnPrompt.js +1 -1
- package/dist/serialization/resources/empathicVoice/types/SupportsToolUse.d.ts +13 -0
- package/dist/serialization/resources/empathicVoice/types/SupportsToolUse.js +44 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +1 -0
- package/dist/serialization/resources/empathicVoice/types/index.js +1 -0
- package/dist/serialization/resources/tts/types/SnippetAudioChunk.d.ts +0 -8
- package/dist/serialization/resources/tts/types/SnippetAudioChunk.js +1 -10
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/jest.browser.config.mjs +10 -0
- package/jest.config.mjs +1 -0
- package/package.json +6 -7
- package/reference.md +53 -1
- package/serialization/resources/empathicVoice/client/index.d.ts +1 -0
- package/serialization/resources/empathicVoice/client/index.js +17 -0
- package/serialization/resources/empathicVoice/client/requests/BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost.d.ts +12 -0
- package/serialization/resources/empathicVoice/client/requests/BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost.js +43 -0
- package/serialization/resources/empathicVoice/client/requests/index.d.ts +1 -0
- package/serialization/resources/empathicVoice/client/requests/index.js +5 -0
- package/serialization/resources/empathicVoice/index.d.ts +1 -0
- package/serialization/resources/empathicVoice/index.js +1 -0
- package/serialization/resources/empathicVoice/types/LanguageModelType.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/LanguageModelType.js +16 -0
- package/serialization/resources/empathicVoice/types/ModelProviderEnum.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ModelProviderEnum.js +3 -0
- package/serialization/resources/empathicVoice/types/ReturnChatEventType.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnChatEventType.js +9 -4
- package/serialization/resources/empathicVoice/types/ReturnConfig.d.ts +13 -13
- package/serialization/resources/empathicVoice/types/ReturnConfig.js +13 -13
- package/serialization/resources/empathicVoice/types/ReturnPrompt.d.ts +1 -1
- package/serialization/resources/empathicVoice/types/ReturnPrompt.js +1 -1
- package/serialization/resources/empathicVoice/types/SupportsToolUse.d.ts +13 -0
- package/serialization/resources/empathicVoice/types/SupportsToolUse.js +44 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +1 -0
- package/serialization/resources/empathicVoice/types/index.js +1 -0
- package/serialization/resources/tts/types/SnippetAudioChunk.d.ts +0 -8
- package/serialization/resources/tts/types/SnippetAudioChunk.js +1 -10
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/core/form-data-utils/toReadableStream.d.ts +0 -1
- package/dist/core/form-data-utils/toReadableStream.d.ts +0 -1
|
@@ -39,10 +39,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ReturnChatEventType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
exports.ReturnChatEventType = core.serialization.enum_([
|
|
42
|
-
"SYSTEM_PROMPT",
|
|
43
|
-
"USER_MESSAGE",
|
|
44
|
-
"USER_INTERRUPTION",
|
|
45
|
-
"AGENT_MESSAGE",
|
|
46
42
|
"FUNCTION_CALL",
|
|
47
43
|
"FUNCTION_CALL_RESPONSE",
|
|
44
|
+
"CHAT_END_MESSAGE",
|
|
45
|
+
"AGENT_MESSAGE",
|
|
46
|
+
"SYSTEM_PROMPT",
|
|
47
|
+
"USER_RECORDING_START_MESSAGE",
|
|
48
|
+
"RESUME_ONSET",
|
|
49
|
+
"USER_INTERRUPTION",
|
|
50
|
+
"CHAT_START_MESSAGE",
|
|
51
|
+
"PAUSE_ONSET",
|
|
52
|
+
"USER_MESSAGE",
|
|
48
53
|
]);
|
|
@@ -4,34 +4,34 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Hume from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { ReturnLanguageModel } from "./ReturnLanguageModel";
|
|
8
|
+
import { ReturnBuiltinTool } from "./ReturnBuiltinTool";
|
|
7
9
|
import { ReturnTimeoutSpecs } from "./ReturnTimeoutSpecs";
|
|
8
|
-
import {
|
|
10
|
+
import { ReturnEventMessageSpecs } from "./ReturnEventMessageSpecs";
|
|
9
11
|
import { ReturnEllmModel } from "./ReturnEllmModel";
|
|
12
|
+
import { ReturnWebhookSpec } from "./ReturnWebhookSpec";
|
|
13
|
+
import { ReturnNudgeSpec } from "./ReturnNudgeSpec";
|
|
10
14
|
import { ReturnPrompt } from "./ReturnPrompt";
|
|
11
15
|
import { ReturnUserDefinedTool } from "./ReturnUserDefinedTool";
|
|
12
|
-
import { ReturnWebhookSpec } from "./ReturnWebhookSpec";
|
|
13
|
-
import { ReturnLanguageModel } from "./ReturnLanguageModel";
|
|
14
|
-
import { ReturnBuiltinTool } from "./ReturnBuiltinTool";
|
|
15
|
-
import { ReturnEventMessageSpecs } from "./ReturnEventMessageSpecs";
|
|
16
16
|
export declare const ReturnConfig: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnConfig.Raw, Hume.empathicVoice.ReturnConfig>;
|
|
17
17
|
export declare namespace ReturnConfig {
|
|
18
18
|
interface Raw {
|
|
19
19
|
name?: string | null;
|
|
20
20
|
id?: string | null;
|
|
21
21
|
version?: number | null;
|
|
22
|
+
language_model?: ReturnLanguageModel.Raw | null;
|
|
23
|
+
builtin_tools?: (ReturnBuiltinTool.Raw | null | undefined)[] | null;
|
|
22
24
|
evi_version?: string | null;
|
|
23
25
|
timeouts?: ReturnTimeoutSpecs.Raw | null;
|
|
24
|
-
|
|
26
|
+
event_messages?: ReturnEventMessageSpecs.Raw | null;
|
|
25
27
|
ellm_model?: ReturnEllmModel.Raw | null;
|
|
26
|
-
voice?: unknown | null;
|
|
27
|
-
prompt?: ReturnPrompt.Raw | null;
|
|
28
|
-
tools?: (ReturnUserDefinedTool.Raw | null | undefined)[] | null;
|
|
29
28
|
webhooks?: (ReturnWebhookSpec.Raw | null | undefined)[] | null;
|
|
29
|
+
version_description?: string | null;
|
|
30
30
|
created_on?: number | null;
|
|
31
31
|
modified_on?: number | null;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
nudges?: ReturnNudgeSpec.Raw | null;
|
|
33
|
+
voice?: unknown | null;
|
|
34
|
+
prompt?: ReturnPrompt.Raw | null;
|
|
35
|
+
tools?: (ReturnUserDefinedTool.Raw | null | undefined)[] | null;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -38,31 +38,31 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ReturnConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const ReturnLanguageModel_1 = require("./ReturnLanguageModel");
|
|
42
|
+
const ReturnBuiltinTool_1 = require("./ReturnBuiltinTool");
|
|
41
43
|
const ReturnTimeoutSpecs_1 = require("./ReturnTimeoutSpecs");
|
|
42
|
-
const
|
|
44
|
+
const ReturnEventMessageSpecs_1 = require("./ReturnEventMessageSpecs");
|
|
43
45
|
const ReturnEllmModel_1 = require("./ReturnEllmModel");
|
|
46
|
+
const ReturnWebhookSpec_1 = require("./ReturnWebhookSpec");
|
|
47
|
+
const ReturnNudgeSpec_1 = require("./ReturnNudgeSpec");
|
|
44
48
|
const ReturnPrompt_1 = require("./ReturnPrompt");
|
|
45
49
|
const ReturnUserDefinedTool_1 = require("./ReturnUserDefinedTool");
|
|
46
|
-
const ReturnWebhookSpec_1 = require("./ReturnWebhookSpec");
|
|
47
|
-
const ReturnLanguageModel_1 = require("./ReturnLanguageModel");
|
|
48
|
-
const ReturnBuiltinTool_1 = require("./ReturnBuiltinTool");
|
|
49
|
-
const ReturnEventMessageSpecs_1 = require("./ReturnEventMessageSpecs");
|
|
50
50
|
exports.ReturnConfig = core.serialization.object({
|
|
51
51
|
name: core.serialization.string().optional(),
|
|
52
52
|
id: core.serialization.string().optional(),
|
|
53
53
|
version: core.serialization.number().optional(),
|
|
54
|
+
languageModel: core.serialization.property("language_model", ReturnLanguageModel_1.ReturnLanguageModel.optional()),
|
|
55
|
+
builtinTools: core.serialization.property("builtin_tools", core.serialization.list(ReturnBuiltinTool_1.ReturnBuiltinTool.optional()).optional()),
|
|
54
56
|
eviVersion: core.serialization.property("evi_version", core.serialization.string().optional()),
|
|
55
57
|
timeouts: ReturnTimeoutSpecs_1.ReturnTimeoutSpecs.optional(),
|
|
56
|
-
|
|
58
|
+
eventMessages: core.serialization.property("event_messages", ReturnEventMessageSpecs_1.ReturnEventMessageSpecs.optional()),
|
|
57
59
|
ellmModel: core.serialization.property("ellm_model", ReturnEllmModel_1.ReturnEllmModel.optional()),
|
|
58
|
-
voice: core.serialization.unknown().optional(),
|
|
59
|
-
prompt: ReturnPrompt_1.ReturnPrompt.optional(),
|
|
60
|
-
tools: core.serialization.list(ReturnUserDefinedTool_1.ReturnUserDefinedTool.optional()).optional(),
|
|
61
60
|
webhooks: core.serialization.list(ReturnWebhookSpec_1.ReturnWebhookSpec.optional()).optional(),
|
|
61
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
62
62
|
createdOn: core.serialization.property("created_on", core.serialization.number().optional()),
|
|
63
63
|
modifiedOn: core.serialization.property("modified_on", core.serialization.number().optional()),
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
nudges: ReturnNudgeSpec_1.ReturnNudgeSpec.optional(),
|
|
65
|
+
voice: core.serialization.unknown().optional(),
|
|
66
|
+
prompt: ReturnPrompt_1.ReturnPrompt.optional(),
|
|
67
|
+
tools: core.serialization.list(ReturnUserDefinedTool_1.ReturnUserDefinedTool.optional()).optional(),
|
|
68
68
|
});
|
|
@@ -13,8 +13,8 @@ export declare namespace ReturnPrompt {
|
|
|
13
13
|
text: string;
|
|
14
14
|
version: number;
|
|
15
15
|
version_type: ReturnPromptVersionType.Raw;
|
|
16
|
+
version_description?: string | null;
|
|
16
17
|
created_on: number;
|
|
17
18
|
modified_on: number;
|
|
18
|
-
version_description?: string | null;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -45,7 +45,7 @@ exports.ReturnPrompt = core.serialization.object({
|
|
|
45
45
|
text: core.serialization.string(),
|
|
46
46
|
version: core.serialization.number(),
|
|
47
47
|
versionType: core.serialization.property("version_type", ReturnPromptVersionType_1.ReturnPromptVersionType),
|
|
48
|
+
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
48
49
|
createdOn: core.serialization.property("created_on", core.serialization.number()),
|
|
49
50
|
modifiedOn: core.serialization.property("modified_on", core.serialization.number()),
|
|
50
|
-
versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
|
|
51
51
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 SupportsToolUse: core.serialization.ObjectSchema<serializers.empathicVoice.SupportsToolUse.Raw, Hume.empathicVoice.SupportsToolUse>;
|
|
8
|
+
export declare namespace SupportsToolUse {
|
|
9
|
+
interface Raw {
|
|
10
|
+
model_resource: string;
|
|
11
|
+
supports_tool_use: boolean;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.SupportsToolUse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.SupportsToolUse = core.serialization.object({
|
|
42
|
+
modelResource: core.serialization.property("model_resource", core.serialization.string()),
|
|
43
|
+
supportsToolUse: core.serialization.property("supports_tool_use", core.serialization.boolean()),
|
|
44
|
+
});
|
|
@@ -36,6 +36,7 @@ export * from "./JsonMessage";
|
|
|
36
36
|
export * from "./HttpValidationError";
|
|
37
37
|
export * from "./LanguageModelType";
|
|
38
38
|
export * from "./ModelProviderEnum";
|
|
39
|
+
export * from "./SupportsToolUse";
|
|
39
40
|
export * from "./ValidationErrorLocItem";
|
|
40
41
|
export * from "./ValidationError";
|
|
41
42
|
export * from "./WebhookEventBase";
|
|
@@ -52,6 +52,7 @@ __exportStar(require("./JsonMessage"), exports);
|
|
|
52
52
|
__exportStar(require("./HttpValidationError"), exports);
|
|
53
53
|
__exportStar(require("./LanguageModelType"), exports);
|
|
54
54
|
__exportStar(require("./ModelProviderEnum"), exports);
|
|
55
|
+
__exportStar(require("./SupportsToolUse"), exports);
|
|
55
56
|
__exportStar(require("./ValidationErrorLocItem"), exports);
|
|
56
57
|
__exportStar(require("./ValidationError"), exports);
|
|
57
58
|
__exportStar(require("./WebhookEventBase"), exports);
|
|
@@ -7,13 +7,5 @@ import * as core from "../../../../core";
|
|
|
7
7
|
export declare const SnippetAudioChunk: core.serialization.ObjectSchema<serializers.tts.SnippetAudioChunk.Raw, Hume.tts.SnippetAudioChunk>;
|
|
8
8
|
export declare namespace SnippetAudioChunk {
|
|
9
9
|
interface Raw {
|
|
10
|
-
audio: string;
|
|
11
|
-
chunk_index: number;
|
|
12
|
-
generation_id: string;
|
|
13
|
-
is_last_chunk: boolean;
|
|
14
|
-
snippet_id: string;
|
|
15
|
-
text: string;
|
|
16
|
-
transcribed_text?: string | null;
|
|
17
|
-
utterance_index?: number | null;
|
|
18
10
|
}
|
|
19
11
|
}
|
|
@@ -38,13 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.SnippetAudioChunk = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.SnippetAudioChunk = core.serialization.object({
|
|
42
|
-
audio: core.serialization.string(),
|
|
43
|
-
chunkIndex: core.serialization.property("chunk_index", core.serialization.number()),
|
|
44
|
-
generationId: core.serialization.property("generation_id", core.serialization.string()),
|
|
45
|
-
isLastChunk: core.serialization.property("is_last_chunk", core.serialization.boolean()),
|
|
46
|
-
snippetId: core.serialization.property("snippet_id", core.serialization.string()),
|
|
47
|
-
text: core.serialization.string(),
|
|
48
|
-
transcribedText: core.serialization.property("transcribed_text", core.serialization.string().optional()),
|
|
49
|
-
utteranceIndex: core.serialization.property("utterance_index", core.serialization.number().optional()),
|
|
50
|
-
});
|
|
41
|
+
exports.SnippetAudioChunk = core.serialization.object({});
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.12.
|
|
1
|
+
export declare const SDK_VERSION = "0.12.2";
|
package/dist/version.js
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** @type {import('jest').Config} */
|
|
2
|
+
export default {
|
|
3
|
+
preset: "ts-jest",
|
|
4
|
+
testEnvironment: "<rootDir>/tests/BrowserTestEnvironment.ts",
|
|
5
|
+
testMatch: ["**/tests/**/*.browser.test.ts"],
|
|
6
|
+
moduleNameMapper: {
|
|
7
|
+
"^(\\.{1,2}/.*)\\.js$": "$1",
|
|
8
|
+
},
|
|
9
|
+
passWithNoTests: true,
|
|
10
|
+
};
|
package/jest.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hume",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "https://github.com/HumeAI/hume-typescript-sdk",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -9,18 +9,16 @@
|
|
|
9
9
|
"format": "prettier . --write --ignore-unknown",
|
|
10
10
|
"build": "tsc",
|
|
11
11
|
"prepack": "cp -rv dist/. .",
|
|
12
|
-
"test": "jest tests/unit
|
|
13
|
-
"test:
|
|
12
|
+
"test": "jest tests/unit",
|
|
13
|
+
"test:browser": "jest --config jest.browser.config.mjs",
|
|
14
|
+
"test:wire": "jest tests/wire",
|
|
14
15
|
"wire:test": "yarn test:wire"
|
|
15
16
|
},
|
|
16
17
|
"dependencies": {
|
|
17
18
|
"url-join": "4.0.1",
|
|
18
|
-
"form-data": "^4.0.0",
|
|
19
|
-
"formdata-node": "^6.0.3",
|
|
20
19
|
"node-fetch": "^2.7.0",
|
|
21
20
|
"qs": "^6.13.1",
|
|
22
21
|
"readable-stream": "^4.5.2",
|
|
23
|
-
"form-data-encoder": "^4.0.2",
|
|
24
22
|
"ws": "^8.14.2",
|
|
25
23
|
"uuid": "9.0.1",
|
|
26
24
|
"zod": "^3.23.8"
|
|
@@ -47,7 +45,8 @@
|
|
|
47
45
|
"browser": {
|
|
48
46
|
"fs": false,
|
|
49
47
|
"os": false,
|
|
50
|
-
"path": false
|
|
48
|
+
"path": false,
|
|
49
|
+
"stream": false
|
|
51
50
|
},
|
|
52
51
|
"packageManager": "yarn@1.22.22"
|
|
53
52
|
}
|
package/reference.md
CHANGED
|
@@ -532,6 +532,58 @@ await client.tts.voices.delete({
|
|
|
532
532
|
</dl>
|
|
533
533
|
</details>
|
|
534
534
|
|
|
535
|
+
## EmpathicVoice
|
|
536
|
+
|
|
537
|
+
<details><summary><code>client.empathicVoice.<a href="/src/api/resources/empathicVoice/client/Client.ts">customLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost</a>({ ...params }) -> Hume.SupportsToolUse</code></summary>
|
|
538
|
+
<dl>
|
|
539
|
+
<dd>
|
|
540
|
+
|
|
541
|
+
#### 🔌 Usage
|
|
542
|
+
|
|
543
|
+
<dl>
|
|
544
|
+
<dd>
|
|
545
|
+
|
|
546
|
+
<dl>
|
|
547
|
+
<dd>
|
|
548
|
+
|
|
549
|
+
```typescript
|
|
550
|
+
await client.empathicVoice.customLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost({
|
|
551
|
+
modelResource: "model_resource",
|
|
552
|
+
});
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
</dd>
|
|
556
|
+
</dl>
|
|
557
|
+
</dd>
|
|
558
|
+
</dl>
|
|
559
|
+
|
|
560
|
+
#### ⚙️ Parameters
|
|
561
|
+
|
|
562
|
+
<dl>
|
|
563
|
+
<dd>
|
|
564
|
+
|
|
565
|
+
<dl>
|
|
566
|
+
<dd>
|
|
567
|
+
|
|
568
|
+
**request:** `Hume.empathicVoice.BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost`
|
|
569
|
+
|
|
570
|
+
</dd>
|
|
571
|
+
</dl>
|
|
572
|
+
|
|
573
|
+
<dl>
|
|
574
|
+
<dd>
|
|
575
|
+
|
|
576
|
+
**requestOptions:** `EmpathicVoice.RequestOptions`
|
|
577
|
+
|
|
578
|
+
</dd>
|
|
579
|
+
</dl>
|
|
580
|
+
</dd>
|
|
581
|
+
</dl>
|
|
582
|
+
|
|
583
|
+
</dd>
|
|
584
|
+
</dl>
|
|
585
|
+
</details>
|
|
586
|
+
|
|
535
587
|
## EmpathicVoice Tools
|
|
536
588
|
|
|
537
589
|
<details><summary><code>client.empathicVoice.tools.<a href="/src/api/resources/empathicVoice/resources/tools/client/Client.ts">listTools</a>({ ...params }) -> core.Page<Hume.ReturnUserDefinedTool | undefined></code></summary>
|
|
@@ -3532,7 +3584,7 @@ await client.expressionMeasurement.batch.startInferenceJobFromLocalFile(
|
|
|
3532
3584
|
<dl>
|
|
3533
3585
|
<dd>
|
|
3534
3586
|
|
|
3535
|
-
**file:** `
|
|
3587
|
+
**file:** `core.FileLike[]`
|
|
3536
3588
|
|
|
3537
3589
|
</dd>
|
|
3538
3590
|
</dl>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
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 BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost: core.serialization.Schema<serializers.empathicVoice.BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost.Raw, Hume.empathicVoice.BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost>;
|
|
8
|
+
export declare namespace BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost {
|
|
9
|
+
interface Raw {
|
|
10
|
+
model_resource: string;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost = core.serialization.object({
|
|
42
|
+
modelResource: core.serialization.property("model_resource", core.serialization.string()),
|
|
43
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost } from "./BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost = void 0;
|
|
4
|
+
var BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost_1 = require("./BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost");
|
|
5
|
+
Object.defineProperty(exports, "BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost", { enumerable: true, get: function () { return BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost_1.BodyCustomLanguageModelSupportsToolUseV0EviCustomLanguageModelSupportsToolUsePost; } });
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./resources"), exports);
|
|
18
18
|
__exportStar(require("./types"), exports);
|
|
19
|
+
__exportStar(require("./client"), exports);
|
|
@@ -6,5 +6,5 @@ import * as Hume from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const LanguageModelType: core.serialization.Schema<serializers.empathicVoice.LanguageModelType.Raw, Hume.empathicVoice.LanguageModelType>;
|
|
8
8
|
export declare namespace LanguageModelType {
|
|
9
|
-
type Raw = "claude-3-7-sonnet-latest" | "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";
|
|
9
|
+
type Raw = "claude-3-7-sonnet-latest" | "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" | "claude-sonnet-4-20250514" | "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" | "gpt-oss-120b" | "qwen-3-235b-a22b" | "qwen-3-235b-a22b-instruct-2507" | "qwen-3-235b-a22b-thinking-2507" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.5-pro-002" | "gemini-1.5-flash-002" | "gemini-2.0-flash" | "gemini-2.5-flash" | "gemini-2.5-flash-preview-04-17" | "gpt-4-turbo" | "gpt-4-turbo-preview" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo" | "gpt-4o" | "gpt-4o-mini" | "gpt-4.1" | "gemma-7b-it" | "llama3-8b-8192" | "llama3-70b-8192" | "llama-3.1-70b-versatile" | "llama-3.3-70b-versatile" | "llama-3.1-8b-instant" | "moonshotai/kimi-k2-instruct" | "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" | "sonar" | "sonar-pro" | "sambanova" | "DeepSeek-R1-Distill-Llama-70B" | "Llama-4-Maverick-17B-128E-Instruct" | "Qwen3-32B" | "ellm" | "custom-language-model" | "hume-evi-3-web-search";
|
|
10
10
|
}
|
|
@@ -46,30 +46,46 @@ exports.LanguageModelType = core.serialization.enum_([
|
|
|
46
46
|
"claude-3-opus-20240229",
|
|
47
47
|
"claude-3-sonnet-20240229",
|
|
48
48
|
"claude-3-haiku-20240307",
|
|
49
|
+
"claude-sonnet-4-20250514",
|
|
49
50
|
"us.anthropic.claude-3-5-haiku-20241022-v1:0",
|
|
50
51
|
"us.anthropic.claude-3-5-sonnet-20240620-v1:0",
|
|
51
52
|
"us.anthropic.claude-3-haiku-20240307-v1:0",
|
|
53
|
+
"gpt-oss-120b",
|
|
54
|
+
"qwen-3-235b-a22b",
|
|
55
|
+
"qwen-3-235b-a22b-instruct-2507",
|
|
56
|
+
"qwen-3-235b-a22b-thinking-2507",
|
|
52
57
|
"gemini-1.5-pro",
|
|
53
58
|
"gemini-1.5-flash",
|
|
54
59
|
"gemini-1.5-pro-002",
|
|
55
60
|
"gemini-1.5-flash-002",
|
|
56
61
|
"gemini-2.0-flash",
|
|
62
|
+
"gemini-2.5-flash",
|
|
63
|
+
"gemini-2.5-flash-preview-04-17",
|
|
57
64
|
"gpt-4-turbo",
|
|
58
65
|
"gpt-4-turbo-preview",
|
|
59
66
|
"gpt-3.5-turbo-0125",
|
|
60
67
|
"gpt-3.5-turbo",
|
|
61
68
|
"gpt-4o",
|
|
62
69
|
"gpt-4o-mini",
|
|
70
|
+
"gpt-4.1",
|
|
63
71
|
"gemma-7b-it",
|
|
64
72
|
"llama3-8b-8192",
|
|
65
73
|
"llama3-70b-8192",
|
|
66
74
|
"llama-3.1-70b-versatile",
|
|
67
75
|
"llama-3.3-70b-versatile",
|
|
68
76
|
"llama-3.1-8b-instant",
|
|
77
|
+
"moonshotai/kimi-k2-instruct",
|
|
69
78
|
"accounts/fireworks/models/mixtral-8x7b-instruct",
|
|
70
79
|
"accounts/fireworks/models/llama-v3p1-405b-instruct",
|
|
71
80
|
"accounts/fireworks/models/llama-v3p1-70b-instruct",
|
|
72
81
|
"accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
82
|
+
"sonar",
|
|
83
|
+
"sonar-pro",
|
|
84
|
+
"sambanova",
|
|
85
|
+
"DeepSeek-R1-Distill-Llama-70B",
|
|
86
|
+
"Llama-4-Maverick-17B-128E-Instruct",
|
|
87
|
+
"Qwen3-32B",
|
|
73
88
|
"ellm",
|
|
74
89
|
"custom-language-model",
|
|
90
|
+
"hume-evi-3-web-search",
|
|
75
91
|
]);
|
|
@@ -6,5 +6,5 @@ import * as Hume from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const ModelProviderEnum: core.serialization.Schema<serializers.empathicVoice.ModelProviderEnum.Raw, Hume.empathicVoice.ModelProviderEnum>;
|
|
8
8
|
export declare namespace ModelProviderEnum {
|
|
9
|
-
type Raw = "GROQ" | "OPEN_AI" | "FIREWORKS" | "ANTHROPIC" | "CUSTOM_LANGUAGE_MODEL" | "GOOGLE" | "HUME_AI" | "AMAZON_BEDROCK";
|
|
9
|
+
type Raw = "GROQ" | "OPEN_AI" | "FIREWORKS" | "ANTHROPIC" | "CUSTOM_LANGUAGE_MODEL" | "GOOGLE" | "HUME_AI" | "AMAZON_BEDROCK" | "PERPLEXITY" | "SAMBANOVA" | "CEREBRAS";
|
|
10
10
|
}
|
|
@@ -6,5 +6,5 @@ import * as Hume from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const ReturnChatEventType: core.serialization.Schema<serializers.empathicVoice.ReturnChatEventType.Raw, Hume.empathicVoice.ReturnChatEventType>;
|
|
8
8
|
export declare namespace ReturnChatEventType {
|
|
9
|
-
type Raw = "SYSTEM_PROMPT" | "
|
|
9
|
+
type Raw = "FUNCTION_CALL" | "FUNCTION_CALL_RESPONSE" | "CHAT_END_MESSAGE" | "AGENT_MESSAGE" | "SYSTEM_PROMPT" | "USER_RECORDING_START_MESSAGE" | "RESUME_ONSET" | "USER_INTERRUPTION" | "CHAT_START_MESSAGE" | "PAUSE_ONSET" | "USER_MESSAGE";
|
|
10
10
|
}
|
|
@@ -39,10 +39,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ReturnChatEventType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
exports.ReturnChatEventType = core.serialization.enum_([
|
|
42
|
-
"SYSTEM_PROMPT",
|
|
43
|
-
"USER_MESSAGE",
|
|
44
|
-
"USER_INTERRUPTION",
|
|
45
|
-
"AGENT_MESSAGE",
|
|
46
42
|
"FUNCTION_CALL",
|
|
47
43
|
"FUNCTION_CALL_RESPONSE",
|
|
44
|
+
"CHAT_END_MESSAGE",
|
|
45
|
+
"AGENT_MESSAGE",
|
|
46
|
+
"SYSTEM_PROMPT",
|
|
47
|
+
"USER_RECORDING_START_MESSAGE",
|
|
48
|
+
"RESUME_ONSET",
|
|
49
|
+
"USER_INTERRUPTION",
|
|
50
|
+
"CHAT_START_MESSAGE",
|
|
51
|
+
"PAUSE_ONSET",
|
|
52
|
+
"USER_MESSAGE",
|
|
48
53
|
]);
|