hume 0.9.3 → 0.9.4
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 +287 -14
- package/.mock/definition/empathic-voice/chatGroups.yml +25 -23
- package/.mock/definition/empathic-voice/chats.yml +14 -24
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +8 -2
- package/api/resources/empathicVoice/resources/chatGroups/client/Client.js +12 -6
- package/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +5 -1
- package/api/resources/empathicVoice/resources/chats/client/Client.d.ts +4 -2
- package/api/resources/empathicVoice/resources/chats/client/Client.js +7 -5
- package/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
- package/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
- package/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
- 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/PostedLanguageModel.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
- package/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
- package/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/api/resources/empathicVoice/types/PostedVoice.d.ts +2 -2
- package/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
- package/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +5 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
- package/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +5 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
- package/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
- package/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
- package/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
- package/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnVoice.d.ts +2 -2
- package/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
- package/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
- package/api/resources/empathicVoice/types/index.d.ts +8 -0
- package/api/resources/empathicVoice/types/index.js +8 -0
- package/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.d.ts +8 -2
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/Client.js +12 -6
- package/dist/api/resources/empathicVoice/resources/chatGroups/client/requests/ChatGroupsGetAudioRequest.d.ts +5 -1
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.d.ts +4 -2
- package/dist/api/resources/empathicVoice/resources/chats/client/Client.js +7 -5
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.d.ts +4 -4
- package/dist/api/resources/empathicVoice/resources/configs/client/Client.js +13 -13
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfig.d.ts +2 -2
- package/dist/api/resources/empathicVoice/resources/configs/client/requests/PostedConfigVersion.d.ts +2 -2
- 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/PostedLanguageModel.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +35 -0
- package/dist/api/resources/empathicVoice/types/PostedLanguageModelModelResource.js +34 -0
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecs.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsInactivity.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedTimeoutSpecsMaxDuration.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/PostedVoice.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/PostedVoiceProvider.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +35 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +24 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +37 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +5 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +13 -0
- package/dist/api/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +10 -0
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModel.d.ts +1 -1
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +35 -0
- package/dist/api/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +34 -0
- package/dist/api/resources/empathicVoice/types/ReturnTimeoutSpecs.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnVoice.d.ts +2 -2
- package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +11 -0
- package/dist/api/resources/empathicVoice/types/ReturnVoiceProvider.js +10 -0
- package/dist/api/resources/empathicVoice/types/index.d.ts +8 -0
- package/dist/api/resources/empathicVoice/types/index.js +8 -0
- package/dist/api/resources/expressionMeasurement/resources/batch/client/Client.js +6 -6
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
- package/dist/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +31 -0
- package/dist/serialization/resources/empathicVoice/types/index.d.ts +8 -0
- package/dist/serialization/resources/empathicVoice/types/index.js +8 -0
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +569 -535
- package/serialization/resources/empathicVoice/types/PostedLanguageModel.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/PostedLanguageModel.js +2 -1
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/PostedLanguageModelModelResource.js +58 -0
- package/serialization/resources/empathicVoice/types/PostedVoice.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/PostedVoice.js +2 -1
- package/serialization/resources/empathicVoice/types/PostedVoiceProvider.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/PostedVoiceProvider.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.d.ts +19 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstruction.js +40 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatAudioReconstructionStatus.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts +21 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js +42 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructionsPaginationDirection.js +31 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModel.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnLanguageModelModelResource.js +58 -0
- package/serialization/resources/empathicVoice/types/ReturnVoice.d.ts +2 -1
- package/serialization/resources/empathicVoice/types/ReturnVoice.js +2 -1
- package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.d.ts +10 -0
- package/serialization/resources/empathicVoice/types/ReturnVoiceProvider.js +31 -0
- package/serialization/resources/empathicVoice/types/index.d.ts +8 -0
- package/serialization/resources/empathicVoice/types/index.js +8 -0
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -5,11 +5,12 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as Hume from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { PostedLanguageModelModelProvider } from "./PostedLanguageModelModelProvider";
|
|
8
|
+
import { PostedLanguageModelModelResource } from "./PostedLanguageModelModelResource";
|
|
8
9
|
export declare const PostedLanguageModel: core.serialization.ObjectSchema<serializers.empathicVoice.PostedLanguageModel.Raw, Hume.empathicVoice.PostedLanguageModel>;
|
|
9
10
|
export declare namespace PostedLanguageModel {
|
|
10
11
|
interface Raw {
|
|
11
12
|
model_provider?: PostedLanguageModelModelProvider.Raw | null;
|
|
12
|
-
model_resource?:
|
|
13
|
+
model_resource?: PostedLanguageModelModelResource.Raw | null;
|
|
13
14
|
temperature?: number | null;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
@@ -29,8 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.PostedLanguageModel = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
const PostedLanguageModelModelProvider_1 = require("./PostedLanguageModelModelProvider");
|
|
32
|
+
const PostedLanguageModelModelResource_1 = require("./PostedLanguageModelModelResource");
|
|
32
33
|
exports.PostedLanguageModel = core.serialization.object({
|
|
33
34
|
modelProvider: core.serialization.property("model_provider", PostedLanguageModelModelProvider_1.PostedLanguageModelModelProvider.optional()),
|
|
34
|
-
modelResource: core.serialization.property("model_resource",
|
|
35
|
+
modelResource: core.serialization.property("model_resource", PostedLanguageModelModelResource_1.PostedLanguageModelModelResource.optional()),
|
|
35
36
|
temperature: core.serialization.number().optional(),
|
|
36
37
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 PostedLanguageModelModelResource: core.serialization.Schema<serializers.empathicVoice.PostedLanguageModelModelResource.Raw, Hume.empathicVoice.PostedLanguageModelModelResource>;
|
|
8
|
+
export declare namespace PostedLanguageModelModelResource {
|
|
9
|
+
type Raw = "claude-3-5-sonnet-latest" | "claude-3-5-sonnet-20240620" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-2.1" | "claude-instant-1.2" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.5-pro-002" | "gemini-1.5-flash-002" | "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.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";
|
|
10
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedLanguageModelModelResource = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.PostedLanguageModelModelResource = core.serialization.enum_([
|
|
32
|
+
"claude-3-5-sonnet-latest",
|
|
33
|
+
"claude-3-5-sonnet-20240620",
|
|
34
|
+
"claude-3-opus-20240229",
|
|
35
|
+
"claude-3-sonnet-20240229",
|
|
36
|
+
"claude-3-haiku-20240307",
|
|
37
|
+
"claude-2.1",
|
|
38
|
+
"claude-instant-1.2",
|
|
39
|
+
"gemini-1.5-pro",
|
|
40
|
+
"gemini-1.5-flash",
|
|
41
|
+
"gemini-1.5-pro-002",
|
|
42
|
+
"gemini-1.5-flash-002",
|
|
43
|
+
"gpt-4-turbo-preview",
|
|
44
|
+
"gpt-3.5-turbo-0125",
|
|
45
|
+
"gpt-3.5-turbo",
|
|
46
|
+
"gpt-4o",
|
|
47
|
+
"gpt-4o-mini",
|
|
48
|
+
"gemma-7b-it",
|
|
49
|
+
"llama3-8b-8192",
|
|
50
|
+
"llama3-70b-8192",
|
|
51
|
+
"llama-3.1-70b-versatile",
|
|
52
|
+
"llama-3.1-8b-instant",
|
|
53
|
+
"accounts/fireworks/models/mixtral-8x7b-instruct",
|
|
54
|
+
"accounts/fireworks/models/llama-v3p1-405b-instruct",
|
|
55
|
+
"accounts/fireworks/models/llama-v3p1-70b-instruct",
|
|
56
|
+
"accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
57
|
+
"ellm",
|
|
58
|
+
]);
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Hume from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { PostedVoiceProvider } from "./PostedVoiceProvider";
|
|
7
8
|
import { PostedCustomVoice } from "./PostedCustomVoice";
|
|
8
9
|
export declare const PostedVoice: core.serialization.ObjectSchema<serializers.empathicVoice.PostedVoice.Raw, Hume.empathicVoice.PostedVoice>;
|
|
9
10
|
export declare namespace PostedVoice {
|
|
10
11
|
interface Raw {
|
|
11
|
-
provider:
|
|
12
|
+
provider: PostedVoiceProvider.Raw;
|
|
12
13
|
name?: string | null;
|
|
13
14
|
custom_voice?: PostedCustomVoice.Raw | null;
|
|
14
15
|
}
|
|
@@ -28,9 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PostedVoice = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const PostedVoiceProvider_1 = require("./PostedVoiceProvider");
|
|
31
32
|
const PostedCustomVoice_1 = require("./PostedCustomVoice");
|
|
32
33
|
exports.PostedVoice = core.serialization.object({
|
|
33
|
-
provider:
|
|
34
|
+
provider: PostedVoiceProvider_1.PostedVoiceProvider,
|
|
34
35
|
name: core.serialization.string().optional(),
|
|
35
36
|
customVoice: core.serialization.property("custom_voice", PostedCustomVoice_1.PostedCustomVoice.optional()),
|
|
36
37
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 PostedVoiceProvider: core.serialization.Schema<serializers.empathicVoice.PostedVoiceProvider.Raw, Hume.empathicVoice.PostedVoiceProvider>;
|
|
8
|
+
export declare namespace PostedVoiceProvider {
|
|
9
|
+
type Raw = "HUME_AI" | "CUSTOM_VOICE";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.PostedVoiceProvider = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.PostedVoiceProvider = core.serialization.enum_(["HUME_AI", "CUSTOM_VOICE"]);
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
import { ReturnChatAudioReconstructionStatus } from "./ReturnChatAudioReconstructionStatus";
|
|
8
|
+
export declare const ReturnChatAudioReconstruction: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatAudioReconstruction.Raw, Hume.empathicVoice.ReturnChatAudioReconstruction>;
|
|
9
|
+
export declare namespace ReturnChatAudioReconstruction {
|
|
10
|
+
interface Raw {
|
|
11
|
+
id: string;
|
|
12
|
+
user_id: string;
|
|
13
|
+
status: ReturnChatAudioReconstructionStatus.Raw;
|
|
14
|
+
filename?: string | null;
|
|
15
|
+
modified_at?: number | null;
|
|
16
|
+
signed_audio_url?: string | null;
|
|
17
|
+
signed_url_expiration_timestamp_millis?: number | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnChatAudioReconstruction = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnChatAudioReconstructionStatus_1 = require("./ReturnChatAudioReconstructionStatus");
|
|
32
|
+
exports.ReturnChatAudioReconstruction = core.serialization.object({
|
|
33
|
+
id: core.serialization.string(),
|
|
34
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
|
35
|
+
status: ReturnChatAudioReconstructionStatus_1.ReturnChatAudioReconstructionStatus,
|
|
36
|
+
filename: core.serialization.string().optional(),
|
|
37
|
+
modifiedAt: core.serialization.property("modified_at", core.serialization.number().optional()),
|
|
38
|
+
signedAudioUrl: core.serialization.property("signed_audio_url", core.serialization.string().optional()),
|
|
39
|
+
signedUrlExpirationTimestampMillis: core.serialization.property("signed_url_expiration_timestamp_millis", core.serialization.number().optional()),
|
|
40
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ReturnChatAudioReconstructionStatus: core.serialization.Schema<serializers.empathicVoice.ReturnChatAudioReconstructionStatus.Raw, Hume.empathicVoice.ReturnChatAudioReconstructionStatus>;
|
|
8
|
+
export declare namespace ReturnChatAudioReconstructionStatus {
|
|
9
|
+
type Raw = "QUEUED" | "IN_PROGRESS" | "COMPLETE" | "ERROR" | "CANCELLED";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnChatAudioReconstructionStatus = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnChatAudioReconstructionStatus = core.serialization.enum_(["QUEUED", "IN_PROGRESS", "COMPLETE", "ERROR", "CANCELLED"]);
|
package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
import { ReturnChatGroupPagedAudioReconstructionsPaginationDirection } from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection";
|
|
8
|
+
import { ReturnChatAudioReconstruction } from "./ReturnChatAudioReconstruction";
|
|
9
|
+
export declare const ReturnChatGroupPagedAudioReconstructions: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnChatGroupPagedAudioReconstructions.Raw, Hume.empathicVoice.ReturnChatGroupPagedAudioReconstructions>;
|
|
10
|
+
export declare namespace ReturnChatGroupPagedAudioReconstructions {
|
|
11
|
+
interface Raw {
|
|
12
|
+
id: string;
|
|
13
|
+
user_id: string;
|
|
14
|
+
num_chats: number;
|
|
15
|
+
page_number: number;
|
|
16
|
+
page_size: number;
|
|
17
|
+
total_pages: number;
|
|
18
|
+
pagination_direction: ReturnChatGroupPagedAudioReconstructionsPaginationDirection.Raw;
|
|
19
|
+
audio_reconstructions_page: ReturnChatAudioReconstruction.Raw[];
|
|
20
|
+
}
|
|
21
|
+
}
|
package/serialization/resources/empathicVoice/types/ReturnChatGroupPagedAudioReconstructions.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnChatGroupPagedAudioReconstructions = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnChatGroupPagedAudioReconstructionsPaginationDirection_1 = require("./ReturnChatGroupPagedAudioReconstructionsPaginationDirection");
|
|
32
|
+
const ReturnChatAudioReconstruction_1 = require("./ReturnChatAudioReconstruction");
|
|
33
|
+
exports.ReturnChatGroupPagedAudioReconstructions = core.serialization.object({
|
|
34
|
+
id: core.serialization.string(),
|
|
35
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
|
36
|
+
numChats: core.serialization.property("num_chats", core.serialization.number()),
|
|
37
|
+
pageNumber: core.serialization.property("page_number", core.serialization.number()),
|
|
38
|
+
pageSize: core.serialization.property("page_size", core.serialization.number()),
|
|
39
|
+
totalPages: core.serialization.property("total_pages", core.serialization.number()),
|
|
40
|
+
paginationDirection: core.serialization.property("pagination_direction", ReturnChatGroupPagedAudioReconstructionsPaginationDirection_1.ReturnChatGroupPagedAudioReconstructionsPaginationDirection),
|
|
41
|
+
audioReconstructionsPage: core.serialization.property("audio_reconstructions_page", core.serialization.list(ReturnChatAudioReconstruction_1.ReturnChatAudioReconstruction)),
|
|
42
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ReturnChatGroupPagedAudioReconstructionsPaginationDirection: core.serialization.Schema<serializers.empathicVoice.ReturnChatGroupPagedAudioReconstructionsPaginationDirection.Raw, Hume.empathicVoice.ReturnChatGroupPagedAudioReconstructionsPaginationDirection>;
|
|
8
|
+
export declare namespace ReturnChatGroupPagedAudioReconstructionsPaginationDirection {
|
|
9
|
+
type Raw = "ASC" | "DESC";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnChatGroupPagedAudioReconstructionsPaginationDirection = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnChatGroupPagedAudioReconstructionsPaginationDirection = core.serialization.enum_(["ASC", "DESC"]);
|
|
@@ -5,11 +5,12 @@ import * as serializers from "../../../index";
|
|
|
5
5
|
import * as Hume from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { ReturnLanguageModelModelProvider } from "./ReturnLanguageModelModelProvider";
|
|
8
|
+
import { ReturnLanguageModelModelResource } from "./ReturnLanguageModelModelResource";
|
|
8
9
|
export declare const ReturnLanguageModel: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnLanguageModel.Raw, Hume.empathicVoice.ReturnLanguageModel>;
|
|
9
10
|
export declare namespace ReturnLanguageModel {
|
|
10
11
|
interface Raw {
|
|
11
12
|
model_provider?: ReturnLanguageModelModelProvider.Raw | null;
|
|
12
|
-
model_resource?:
|
|
13
|
+
model_resource?: ReturnLanguageModelModelResource.Raw | null;
|
|
13
14
|
temperature?: number | null;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
@@ -29,8 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ReturnLanguageModel = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
31
|
const ReturnLanguageModelModelProvider_1 = require("./ReturnLanguageModelModelProvider");
|
|
32
|
+
const ReturnLanguageModelModelResource_1 = require("./ReturnLanguageModelModelResource");
|
|
32
33
|
exports.ReturnLanguageModel = core.serialization.object({
|
|
33
34
|
modelProvider: core.serialization.property("model_provider", ReturnLanguageModelModelProvider_1.ReturnLanguageModelModelProvider.optional()),
|
|
34
|
-
modelResource: core.serialization.property("model_resource",
|
|
35
|
+
modelResource: core.serialization.property("model_resource", ReturnLanguageModelModelResource_1.ReturnLanguageModelModelResource.optional()),
|
|
35
36
|
temperature: core.serialization.number().optional(),
|
|
36
37
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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-5-sonnet-latest" | "claude-3-5-sonnet-20240620" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-2.1" | "claude-instant-1.2" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-1.5-pro-002" | "gemini-1.5-flash-002" | "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.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";
|
|
10
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnLanguageModelModelResource = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnLanguageModelModelResource = core.serialization.enum_([
|
|
32
|
+
"claude-3-5-sonnet-latest",
|
|
33
|
+
"claude-3-5-sonnet-20240620",
|
|
34
|
+
"claude-3-opus-20240229",
|
|
35
|
+
"claude-3-sonnet-20240229",
|
|
36
|
+
"claude-3-haiku-20240307",
|
|
37
|
+
"claude-2.1",
|
|
38
|
+
"claude-instant-1.2",
|
|
39
|
+
"gemini-1.5-pro",
|
|
40
|
+
"gemini-1.5-flash",
|
|
41
|
+
"gemini-1.5-pro-002",
|
|
42
|
+
"gemini-1.5-flash-002",
|
|
43
|
+
"gpt-4-turbo-preview",
|
|
44
|
+
"gpt-3.5-turbo-0125",
|
|
45
|
+
"gpt-3.5-turbo",
|
|
46
|
+
"gpt-4o",
|
|
47
|
+
"gpt-4o-mini",
|
|
48
|
+
"gemma-7b-it",
|
|
49
|
+
"llama3-8b-8192",
|
|
50
|
+
"llama3-70b-8192",
|
|
51
|
+
"llama-3.1-70b-versatile",
|
|
52
|
+
"llama-3.1-8b-instant",
|
|
53
|
+
"accounts/fireworks/models/mixtral-8x7b-instruct",
|
|
54
|
+
"accounts/fireworks/models/llama-v3p1-405b-instruct",
|
|
55
|
+
"accounts/fireworks/models/llama-v3p1-70b-instruct",
|
|
56
|
+
"accounts/fireworks/models/llama-v3p1-8b-instruct",
|
|
57
|
+
"ellm",
|
|
58
|
+
]);
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Hume from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
+
import { ReturnVoiceProvider } from "./ReturnVoiceProvider";
|
|
7
8
|
import { ReturnCustomVoice } from "./ReturnCustomVoice";
|
|
8
9
|
export declare const ReturnVoice: core.serialization.ObjectSchema<serializers.empathicVoice.ReturnVoice.Raw, Hume.empathicVoice.ReturnVoice>;
|
|
9
10
|
export declare namespace ReturnVoice {
|
|
10
11
|
interface Raw {
|
|
11
|
-
provider:
|
|
12
|
+
provider: ReturnVoiceProvider.Raw;
|
|
12
13
|
name?: string | null;
|
|
13
14
|
custom_voice?: ReturnCustomVoice.Raw | null;
|
|
14
15
|
}
|
|
@@ -28,9 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ReturnVoice = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const ReturnVoiceProvider_1 = require("./ReturnVoiceProvider");
|
|
31
32
|
const ReturnCustomVoice_1 = require("./ReturnCustomVoice");
|
|
32
33
|
exports.ReturnVoice = core.serialization.object({
|
|
33
|
-
provider:
|
|
34
|
+
provider: ReturnVoiceProvider_1.ReturnVoiceProvider,
|
|
34
35
|
name: core.serialization.string().optional(),
|
|
35
36
|
customVoice: core.serialization.property("custom_voice", ReturnCustomVoice_1.ReturnCustomVoice.optional()),
|
|
36
37
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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 ReturnVoiceProvider: core.serialization.Schema<serializers.empathicVoice.ReturnVoiceProvider.Raw, Hume.empathicVoice.ReturnVoiceProvider>;
|
|
8
|
+
export declare namespace ReturnVoiceProvider {
|
|
9
|
+
type Raw = "HUME_AI" | "CUSTOM_VOICE";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.ReturnVoiceProvider = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.ReturnVoiceProvider = core.serialization.enum_(["HUME_AI", "CUSTOM_VOICE"]);
|
|
@@ -17,12 +17,14 @@ export * from "./PostedEllmModel";
|
|
|
17
17
|
export * from "./PostedEventMessageSpec";
|
|
18
18
|
export * from "./PostedEventMessageSpecs";
|
|
19
19
|
export * from "./PostedLanguageModelModelProvider";
|
|
20
|
+
export * from "./PostedLanguageModelModelResource";
|
|
20
21
|
export * from "./PostedLanguageModel";
|
|
21
22
|
export * from "./PostedTimeoutSpec";
|
|
22
23
|
export * from "./PostedTimeoutSpecsInactivity";
|
|
23
24
|
export * from "./PostedTimeoutSpecsMaxDuration";
|
|
24
25
|
export * from "./PostedTimeoutSpecs";
|
|
25
26
|
export * from "./PostedUserDefinedToolSpec";
|
|
27
|
+
export * from "./PostedVoiceProvider";
|
|
26
28
|
export * from "./PostedVoice";
|
|
27
29
|
export * from "./ReturnBuiltinToolToolType";
|
|
28
30
|
export * from "./ReturnBuiltinTool";
|
|
@@ -31,9 +33,11 @@ export * from "./ReturnEllmModel";
|
|
|
31
33
|
export * from "./ReturnEventMessageSpec";
|
|
32
34
|
export * from "./ReturnEventMessageSpecs";
|
|
33
35
|
export * from "./ReturnLanguageModelModelProvider";
|
|
36
|
+
export * from "./ReturnLanguageModelModelResource";
|
|
34
37
|
export * from "./ReturnLanguageModel";
|
|
35
38
|
export * from "./ReturnTimeoutSpec";
|
|
36
39
|
export * from "./ReturnTimeoutSpecs";
|
|
40
|
+
export * from "./ReturnVoiceProvider";
|
|
37
41
|
export * from "./ReturnVoice";
|
|
38
42
|
export * from "./ReturnPagedUserDefinedTools";
|
|
39
43
|
export * from "./ReturnPagedPrompts";
|
|
@@ -50,6 +54,8 @@ export * from "./ReturnChatEvent";
|
|
|
50
54
|
export * from "./ReturnChatPagedEventsStatus";
|
|
51
55
|
export * from "./ReturnChatPagedEventsPaginationDirection";
|
|
52
56
|
export * from "./ReturnChatPagedEvents";
|
|
57
|
+
export * from "./ReturnChatAudioReconstructionStatus";
|
|
58
|
+
export * from "./ReturnChatAudioReconstruction";
|
|
53
59
|
export * from "./ReturnActiveChatCount";
|
|
54
60
|
export * from "./ReturnActiveChatCountPerTag";
|
|
55
61
|
export * from "./ReturnChatGroup";
|
|
@@ -59,6 +65,8 @@ export * from "./ReturnChatGroupPagedChatsPaginationDirection";
|
|
|
59
65
|
export * from "./ReturnChatGroupPagedChats";
|
|
60
66
|
export * from "./ReturnChatGroupPagedEventsPaginationDirection";
|
|
61
67
|
export * from "./ReturnChatGroupPagedEvents";
|
|
68
|
+
export * from "./ReturnChatGroupPagedAudioReconstructionsPaginationDirection";
|
|
69
|
+
export * from "./ReturnChatGroupPagedAudioReconstructions";
|
|
62
70
|
export * from "./PostedPromptSpec";
|
|
63
71
|
export * from "./AssistantInput";
|
|
64
72
|
export * from "./AudioConfiguration";
|