@rodrigobeber/patoai-dtos 1.8.21 → 1.8.22
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.
|
@@ -7,10 +7,11 @@ export declare enum ModelEnum {
|
|
|
7
7
|
Openai_o3_mini = "o3-mini",
|
|
8
8
|
Openai_o4_mini = "o4-mini"
|
|
9
9
|
}
|
|
10
|
-
export declare enum
|
|
10
|
+
export declare enum TranscribeModelEnum {
|
|
11
11
|
Openai_Whisper = "whisper-1",
|
|
12
12
|
Openai_GPT_4o_transcribe = "gpt-4o-transcribe",
|
|
13
|
-
Openai_GPT_4o_transcribe_mini = "gpt-4o-transcribe-mini"
|
|
13
|
+
Openai_GPT_4o_transcribe_mini = "gpt-4o-transcribe-mini",
|
|
14
|
+
ElevenLabs_Scribe_v1 = "scribe_v1"
|
|
14
15
|
}
|
|
15
16
|
export interface Model {
|
|
16
17
|
code: ModelEnum;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ModelTypeEnum = exports.MODELS = exports.
|
|
3
|
+
exports.ModelTypeEnum = exports.MODELS = exports.TranscribeModelEnum = exports.ModelEnum = void 0;
|
|
4
4
|
var ModelEnum;
|
|
5
5
|
(function (ModelEnum) {
|
|
6
6
|
ModelEnum["Openai_GPT_4o"] = "gpt-4o";
|
|
@@ -11,12 +11,13 @@ var ModelEnum;
|
|
|
11
11
|
ModelEnum["Openai_o3_mini"] = "o3-mini";
|
|
12
12
|
ModelEnum["Openai_o4_mini"] = "o4-mini";
|
|
13
13
|
})(ModelEnum || (exports.ModelEnum = ModelEnum = {}));
|
|
14
|
-
var
|
|
15
|
-
(function (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
var TranscribeModelEnum;
|
|
15
|
+
(function (TranscribeModelEnum) {
|
|
16
|
+
TranscribeModelEnum["Openai_Whisper"] = "whisper-1";
|
|
17
|
+
TranscribeModelEnum["Openai_GPT_4o_transcribe"] = "gpt-4o-transcribe";
|
|
18
|
+
TranscribeModelEnum["Openai_GPT_4o_transcribe_mini"] = "gpt-4o-transcribe-mini";
|
|
19
|
+
TranscribeModelEnum["ElevenLabs_Scribe_v1"] = "scribe_v1";
|
|
20
|
+
})(TranscribeModelEnum || (exports.TranscribeModelEnum = TranscribeModelEnum = {}));
|
|
20
21
|
exports.MODELS = {
|
|
21
22
|
[ModelEnum.Openai_GPT_4o]: { code: ModelEnum.Openai_GPT_4o, vision: true, reasoning: false },
|
|
22
23
|
[ModelEnum.Openai_GPT_4o_mini]: { code: ModelEnum.Openai_GPT_4o_mini, vision: false, reasoning: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Base64FileDto } from "../media";
|
|
2
|
-
import {
|
|
2
|
+
import { TranscribeModelEnum } from "./model.enum";
|
|
3
3
|
export declare enum AudioProviderEnum {
|
|
4
4
|
ELEVEN_LABS = "elevenlabs",
|
|
5
5
|
GOOGLE_CLOUD = "googlecloud",
|
|
@@ -7,7 +7,7 @@ export declare enum AudioProviderEnum {
|
|
|
7
7
|
}
|
|
8
8
|
export interface SpeechToTextDto {
|
|
9
9
|
type: AudioProviderEnum;
|
|
10
|
-
model?:
|
|
10
|
+
model?: TranscribeModelEnum;
|
|
11
11
|
credentials: any;
|
|
12
12
|
base64file: Base64FileDto;
|
|
13
13
|
lang?: string;
|