@qvac/sdk 0.7.1 → 0.8.0
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/NOTICE +57 -331
- package/README.md +2 -2
- package/bare-imports.json +9 -0
- package/dist/client/api/completion-stream.d.ts +2 -1
- package/dist/client/api/completion-stream.js +2 -1
- package/dist/client/api/download-asset.d.ts +3 -2
- package/dist/client/api/download-asset.js +4 -3
- package/dist/client/api/embed.d.ts +5 -2
- package/dist/client/api/embed.js +2 -2
- package/dist/client/api/get-model-info.d.ts +1 -1
- package/dist/client/api/invoke-plugin.d.ts +3 -2
- package/dist/client/api/invoke-plugin.js +4 -4
- package/dist/client/api/load-model.d.ts +12 -10
- package/dist/client/api/load-model.js +3 -3
- package/dist/client/api/rag.d.ts +10 -10
- package/dist/client/api/rag.js +21 -21
- package/dist/client/api/text-to-speech.d.ts +2 -2
- package/dist/client/api/text-to-speech.js +3 -3
- package/dist/client/api/transcribe.d.ts +5 -3
- package/dist/client/api/transcribe.js +6 -4
- package/dist/client/api/translate.d.ts +2 -2
- package/dist/client/api/translate.js +3 -3
- package/dist/client/rpc/node-rpc-client.d.ts +2 -7
- package/dist/client/rpc/node-rpc-client.js +2 -39
- package/dist/client/rpc/profiling/index.d.ts +2 -0
- package/dist/client/rpc/profiling/index.js +1 -0
- package/dist/client/rpc/profiling/profiler.d.ts +27 -0
- package/dist/client/rpc/profiling/profiler.js +139 -0
- package/dist/client/rpc/rpc-client.d.ts +2 -2
- package/dist/client/rpc/rpc-client.js +174 -12
- package/dist/examples/delegated-inference/consumer-profiled.d.ts +2 -0
- package/dist/examples/delegated-inference/consumer-profiled.js +67 -0
- package/dist/examples/llamacpp-multimodal.js +1 -1
- package/dist/examples/parallel-download.js +45 -13
- package/dist/examples/profiling/basic.d.ts +2 -0
- package/dist/examples/profiling/basic.js +71 -0
- package/dist/examples/profiling/per-call.d.ts +2 -0
- package/dist/examples/profiling/per-call.js +30 -0
- package/dist/examples/transcription/parakeet-ctc-filesystem.d.ts +2 -0
- package/dist/examples/transcription/parakeet-ctc-filesystem.js +40 -0
- package/dist/examples/transcription/parakeet-microphone-record.d.ts +2 -0
- package/dist/examples/transcription/parakeet-microphone-record.js +95 -0
- package/dist/examples/transcription/parakeet-sortformer.d.ts +2 -0
- package/dist/examples/transcription/parakeet-sortformer.js +115 -0
- package/dist/examples/transcription/parakeet-tdt-filesystem.d.ts +2 -0
- package/dist/examples/transcription/parakeet-tdt-filesystem.js +44 -0
- package/dist/examples/translation/translation-bergamot-pivot.d.ts +2 -0
- package/dist/examples/translation/translation-bergamot-pivot.js +73 -0
- package/dist/examples/translation/translation-llm-afriquegemma.d.ts +2 -0
- package/dist/examples/translation/translation-llm-afriquegemma.js +39 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -0
- package/dist/logging/index.d.ts +1 -1
- package/dist/logging/index.js +1 -1
- package/dist/logging/namespaces.d.ts +3 -9
- package/dist/logging/namespaces.js +2 -8
- package/dist/logging/registry.js +15 -1
- package/dist/models/registry/models.d.ts +1606 -245
- package/dist/models/registry/models.js +2127 -721
- package/dist/models/update-models/codegen.js +2 -2
- package/dist/models/update-models/history.d.ts +11 -0
- package/dist/models/update-models/history.js +24 -5
- package/dist/models/update-models/index.js +17 -16
- package/dist/models/update-models/naming.js +56 -0
- package/dist/profiling/aggregator.d.ts +15 -0
- package/dist/profiling/aggregator.js +100 -0
- package/dist/profiling/clock.d.ts +12 -0
- package/dist/profiling/clock.js +51 -0
- package/dist/profiling/controller.d.ts +33 -0
- package/dist/profiling/controller.js +123 -0
- package/dist/profiling/envelope.d.ts +10 -0
- package/dist/profiling/envelope.js +36 -0
- package/dist/profiling/events.d.ts +20 -0
- package/dist/profiling/events.js +37 -0
- package/dist/profiling/exporters.d.ts +10 -0
- package/dist/profiling/exporters.js +236 -0
- package/dist/profiling/index.d.ts +36 -0
- package/dist/profiling/index.js +31 -0
- package/dist/profiling/ring-buffer.d.ts +19 -0
- package/dist/profiling/ring-buffer.js +83 -0
- package/dist/profiling/types.d.ts +47 -0
- package/dist/profiling/types.js +1 -0
- package/dist/schemas/common.d.ts +1888 -133
- package/dist/schemas/common.js +2 -0
- package/dist/schemas/completion-stream.d.ts +31 -0
- package/dist/schemas/completion-stream.js +13 -0
- package/dist/schemas/download-asset.d.ts +14 -3
- package/dist/schemas/download-asset.js +3 -1
- package/dist/schemas/engine-addon-map.js +9 -6
- package/dist/schemas/get-model-info.d.ts +2 -0
- package/dist/schemas/get-model-info.js +1 -0
- package/dist/schemas/index.d.ts +2 -1
- package/dist/schemas/index.js +2 -1
- package/dist/schemas/llamacpp-config.d.ts +140 -14
- package/dist/schemas/llamacpp-config.js +11 -7
- package/dist/schemas/load-model.d.ts +9649 -2515
- package/dist/schemas/load-model.js +142 -182
- package/dist/schemas/model-src-utils.d.ts +10 -2
- package/dist/schemas/model-types.d.ts +19 -1
- package/dist/schemas/model-types.js +11 -0
- package/dist/schemas/ocr.d.ts +37 -0
- package/dist/schemas/ocr.js +5 -0
- package/dist/schemas/plugin.d.ts +51 -5
- package/dist/schemas/plugin.js +26 -0
- package/dist/schemas/profiling.d.ts +105 -0
- package/dist/schemas/profiling.js +66 -0
- package/dist/schemas/registry.d.ts +18 -0
- package/dist/schemas/registry.js +2 -0
- package/dist/schemas/reload-config.d.ts +126 -6
- package/dist/schemas/reload-config.js +1 -1
- package/dist/schemas/sdk-config.d.ts +2280 -24
- package/dist/schemas/sdk-config.js +6 -1
- package/dist/schemas/sdk-errors-client.d.ts +1 -0
- package/dist/schemas/sdk-errors-client.js +7 -0
- package/dist/schemas/sdk-errors-server.d.ts +3 -0
- package/dist/schemas/sdk-errors-server.js +15 -0
- package/dist/schemas/text-to-speech.d.ts +90 -68
- package/dist/schemas/text-to-speech.js +16 -33
- package/dist/schemas/transcription-config.d.ts +383 -0
- package/dist/schemas/{whispercpp-config.js → transcription-config.js} +29 -1
- package/dist/schemas/translation-config.d.ts +463 -8
- package/dist/schemas/translation-config.js +35 -2
- package/dist/server/bare/delegate-rpc-client.js +11 -1
- package/dist/server/bare/ops/load-model.d.ts +7 -1
- package/dist/server/bare/ops/load-model.js +41 -42
- package/dist/server/bare/ops/transcribe.d.ts +3 -0
- package/dist/server/bare/ops/transcribe.js +75 -0
- package/dist/server/bare/ops/translate.d.ts +2 -0
- package/dist/server/bare/ops/translate.js +12 -4
- package/dist/server/bare/plugins/index.d.ts +1 -0
- package/dist/server/bare/plugins/index.js +1 -0
- package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.d.ts +2 -1
- package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.js +8 -6
- package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +108 -3
- package/dist/server/bare/plugins/llamacpp-completion/plugin.js +19 -6
- package/dist/server/bare/plugins/llamacpp-embedding/plugin.d.ts +32 -2
- package/dist/server/bare/plugins/llamacpp-embedding/plugin.js +31 -17
- package/dist/server/bare/plugins/nmtcpp-translation/plugin.d.ts +325 -3
- package/dist/server/bare/plugins/nmtcpp-translation/plugin.js +117 -10
- package/dist/server/bare/plugins/onnx-ocr/plugin.d.ts +50 -2
- package/dist/server/bare/plugins/onnx-ocr/plugin.js +46 -5
- package/dist/server/bare/plugins/onnx-tts/plugin.d.ts +351 -4
- package/dist/server/bare/plugins/onnx-tts/plugin.js +81 -61
- package/dist/server/bare/plugins/parakeet-transcription/plugin.d.ts +317 -0
- package/dist/server/bare/plugins/parakeet-transcription/plugin.js +154 -0
- package/dist/server/bare/plugins/whispercpp-transcription/plugin.d.ts +209 -3
- package/dist/server/bare/plugins/whispercpp-transcription/plugin.js +21 -9
- package/dist/server/bare/rag-hyperdb/rag-workspace-manager.js +2 -2
- package/dist/server/bare/registry/model-config-utils.js +3 -1
- package/dist/server/bare/utils/audio-input.d.ts +10 -0
- package/dist/server/bare/utils/audio-input.js +33 -0
- package/dist/server/error-handlers.d.ts +3 -2
- package/dist/server/error-handlers.js +11 -8
- package/dist/server/plugins/registry.js +5 -1
- package/dist/server/rpc/delegate-transport.d.ts +11 -3
- package/dist/server/rpc/delegate-transport.js +158 -3
- package/dist/server/rpc/handle-request.js +43 -4
- package/dist/server/rpc/handler-registry.js +7 -1
- package/dist/server/rpc/handler-utils.d.ts +5 -4
- package/dist/server/rpc/handler-utils.js +72 -31
- package/dist/server/rpc/handlers/completion-stream-delegated.d.ts +3 -1
- package/dist/server/rpc/handlers/completion-stream-delegated.js +11 -2
- package/dist/server/rpc/handlers/download-asset.js +55 -3
- package/dist/server/rpc/handlers/load-model/download-stats.d.ts +6 -0
- package/dist/server/rpc/handlers/load-model/download-stats.js +87 -0
- package/dist/server/rpc/handlers/load-model/handler.js +108 -123
- package/dist/server/rpc/handlers/load-model/http.d.ts +2 -1
- package/dist/server/rpc/handlers/load-model/http.js +21 -5
- package/dist/server/rpc/handlers/load-model/hyperdrive.d.ts +2 -1
- package/dist/server/rpc/handlers/load-model/hyperdrive.js +19 -14
- package/dist/server/rpc/handlers/load-model/registry.d.ts +2 -1
- package/dist/server/rpc/handlers/load-model/registry.js +123 -130
- package/dist/server/rpc/handlers/load-model/resolve.d.ts +2 -0
- package/dist/server/rpc/handlers/load-model/resolve.js +55 -22
- package/dist/server/rpc/handlers/load-model/types.d.ts +29 -0
- package/dist/server/rpc/handlers/load-model/types.js +1 -0
- package/dist/server/rpc/handlers/load-model-delegated.d.ts +5 -1
- package/dist/server/rpc/handlers/load-model-delegated.js +35 -7
- package/dist/server/rpc/handlers/plugin-dispatch.js +15 -10
- package/dist/server/rpc/handlers/plugin-invoke.js +56 -51
- package/dist/server/rpc/handlers/rag.js +24 -0
- package/dist/server/rpc/handlers/unload-model-delegated.d.ts +3 -0
- package/dist/server/rpc/handlers/unload-model-delegated.js +32 -0
- package/dist/server/rpc/profiling/context.d.ts +18 -0
- package/dist/server/rpc/profiling/context.js +38 -0
- package/dist/server/rpc/profiling/delegation-profiler.d.ts +32 -0
- package/dist/server/rpc/profiling/delegation-profiler.js +154 -0
- package/dist/server/rpc/profiling/index.d.ts +5 -0
- package/dist/server/rpc/profiling/index.js +4 -0
- package/dist/server/rpc/profiling/operation-metrics.d.ts +25 -0
- package/dist/server/rpc/profiling/operation-metrics.js +199 -0
- package/dist/server/rpc/profiling/operation-wrappers.d.ts +18 -0
- package/dist/server/rpc/profiling/operation-wrappers.js +124 -0
- package/dist/server/rpc/profiling/profiler.d.ts +13 -0
- package/dist/server/rpc/profiling/profiler.js +97 -0
- package/dist/server/utils/cache.d.ts +2 -1
- package/dist/server/utils/cache.js +5 -1
- package/dist/server/utils/checksum.d.ts +2 -0
- package/dist/server/utils/checksum.js +7 -0
- package/dist/server/utils/formatting.d.ts +6 -0
- package/dist/server/utils/formatting.js +35 -0
- package/dist/server/worker.js +2 -1
- package/dist/utils/errors-client.d.ts +3 -0
- package/dist/utils/errors-client.js +6 -0
- package/dist/utils/errors-server.d.ts +9 -0
- package/dist/utils/errors-server.js +15 -0
- package/dist/utils/global-singleton.d.ts +2 -0
- package/dist/utils/global-singleton.js +10 -0
- package/package.json +13 -16
- package/dist/schemas/whispercpp-config.d.ts +0 -70
- package/dist/server/bare/plugins/whispercpp-transcription/ops/transcribe-stream.d.ts +0 -3
- package/dist/server/bare/plugins/whispercpp-transcription/ops/transcribe-stream.js +0 -81
- /package/dist/examples/{whispercpp-filesystem.d.ts → transcription/whispercpp-filesystem.d.ts} +0 -0
- /package/dist/examples/{whispercpp-filesystem.js → transcription/whispercpp-filesystem.js} +0 -0
- /package/dist/examples/{whispercpp-microphone-record.d.ts → transcription/whispercpp-microphone-record.d.ts} +0 -0
- /package/dist/examples/{whispercpp-microphone-record.js → transcription/whispercpp-microphone-record.js} +0 -0
- /package/dist/examples/{whispercpp-prompt.d.ts → transcription/whispercpp-prompt.d.ts} +0 -0
- /package/dist/examples/{whispercpp-prompt.js → transcription/whispercpp-prompt.js} +0 -0
package/dist/schemas/common.d.ts
CHANGED
|
@@ -5,9 +5,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
5
5
|
type: z.ZodLiteral<"loadModel">;
|
|
6
6
|
modelSrc: z.ZodString;
|
|
7
7
|
modelName: z.ZodOptional<z.ZodString>;
|
|
8
|
-
projectionModelSrc: z.ZodOptional<z.ZodString>;
|
|
9
|
-
vadModelSrc: z.ZodOptional<z.ZodString>;
|
|
10
|
-
detectorModelSrc: z.ZodOptional<z.ZodString>;
|
|
11
8
|
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
12
9
|
seed: z.ZodOptional<z.ZodBoolean>;
|
|
13
10
|
delegate: z.ZodOptional<z.ZodObject<{
|
|
@@ -37,14 +34,39 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
37
34
|
stop_sequences: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
35
|
n_discarded: z.ZodOptional<z.ZodNumber>;
|
|
39
36
|
tools: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
projectionModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
38
|
+
src: z.ZodString;
|
|
39
|
+
name: z.ZodOptional<z.ZodString>;
|
|
40
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
42
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
43
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
44
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
46
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
48
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
49
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
50
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
51
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
52
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
53
|
+
"onnx-tts": "onnx-tts";
|
|
54
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
55
|
+
"onnx-ocr": "onnx-ocr";
|
|
56
|
+
llm: "llm";
|
|
57
|
+
whisper: "whisper";
|
|
58
|
+
embeddings: "embeddings";
|
|
59
|
+
nmt: "nmt";
|
|
60
|
+
parakeet: "parakeet";
|
|
61
|
+
tts: "tts";
|
|
62
|
+
ocr: "ocr";
|
|
63
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
64
|
+
}, z.core.$strip>]>>;
|
|
40
65
|
}, z.core.$strip>;
|
|
41
|
-
}, z.core.$
|
|
66
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
42
67
|
type: z.ZodLiteral<"loadModel">;
|
|
43
68
|
modelSrc: z.ZodString;
|
|
44
69
|
modelName: z.ZodOptional<z.ZodString>;
|
|
45
|
-
projectionModelSrc: z.ZodOptional<z.ZodString>;
|
|
46
|
-
vadModelSrc: z.ZodOptional<z.ZodString>;
|
|
47
|
-
detectorModelSrc: z.ZodOptional<z.ZodString>;
|
|
48
70
|
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
49
71
|
seed: z.ZodOptional<z.ZodBoolean>;
|
|
50
72
|
delegate: z.ZodOptional<z.ZodObject<{
|
|
@@ -94,7 +116,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
94
116
|
logprob_thold: z.ZodOptional<z.ZodNumber>;
|
|
95
117
|
greedy_best_of: z.ZodOptional<z.ZodNumber>;
|
|
96
118
|
beam_search_beam_size: z.ZodOptional<z.ZodNumber>;
|
|
97
|
-
vad_model_path: z.ZodOptional<z.ZodString>;
|
|
98
119
|
vad_params: z.ZodOptional<z.ZodObject<{
|
|
99
120
|
threshold: z.ZodOptional<z.ZodNumber>;
|
|
100
121
|
min_speech_duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
@@ -116,14 +137,318 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
116
137
|
miscConfig: z.ZodOptional<z.ZodObject<{
|
|
117
138
|
caption_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
118
139
|
}, z.core.$strip>>;
|
|
140
|
+
vadModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
141
|
+
src: z.ZodString;
|
|
142
|
+
name: z.ZodOptional<z.ZodString>;
|
|
143
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
144
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
145
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
146
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
147
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
148
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
149
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
151
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
152
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
153
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
154
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
155
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
156
|
+
"onnx-tts": "onnx-tts";
|
|
157
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
158
|
+
"onnx-ocr": "onnx-ocr";
|
|
159
|
+
llm: "llm";
|
|
160
|
+
whisper: "whisper";
|
|
161
|
+
embeddings: "embeddings";
|
|
162
|
+
nmt: "nmt";
|
|
163
|
+
parakeet: "parakeet";
|
|
164
|
+
tts: "tts";
|
|
165
|
+
ocr: "ocr";
|
|
166
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
167
|
+
}, z.core.$strip>]>>;
|
|
119
168
|
}, z.core.$strip>;
|
|
120
|
-
}, z.core.$
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
type: z.ZodLiteral<"loadModel">;
|
|
171
|
+
modelSrc: z.ZodString;
|
|
172
|
+
modelName: z.ZodOptional<z.ZodString>;
|
|
173
|
+
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
174
|
+
seed: z.ZodOptional<z.ZodBoolean>;
|
|
175
|
+
delegate: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
topic: z.ZodString;
|
|
177
|
+
providerPublicKey: z.ZodString;
|
|
178
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
180
|
+
forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
181
|
+
}, z.core.$strip>>;
|
|
182
|
+
modelType: z.ZodLiteral<"parakeet-transcription">;
|
|
183
|
+
modelConfig: z.ZodObject<{
|
|
184
|
+
modelType: z.ZodDefault<z.ZodEnum<{
|
|
185
|
+
tdt: "tdt";
|
|
186
|
+
ctc: "ctc";
|
|
187
|
+
sortformer: "sortformer";
|
|
188
|
+
}>>;
|
|
189
|
+
maxThreads: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
useGPU: z.ZodOptional<z.ZodBoolean>;
|
|
191
|
+
sampleRate: z.ZodOptional<z.ZodNumber>;
|
|
192
|
+
channels: z.ZodOptional<z.ZodNumber>;
|
|
193
|
+
captionEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
+
timestampsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
+
parakeetEncoderSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
196
|
+
src: z.ZodString;
|
|
197
|
+
name: z.ZodOptional<z.ZodString>;
|
|
198
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
199
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
200
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
201
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
202
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
203
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
204
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
205
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
206
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
207
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
208
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
209
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
210
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
211
|
+
"onnx-tts": "onnx-tts";
|
|
212
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
213
|
+
"onnx-ocr": "onnx-ocr";
|
|
214
|
+
llm: "llm";
|
|
215
|
+
whisper: "whisper";
|
|
216
|
+
embeddings: "embeddings";
|
|
217
|
+
nmt: "nmt";
|
|
218
|
+
parakeet: "parakeet";
|
|
219
|
+
tts: "tts";
|
|
220
|
+
ocr: "ocr";
|
|
221
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
222
|
+
}, z.core.$strip>]>>;
|
|
223
|
+
parakeetEncoderDataSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
224
|
+
src: z.ZodString;
|
|
225
|
+
name: z.ZodOptional<z.ZodString>;
|
|
226
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
227
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
228
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
229
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
230
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
231
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
232
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
233
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
234
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
235
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
236
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
237
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
238
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
239
|
+
"onnx-tts": "onnx-tts";
|
|
240
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
241
|
+
"onnx-ocr": "onnx-ocr";
|
|
242
|
+
llm: "llm";
|
|
243
|
+
whisper: "whisper";
|
|
244
|
+
embeddings: "embeddings";
|
|
245
|
+
nmt: "nmt";
|
|
246
|
+
parakeet: "parakeet";
|
|
247
|
+
tts: "tts";
|
|
248
|
+
ocr: "ocr";
|
|
249
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
250
|
+
}, z.core.$strip>]>>;
|
|
251
|
+
parakeetDecoderSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
252
|
+
src: z.ZodString;
|
|
253
|
+
name: z.ZodOptional<z.ZodString>;
|
|
254
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
255
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
256
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
257
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
258
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
259
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
260
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
262
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
263
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
264
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
265
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
266
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
267
|
+
"onnx-tts": "onnx-tts";
|
|
268
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
269
|
+
"onnx-ocr": "onnx-ocr";
|
|
270
|
+
llm: "llm";
|
|
271
|
+
whisper: "whisper";
|
|
272
|
+
embeddings: "embeddings";
|
|
273
|
+
nmt: "nmt";
|
|
274
|
+
parakeet: "parakeet";
|
|
275
|
+
tts: "tts";
|
|
276
|
+
ocr: "ocr";
|
|
277
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
278
|
+
}, z.core.$strip>]>>;
|
|
279
|
+
parakeetVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
280
|
+
src: z.ZodString;
|
|
281
|
+
name: z.ZodOptional<z.ZodString>;
|
|
282
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
283
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
284
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
285
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
286
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
287
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
288
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
290
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
291
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
292
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
293
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
294
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
295
|
+
"onnx-tts": "onnx-tts";
|
|
296
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
297
|
+
"onnx-ocr": "onnx-ocr";
|
|
298
|
+
llm: "llm";
|
|
299
|
+
whisper: "whisper";
|
|
300
|
+
embeddings: "embeddings";
|
|
301
|
+
nmt: "nmt";
|
|
302
|
+
parakeet: "parakeet";
|
|
303
|
+
tts: "tts";
|
|
304
|
+
ocr: "ocr";
|
|
305
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
306
|
+
}, z.core.$strip>]>>;
|
|
307
|
+
parakeetPreprocessorSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
308
|
+
src: z.ZodString;
|
|
309
|
+
name: z.ZodOptional<z.ZodString>;
|
|
310
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
311
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
312
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
313
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
314
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
316
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
317
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
318
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
319
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
320
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
321
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
322
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
323
|
+
"onnx-tts": "onnx-tts";
|
|
324
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
325
|
+
"onnx-ocr": "onnx-ocr";
|
|
326
|
+
llm: "llm";
|
|
327
|
+
whisper: "whisper";
|
|
328
|
+
embeddings: "embeddings";
|
|
329
|
+
nmt: "nmt";
|
|
330
|
+
parakeet: "parakeet";
|
|
331
|
+
tts: "tts";
|
|
332
|
+
ocr: "ocr";
|
|
333
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
334
|
+
}, z.core.$strip>]>>;
|
|
335
|
+
parakeetCtcModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
336
|
+
src: z.ZodString;
|
|
337
|
+
name: z.ZodOptional<z.ZodString>;
|
|
338
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
339
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
340
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
341
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
342
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
344
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
346
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
347
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
348
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
349
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
350
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
351
|
+
"onnx-tts": "onnx-tts";
|
|
352
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
353
|
+
"onnx-ocr": "onnx-ocr";
|
|
354
|
+
llm: "llm";
|
|
355
|
+
whisper: "whisper";
|
|
356
|
+
embeddings: "embeddings";
|
|
357
|
+
nmt: "nmt";
|
|
358
|
+
parakeet: "parakeet";
|
|
359
|
+
tts: "tts";
|
|
360
|
+
ocr: "ocr";
|
|
361
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
362
|
+
}, z.core.$strip>]>>;
|
|
363
|
+
parakeetCtcModelDataSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
364
|
+
src: z.ZodString;
|
|
365
|
+
name: z.ZodOptional<z.ZodString>;
|
|
366
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
367
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
368
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
369
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
370
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
372
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
373
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
374
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
375
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
376
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
377
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
378
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
379
|
+
"onnx-tts": "onnx-tts";
|
|
380
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
381
|
+
"onnx-ocr": "onnx-ocr";
|
|
382
|
+
llm: "llm";
|
|
383
|
+
whisper: "whisper";
|
|
384
|
+
embeddings: "embeddings";
|
|
385
|
+
nmt: "nmt";
|
|
386
|
+
parakeet: "parakeet";
|
|
387
|
+
tts: "tts";
|
|
388
|
+
ocr: "ocr";
|
|
389
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
390
|
+
}, z.core.$strip>]>>;
|
|
391
|
+
parakeetTokenizerSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
392
|
+
src: z.ZodString;
|
|
393
|
+
name: z.ZodOptional<z.ZodString>;
|
|
394
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
395
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
396
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
397
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
398
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
399
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
400
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
401
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
402
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
403
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
404
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
405
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
406
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
407
|
+
"onnx-tts": "onnx-tts";
|
|
408
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
409
|
+
"onnx-ocr": "onnx-ocr";
|
|
410
|
+
llm: "llm";
|
|
411
|
+
whisper: "whisper";
|
|
412
|
+
embeddings: "embeddings";
|
|
413
|
+
nmt: "nmt";
|
|
414
|
+
parakeet: "parakeet";
|
|
415
|
+
tts: "tts";
|
|
416
|
+
ocr: "ocr";
|
|
417
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
418
|
+
}, z.core.$strip>]>>;
|
|
419
|
+
parakeetSortformerSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
420
|
+
src: z.ZodString;
|
|
421
|
+
name: z.ZodOptional<z.ZodString>;
|
|
422
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
423
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
424
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
425
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
426
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
427
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
428
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
429
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
430
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
431
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
432
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
433
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
434
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
435
|
+
"onnx-tts": "onnx-tts";
|
|
436
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
437
|
+
"onnx-ocr": "onnx-ocr";
|
|
438
|
+
llm: "llm";
|
|
439
|
+
whisper: "whisper";
|
|
440
|
+
embeddings: "embeddings";
|
|
441
|
+
nmt: "nmt";
|
|
442
|
+
parakeet: "parakeet";
|
|
443
|
+
tts: "tts";
|
|
444
|
+
ocr: "ocr";
|
|
445
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
446
|
+
}, z.core.$strip>]>>;
|
|
447
|
+
}, z.core.$strip>;
|
|
448
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
121
449
|
type: z.ZodLiteral<"loadModel">;
|
|
122
450
|
modelSrc: z.ZodString;
|
|
123
451
|
modelName: z.ZodOptional<z.ZodString>;
|
|
124
|
-
projectionModelSrc: z.ZodOptional<z.ZodString>;
|
|
125
|
-
vadModelSrc: z.ZodOptional<z.ZodString>;
|
|
126
|
-
detectorModelSrc: z.ZodOptional<z.ZodString>;
|
|
127
452
|
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
128
453
|
seed: z.ZodOptional<z.ZodBoolean>;
|
|
129
454
|
delegate: z.ZodOptional<z.ZodObject<{
|
|
@@ -136,22 +461,38 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
136
461
|
modelType: z.ZodLiteral<"llamacpp-embedding">;
|
|
137
462
|
modelConfig: z.ZodObject<{
|
|
138
463
|
gpuLayers: z.ZodOptional<z.ZodNumber>;
|
|
139
|
-
device: z.ZodOptional<z.
|
|
464
|
+
device: z.ZodOptional<z.ZodEnum<{
|
|
465
|
+
gpu: "gpu";
|
|
466
|
+
cpu: "cpu";
|
|
467
|
+
}>>;
|
|
140
468
|
batchSize: z.ZodOptional<z.ZodNumber>;
|
|
141
|
-
|
|
469
|
+
pooling: z.ZodOptional<z.ZodEnum<{
|
|
470
|
+
none: "none";
|
|
471
|
+
mean: "mean";
|
|
472
|
+
cls: "cls";
|
|
473
|
+
last: "last";
|
|
474
|
+
rank: "rank";
|
|
475
|
+
}>>;
|
|
476
|
+
attention: z.ZodOptional<z.ZodEnum<{
|
|
477
|
+
causal: "causal";
|
|
478
|
+
"non-causal": "non-causal";
|
|
479
|
+
}>>;
|
|
480
|
+
embdNormalize: z.ZodOptional<z.ZodNumber>;
|
|
142
481
|
flashAttention: z.ZodOptional<z.ZodEnum<{
|
|
143
482
|
on: "on";
|
|
144
483
|
off: "off";
|
|
484
|
+
auto: "auto";
|
|
145
485
|
}>>;
|
|
146
|
-
|
|
486
|
+
mainGpu: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
|
|
487
|
+
integrated: "integrated";
|
|
488
|
+
dedicated: "dedicated";
|
|
489
|
+
}>]>>;
|
|
490
|
+
verbosity: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
147
491
|
}, z.core.$strip>;
|
|
148
|
-
}, z.core.$
|
|
492
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
149
493
|
type: z.ZodLiteral<"loadModel">;
|
|
150
494
|
modelSrc: z.ZodString;
|
|
151
495
|
modelName: z.ZodOptional<z.ZodString>;
|
|
152
|
-
projectionModelSrc: z.ZodOptional<z.ZodString>;
|
|
153
|
-
vadModelSrc: z.ZodOptional<z.ZodString>;
|
|
154
|
-
detectorModelSrc: z.ZodOptional<z.ZodString>;
|
|
155
496
|
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
156
497
|
seed: z.ZodOptional<z.ZodBoolean>;
|
|
157
498
|
delegate: z.ZodOptional<z.ZodObject<{
|
|
@@ -258,9 +599,161 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
258
599
|
uk: "uk";
|
|
259
600
|
zh: "zh";
|
|
260
601
|
}>;
|
|
261
|
-
|
|
262
|
-
|
|
602
|
+
srcVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
603
|
+
src: z.ZodString;
|
|
604
|
+
name: z.ZodOptional<z.ZodString>;
|
|
605
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
606
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
607
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
608
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
609
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
610
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
611
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
612
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
613
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
614
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
615
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
616
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
617
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
618
|
+
"onnx-tts": "onnx-tts";
|
|
619
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
620
|
+
"onnx-ocr": "onnx-ocr";
|
|
621
|
+
llm: "llm";
|
|
622
|
+
whisper: "whisper";
|
|
623
|
+
embeddings: "embeddings";
|
|
624
|
+
nmt: "nmt";
|
|
625
|
+
parakeet: "parakeet";
|
|
626
|
+
tts: "tts";
|
|
627
|
+
ocr: "ocr";
|
|
628
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
629
|
+
}, z.core.$strip>]>>;
|
|
630
|
+
dstVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
631
|
+
src: z.ZodString;
|
|
632
|
+
name: z.ZodOptional<z.ZodString>;
|
|
633
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
634
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
635
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
636
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
637
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
638
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
639
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
640
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
641
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
642
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
643
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
644
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
645
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
646
|
+
"onnx-tts": "onnx-tts";
|
|
647
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
648
|
+
"onnx-ocr": "onnx-ocr";
|
|
649
|
+
llm: "llm";
|
|
650
|
+
whisper: "whisper";
|
|
651
|
+
embeddings: "embeddings";
|
|
652
|
+
nmt: "nmt";
|
|
653
|
+
parakeet: "parakeet";
|
|
654
|
+
tts: "tts";
|
|
655
|
+
ocr: "ocr";
|
|
656
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
657
|
+
}, z.core.$strip>]>>;
|
|
263
658
|
normalize: z.ZodOptional<z.ZodNumber>;
|
|
659
|
+
pivotModel: z.ZodOptional<z.ZodObject<{
|
|
660
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
661
|
+
full: "full";
|
|
662
|
+
}>>;
|
|
663
|
+
beamsize: z.ZodOptional<z.ZodNumber>;
|
|
664
|
+
lengthpenalty: z.ZodOptional<z.ZodNumber>;
|
|
665
|
+
maxlength: z.ZodOptional<z.ZodNumber>;
|
|
666
|
+
repetitionpenalty: z.ZodOptional<z.ZodNumber>;
|
|
667
|
+
norepeatngramsize: z.ZodOptional<z.ZodNumber>;
|
|
668
|
+
temperature: z.ZodOptional<z.ZodNumber>;
|
|
669
|
+
topk: z.ZodOptional<z.ZodNumber>;
|
|
670
|
+
topp: z.ZodOptional<z.ZodNumber>;
|
|
671
|
+
modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
672
|
+
src: z.ZodString;
|
|
673
|
+
name: z.ZodOptional<z.ZodString>;
|
|
674
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
675
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
676
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
677
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
678
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
679
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
680
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
681
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
682
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
683
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
684
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
685
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
686
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
687
|
+
"onnx-tts": "onnx-tts";
|
|
688
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
689
|
+
"onnx-ocr": "onnx-ocr";
|
|
690
|
+
llm: "llm";
|
|
691
|
+
whisper: "whisper";
|
|
692
|
+
embeddings: "embeddings";
|
|
693
|
+
nmt: "nmt";
|
|
694
|
+
parakeet: "parakeet";
|
|
695
|
+
tts: "tts";
|
|
696
|
+
ocr: "ocr";
|
|
697
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
698
|
+
}, z.core.$strip>]>;
|
|
699
|
+
srcVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
700
|
+
src: z.ZodString;
|
|
701
|
+
name: z.ZodOptional<z.ZodString>;
|
|
702
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
703
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
704
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
705
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
706
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
707
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
708
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
709
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
710
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
711
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
712
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
713
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
714
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
715
|
+
"onnx-tts": "onnx-tts";
|
|
716
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
717
|
+
"onnx-ocr": "onnx-ocr";
|
|
718
|
+
llm: "llm";
|
|
719
|
+
whisper: "whisper";
|
|
720
|
+
embeddings: "embeddings";
|
|
721
|
+
nmt: "nmt";
|
|
722
|
+
parakeet: "parakeet";
|
|
723
|
+
tts: "tts";
|
|
724
|
+
ocr: "ocr";
|
|
725
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
726
|
+
}, z.core.$strip>]>>;
|
|
727
|
+
dstVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
728
|
+
src: z.ZodString;
|
|
729
|
+
name: z.ZodOptional<z.ZodString>;
|
|
730
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
731
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
732
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
733
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
734
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
735
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
736
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
737
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
738
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
739
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
740
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
741
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
742
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
743
|
+
"onnx-tts": "onnx-tts";
|
|
744
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
745
|
+
"onnx-ocr": "onnx-ocr";
|
|
746
|
+
llm: "llm";
|
|
747
|
+
whisper: "whisper";
|
|
748
|
+
embeddings: "embeddings";
|
|
749
|
+
nmt: "nmt";
|
|
750
|
+
parakeet: "parakeet";
|
|
751
|
+
tts: "tts";
|
|
752
|
+
ocr: "ocr";
|
|
753
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
754
|
+
}, z.core.$strip>]>>;
|
|
755
|
+
normalize: z.ZodOptional<z.ZodNumber>;
|
|
756
|
+
}, z.core.$strip>>;
|
|
264
757
|
}, z.core.$strip>, z.ZodObject<{
|
|
265
758
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
266
759
|
full: "full";
|
|
@@ -356,9 +849,84 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
356
849
|
engine: "Bergamot";
|
|
357
850
|
from: "en" | "de" | "es" | "it" | "ru" | "ja" | "ar" | "bg" | "ca" | "cs" | "et" | "fi" | "fr" | "hu" | "is" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "sk" | "sl" | "uk" | "zh";
|
|
358
851
|
to: "en" | "de" | "es" | "it" | "ru" | "ja" | "ar" | "bg" | "ca" | "cs" | "et" | "fi" | "fr" | "hu" | "is" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "sk" | "sl" | "uk" | "zh";
|
|
359
|
-
|
|
360
|
-
|
|
852
|
+
srcVocabSrc?: string | {
|
|
853
|
+
src: string;
|
|
854
|
+
name?: string | undefined;
|
|
855
|
+
modelId?: string | undefined;
|
|
856
|
+
registryPath?: string | undefined;
|
|
857
|
+
registrySource?: string | undefined;
|
|
858
|
+
blobCoreKey?: string | undefined;
|
|
859
|
+
blobIndex?: number | undefined;
|
|
860
|
+
engine?: string | undefined;
|
|
861
|
+
expectedSize?: number | undefined;
|
|
862
|
+
sha256Checksum?: string | undefined;
|
|
863
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
864
|
+
} | undefined;
|
|
865
|
+
dstVocabSrc?: string | {
|
|
866
|
+
src: string;
|
|
867
|
+
name?: string | undefined;
|
|
868
|
+
modelId?: string | undefined;
|
|
869
|
+
registryPath?: string | undefined;
|
|
870
|
+
registrySource?: string | undefined;
|
|
871
|
+
blobCoreKey?: string | undefined;
|
|
872
|
+
blobIndex?: number | undefined;
|
|
873
|
+
engine?: string | undefined;
|
|
874
|
+
expectedSize?: number | undefined;
|
|
875
|
+
sha256Checksum?: string | undefined;
|
|
876
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
877
|
+
} | undefined;
|
|
361
878
|
normalize?: number | undefined;
|
|
879
|
+
pivotModel?: {
|
|
880
|
+
modelSrc: string | {
|
|
881
|
+
src: string;
|
|
882
|
+
name?: string | undefined;
|
|
883
|
+
modelId?: string | undefined;
|
|
884
|
+
registryPath?: string | undefined;
|
|
885
|
+
registrySource?: string | undefined;
|
|
886
|
+
blobCoreKey?: string | undefined;
|
|
887
|
+
blobIndex?: number | undefined;
|
|
888
|
+
engine?: string | undefined;
|
|
889
|
+
expectedSize?: number | undefined;
|
|
890
|
+
sha256Checksum?: string | undefined;
|
|
891
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
892
|
+
};
|
|
893
|
+
mode?: "full" | undefined;
|
|
894
|
+
beamsize?: number | undefined;
|
|
895
|
+
lengthpenalty?: number | undefined;
|
|
896
|
+
maxlength?: number | undefined;
|
|
897
|
+
repetitionpenalty?: number | undefined;
|
|
898
|
+
norepeatngramsize?: number | undefined;
|
|
899
|
+
temperature?: number | undefined;
|
|
900
|
+
topk?: number | undefined;
|
|
901
|
+
topp?: number | undefined;
|
|
902
|
+
srcVocabSrc?: string | {
|
|
903
|
+
src: string;
|
|
904
|
+
name?: string | undefined;
|
|
905
|
+
modelId?: string | undefined;
|
|
906
|
+
registryPath?: string | undefined;
|
|
907
|
+
registrySource?: string | undefined;
|
|
908
|
+
blobCoreKey?: string | undefined;
|
|
909
|
+
blobIndex?: number | undefined;
|
|
910
|
+
engine?: string | undefined;
|
|
911
|
+
expectedSize?: number | undefined;
|
|
912
|
+
sha256Checksum?: string | undefined;
|
|
913
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
914
|
+
} | undefined;
|
|
915
|
+
dstVocabSrc?: string | {
|
|
916
|
+
src: string;
|
|
917
|
+
name?: string | undefined;
|
|
918
|
+
modelId?: string | undefined;
|
|
919
|
+
registryPath?: string | undefined;
|
|
920
|
+
registrySource?: string | undefined;
|
|
921
|
+
blobCoreKey?: string | undefined;
|
|
922
|
+
blobIndex?: number | undefined;
|
|
923
|
+
engine?: string | undefined;
|
|
924
|
+
expectedSize?: number | undefined;
|
|
925
|
+
sha256Checksum?: string | undefined;
|
|
926
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
927
|
+
} | undefined;
|
|
928
|
+
normalize?: number | undefined;
|
|
929
|
+
} | undefined;
|
|
362
930
|
} | {
|
|
363
931
|
mode: "full";
|
|
364
932
|
beamsize: number;
|
|
@@ -398,9 +966,84 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
398
966
|
temperature?: number | undefined;
|
|
399
967
|
topk?: number | undefined;
|
|
400
968
|
topp?: number | undefined;
|
|
401
|
-
|
|
402
|
-
|
|
969
|
+
srcVocabSrc?: string | {
|
|
970
|
+
src: string;
|
|
971
|
+
name?: string | undefined;
|
|
972
|
+
modelId?: string | undefined;
|
|
973
|
+
registryPath?: string | undefined;
|
|
974
|
+
registrySource?: string | undefined;
|
|
975
|
+
blobCoreKey?: string | undefined;
|
|
976
|
+
blobIndex?: number | undefined;
|
|
977
|
+
engine?: string | undefined;
|
|
978
|
+
expectedSize?: number | undefined;
|
|
979
|
+
sha256Checksum?: string | undefined;
|
|
980
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
981
|
+
} | undefined;
|
|
982
|
+
dstVocabSrc?: string | {
|
|
983
|
+
src: string;
|
|
984
|
+
name?: string | undefined;
|
|
985
|
+
modelId?: string | undefined;
|
|
986
|
+
registryPath?: string | undefined;
|
|
987
|
+
registrySource?: string | undefined;
|
|
988
|
+
blobCoreKey?: string | undefined;
|
|
989
|
+
blobIndex?: number | undefined;
|
|
990
|
+
engine?: string | undefined;
|
|
991
|
+
expectedSize?: number | undefined;
|
|
992
|
+
sha256Checksum?: string | undefined;
|
|
993
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
994
|
+
} | undefined;
|
|
403
995
|
normalize?: number | undefined;
|
|
996
|
+
pivotModel?: {
|
|
997
|
+
modelSrc: string | {
|
|
998
|
+
src: string;
|
|
999
|
+
name?: string | undefined;
|
|
1000
|
+
modelId?: string | undefined;
|
|
1001
|
+
registryPath?: string | undefined;
|
|
1002
|
+
registrySource?: string | undefined;
|
|
1003
|
+
blobCoreKey?: string | undefined;
|
|
1004
|
+
blobIndex?: number | undefined;
|
|
1005
|
+
engine?: string | undefined;
|
|
1006
|
+
expectedSize?: number | undefined;
|
|
1007
|
+
sha256Checksum?: string | undefined;
|
|
1008
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1009
|
+
};
|
|
1010
|
+
mode?: "full" | undefined;
|
|
1011
|
+
beamsize?: number | undefined;
|
|
1012
|
+
lengthpenalty?: number | undefined;
|
|
1013
|
+
maxlength?: number | undefined;
|
|
1014
|
+
repetitionpenalty?: number | undefined;
|
|
1015
|
+
norepeatngramsize?: number | undefined;
|
|
1016
|
+
temperature?: number | undefined;
|
|
1017
|
+
topk?: number | undefined;
|
|
1018
|
+
topp?: number | undefined;
|
|
1019
|
+
srcVocabSrc?: string | {
|
|
1020
|
+
src: string;
|
|
1021
|
+
name?: string | undefined;
|
|
1022
|
+
modelId?: string | undefined;
|
|
1023
|
+
registryPath?: string | undefined;
|
|
1024
|
+
registrySource?: string | undefined;
|
|
1025
|
+
blobCoreKey?: string | undefined;
|
|
1026
|
+
blobIndex?: number | undefined;
|
|
1027
|
+
engine?: string | undefined;
|
|
1028
|
+
expectedSize?: number | undefined;
|
|
1029
|
+
sha256Checksum?: string | undefined;
|
|
1030
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
dstVocabSrc?: string | {
|
|
1033
|
+
src: string;
|
|
1034
|
+
name?: string | undefined;
|
|
1035
|
+
modelId?: string | undefined;
|
|
1036
|
+
registryPath?: string | undefined;
|
|
1037
|
+
registrySource?: string | undefined;
|
|
1038
|
+
blobCoreKey?: string | undefined;
|
|
1039
|
+
blobIndex?: number | undefined;
|
|
1040
|
+
engine?: string | undefined;
|
|
1041
|
+
expectedSize?: number | undefined;
|
|
1042
|
+
sha256Checksum?: string | undefined;
|
|
1043
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1044
|
+
} | undefined;
|
|
1045
|
+
normalize?: number | undefined;
|
|
1046
|
+
} | undefined;
|
|
404
1047
|
} | {
|
|
405
1048
|
engine: "IndicTrans";
|
|
406
1049
|
from: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab";
|
|
@@ -415,15 +1058,10 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
415
1058
|
topk?: number | undefined;
|
|
416
1059
|
topp?: number | undefined;
|
|
417
1060
|
}>>;
|
|
418
|
-
|
|
419
|
-
dstVocabSrc: z.ZodOptional<z.ZodString>;
|
|
420
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1061
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
421
1062
|
type: z.ZodLiteral<"loadModel">;
|
|
422
1063
|
modelSrc: z.ZodString;
|
|
423
1064
|
modelName: z.ZodOptional<z.ZodString>;
|
|
424
|
-
projectionModelSrc: z.ZodOptional<z.ZodString>;
|
|
425
|
-
vadModelSrc: z.ZodOptional<z.ZodString>;
|
|
426
|
-
detectorModelSrc: z.ZodOptional<z.ZodString>;
|
|
427
1065
|
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
428
1066
|
seed: z.ZodOptional<z.ZodBoolean>;
|
|
429
1067
|
delegate: z.ZodOptional<z.ZodObject<{
|
|
@@ -442,12 +1080,174 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
442
1080
|
es: "es";
|
|
443
1081
|
it: "it";
|
|
444
1082
|
}>;
|
|
445
|
-
ttsTokenizerSrc: z.ZodString
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
1083
|
+
ttsTokenizerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1084
|
+
src: z.ZodString;
|
|
1085
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1086
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1087
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1088
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1090
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1091
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1092
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1093
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1094
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1095
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1096
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1097
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1098
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1099
|
+
"onnx-tts": "onnx-tts";
|
|
1100
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1101
|
+
"onnx-ocr": "onnx-ocr";
|
|
1102
|
+
llm: "llm";
|
|
1103
|
+
whisper: "whisper";
|
|
1104
|
+
embeddings: "embeddings";
|
|
1105
|
+
nmt: "nmt";
|
|
1106
|
+
parakeet: "parakeet";
|
|
1107
|
+
tts: "tts";
|
|
1108
|
+
ocr: "ocr";
|
|
1109
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1110
|
+
}, z.core.$strip>]>;
|
|
1111
|
+
ttsSpeechEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1112
|
+
src: z.ZodString;
|
|
1113
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1119
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1121
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1123
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1124
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1125
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1126
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1127
|
+
"onnx-tts": "onnx-tts";
|
|
1128
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1129
|
+
"onnx-ocr": "onnx-ocr";
|
|
1130
|
+
llm: "llm";
|
|
1131
|
+
whisper: "whisper";
|
|
1132
|
+
embeddings: "embeddings";
|
|
1133
|
+
nmt: "nmt";
|
|
1134
|
+
parakeet: "parakeet";
|
|
1135
|
+
tts: "tts";
|
|
1136
|
+
ocr: "ocr";
|
|
1137
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1138
|
+
}, z.core.$strip>]>;
|
|
1139
|
+
ttsEmbedTokensSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1140
|
+
src: z.ZodString;
|
|
1141
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1142
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1146
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1147
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1148
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1149
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1151
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1152
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1153
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1154
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1155
|
+
"onnx-tts": "onnx-tts";
|
|
1156
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1157
|
+
"onnx-ocr": "onnx-ocr";
|
|
1158
|
+
llm: "llm";
|
|
1159
|
+
whisper: "whisper";
|
|
1160
|
+
embeddings: "embeddings";
|
|
1161
|
+
nmt: "nmt";
|
|
1162
|
+
parakeet: "parakeet";
|
|
1163
|
+
tts: "tts";
|
|
1164
|
+
ocr: "ocr";
|
|
1165
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1166
|
+
}, z.core.$strip>]>;
|
|
1167
|
+
ttsConditionalDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1168
|
+
src: z.ZodString;
|
|
1169
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1171
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1172
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1173
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1175
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1176
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1177
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1178
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1179
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1180
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1181
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1182
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1183
|
+
"onnx-tts": "onnx-tts";
|
|
1184
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1185
|
+
"onnx-ocr": "onnx-ocr";
|
|
1186
|
+
llm: "llm";
|
|
1187
|
+
whisper: "whisper";
|
|
1188
|
+
embeddings: "embeddings";
|
|
1189
|
+
nmt: "nmt";
|
|
1190
|
+
parakeet: "parakeet";
|
|
1191
|
+
tts: "tts";
|
|
1192
|
+
ocr: "ocr";
|
|
1193
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1194
|
+
}, z.core.$strip>]>;
|
|
1195
|
+
ttsLanguageModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1196
|
+
src: z.ZodString;
|
|
1197
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1198
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1200
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1201
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1202
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1203
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1204
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1205
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1206
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1207
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1208
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1209
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1210
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1211
|
+
"onnx-tts": "onnx-tts";
|
|
1212
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1213
|
+
"onnx-ocr": "onnx-ocr";
|
|
1214
|
+
llm: "llm";
|
|
1215
|
+
whisper: "whisper";
|
|
1216
|
+
embeddings: "embeddings";
|
|
1217
|
+
nmt: "nmt";
|
|
1218
|
+
parakeet: "parakeet";
|
|
1219
|
+
tts: "tts";
|
|
1220
|
+
ocr: "ocr";
|
|
1221
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1222
|
+
}, z.core.$strip>]>;
|
|
1223
|
+
referenceAudioSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1224
|
+
src: z.ZodString;
|
|
1225
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1227
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1229
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1231
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1232
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1233
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1234
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1235
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1236
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1237
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1238
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1239
|
+
"onnx-tts": "onnx-tts";
|
|
1240
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1241
|
+
"onnx-ocr": "onnx-ocr";
|
|
1242
|
+
llm: "llm";
|
|
1243
|
+
whisper: "whisper";
|
|
1244
|
+
embeddings: "embeddings";
|
|
1245
|
+
nmt: "nmt";
|
|
1246
|
+
parakeet: "parakeet";
|
|
1247
|
+
tts: "tts";
|
|
1248
|
+
ocr: "ocr";
|
|
1249
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1250
|
+
}, z.core.$strip>]>;
|
|
451
1251
|
}, z.core.$strip>, z.ZodObject<{
|
|
452
1252
|
ttsEngine: z.ZodLiteral<"supertonic">;
|
|
453
1253
|
language: z.ZodEnum<{
|
|
@@ -456,21 +1256,153 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
456
1256
|
es: "es";
|
|
457
1257
|
it: "it";
|
|
458
1258
|
}>;
|
|
459
|
-
ttsTokenizerSrc: z.ZodString;
|
|
460
|
-
ttsTextEncoderSrc: z.ZodString;
|
|
461
|
-
ttsLatentDenoiserSrc: z.ZodString;
|
|
462
|
-
ttsVoiceDecoderSrc: z.ZodString;
|
|
463
|
-
ttsVoiceSrc: z.ZodString;
|
|
464
1259
|
ttsSpeed: z.ZodOptional<z.ZodNumber>;
|
|
465
1260
|
ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
|
|
1261
|
+
ttsTokenizerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1262
|
+
src: z.ZodString;
|
|
1263
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1264
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1265
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1267
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1268
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1269
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1270
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1271
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1272
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1273
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1274
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1275
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1276
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1277
|
+
"onnx-tts": "onnx-tts";
|
|
1278
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1279
|
+
"onnx-ocr": "onnx-ocr";
|
|
1280
|
+
llm: "llm";
|
|
1281
|
+
whisper: "whisper";
|
|
1282
|
+
embeddings: "embeddings";
|
|
1283
|
+
nmt: "nmt";
|
|
1284
|
+
parakeet: "parakeet";
|
|
1285
|
+
tts: "tts";
|
|
1286
|
+
ocr: "ocr";
|
|
1287
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1288
|
+
}, z.core.$strip>]>;
|
|
1289
|
+
ttsTextEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1290
|
+
src: z.ZodString;
|
|
1291
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1292
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1293
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1294
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1297
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1298
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1299
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1300
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1301
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1302
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1303
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1304
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1305
|
+
"onnx-tts": "onnx-tts";
|
|
1306
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1307
|
+
"onnx-ocr": "onnx-ocr";
|
|
1308
|
+
llm: "llm";
|
|
1309
|
+
whisper: "whisper";
|
|
1310
|
+
embeddings: "embeddings";
|
|
1311
|
+
nmt: "nmt";
|
|
1312
|
+
parakeet: "parakeet";
|
|
1313
|
+
tts: "tts";
|
|
1314
|
+
ocr: "ocr";
|
|
1315
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1316
|
+
}, z.core.$strip>]>;
|
|
1317
|
+
ttsLatentDenoiserSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1318
|
+
src: z.ZodString;
|
|
1319
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1320
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1322
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1325
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1327
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1329
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1330
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1331
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1332
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1333
|
+
"onnx-tts": "onnx-tts";
|
|
1334
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1335
|
+
"onnx-ocr": "onnx-ocr";
|
|
1336
|
+
llm: "llm";
|
|
1337
|
+
whisper: "whisper";
|
|
1338
|
+
embeddings: "embeddings";
|
|
1339
|
+
nmt: "nmt";
|
|
1340
|
+
parakeet: "parakeet";
|
|
1341
|
+
tts: "tts";
|
|
1342
|
+
ocr: "ocr";
|
|
1343
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1344
|
+
}, z.core.$strip>]>;
|
|
1345
|
+
ttsVoiceDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1346
|
+
src: z.ZodString;
|
|
1347
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1349
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1351
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1352
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1353
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1355
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1356
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1357
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1358
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1359
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1360
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1361
|
+
"onnx-tts": "onnx-tts";
|
|
1362
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1363
|
+
"onnx-ocr": "onnx-ocr";
|
|
1364
|
+
llm: "llm";
|
|
1365
|
+
whisper: "whisper";
|
|
1366
|
+
embeddings: "embeddings";
|
|
1367
|
+
nmt: "nmt";
|
|
1368
|
+
parakeet: "parakeet";
|
|
1369
|
+
tts: "tts";
|
|
1370
|
+
ocr: "ocr";
|
|
1371
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1372
|
+
}, z.core.$strip>]>;
|
|
1373
|
+
ttsVoiceSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1374
|
+
src: z.ZodString;
|
|
1375
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1376
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1380
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1381
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1382
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1383
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1384
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1385
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1386
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1387
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1388
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1389
|
+
"onnx-tts": "onnx-tts";
|
|
1390
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1391
|
+
"onnx-ocr": "onnx-ocr";
|
|
1392
|
+
llm: "llm";
|
|
1393
|
+
whisper: "whisper";
|
|
1394
|
+
embeddings: "embeddings";
|
|
1395
|
+
nmt: "nmt";
|
|
1396
|
+
parakeet: "parakeet";
|
|
1397
|
+
tts: "tts";
|
|
1398
|
+
ocr: "ocr";
|
|
1399
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1400
|
+
}, z.core.$strip>]>;
|
|
466
1401
|
}, z.core.$strip>]>;
|
|
467
|
-
}, z.core.$
|
|
1402
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
468
1403
|
type: z.ZodLiteral<"loadModel">;
|
|
469
1404
|
modelSrc: z.ZodString;
|
|
470
1405
|
modelName: z.ZodOptional<z.ZodString>;
|
|
471
|
-
projectionModelSrc: z.ZodOptional<z.ZodString>;
|
|
472
|
-
vadModelSrc: z.ZodOptional<z.ZodString>;
|
|
473
|
-
detectorModelSrc: z.ZodOptional<z.ZodString>;
|
|
474
1406
|
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
475
1407
|
seed: z.ZodOptional<z.ZodBoolean>;
|
|
476
1408
|
delegate: z.ZodOptional<z.ZodObject<{
|
|
@@ -485,19 +1417,53 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
485
1417
|
langList: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
486
1418
|
useGPU: z.ZodOptional<z.ZodBoolean>;
|
|
487
1419
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1420
|
+
pipelineMode: z.ZodOptional<z.ZodEnum<{
|
|
1421
|
+
easyocr: "easyocr";
|
|
1422
|
+
doctr: "doctr";
|
|
1423
|
+
}>>;
|
|
488
1424
|
magRatio: z.ZodOptional<z.ZodNumber>;
|
|
489
1425
|
defaultRotationAngles: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
490
1426
|
contrastRetry: z.ZodOptional<z.ZodBoolean>;
|
|
491
1427
|
lowConfidenceThreshold: z.ZodOptional<z.ZodNumber>;
|
|
492
1428
|
recognizerBatchSize: z.ZodOptional<z.ZodNumber>;
|
|
1429
|
+
decodingMethod: z.ZodOptional<z.ZodEnum<{
|
|
1430
|
+
attention: "attention";
|
|
1431
|
+
ctc: "ctc";
|
|
1432
|
+
}>>;
|
|
1433
|
+
straightenPages: z.ZodOptional<z.ZodBoolean>;
|
|
1434
|
+
detectorModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1435
|
+
src: z.ZodString;
|
|
1436
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
1439
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
1440
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
1441
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
1442
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
1443
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
1444
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
1445
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1446
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
1447
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
1448
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
1449
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
1450
|
+
"onnx-tts": "onnx-tts";
|
|
1451
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1452
|
+
"onnx-ocr": "onnx-ocr";
|
|
1453
|
+
llm: "llm";
|
|
1454
|
+
whisper: "whisper";
|
|
1455
|
+
embeddings: "embeddings";
|
|
1456
|
+
nmt: "nmt";
|
|
1457
|
+
parakeet: "parakeet";
|
|
1458
|
+
tts: "tts";
|
|
1459
|
+
ocr: "ocr";
|
|
1460
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
1461
|
+
}, z.core.$strip>]>>;
|
|
493
1462
|
}, z.core.$strip>;
|
|
494
|
-
}, z.core.$
|
|
1463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
495
1464
|
type: z.ZodLiteral<"loadModel">;
|
|
496
1465
|
modelSrc: z.ZodString;
|
|
497
1466
|
modelName: z.ZodOptional<z.ZodString>;
|
|
498
|
-
projectionModelSrc: z.ZodOptional<z.ZodString>;
|
|
499
|
-
vadModelSrc: z.ZodOptional<z.ZodString>;
|
|
500
|
-
detectorModelSrc: z.ZodOptional<z.ZodString>;
|
|
501
1467
|
withProgress: z.ZodOptional<z.ZodBoolean>;
|
|
502
1468
|
seed: z.ZodOptional<z.ZodBoolean>;
|
|
503
1469
|
delegate: z.ZodOptional<z.ZodObject<{
|
|
@@ -533,11 +1499,21 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
533
1499
|
stop_sequences?: string[] | undefined;
|
|
534
1500
|
n_discarded?: number | undefined;
|
|
535
1501
|
tools?: boolean | undefined;
|
|
1502
|
+
projectionModelSrc?: string | {
|
|
1503
|
+
src: string;
|
|
1504
|
+
name?: string | undefined;
|
|
1505
|
+
modelId?: string | undefined;
|
|
1506
|
+
registryPath?: string | undefined;
|
|
1507
|
+
registrySource?: string | undefined;
|
|
1508
|
+
blobCoreKey?: string | undefined;
|
|
1509
|
+
blobIndex?: number | undefined;
|
|
1510
|
+
engine?: string | undefined;
|
|
1511
|
+
expectedSize?: number | undefined;
|
|
1512
|
+
sha256Checksum?: string | undefined;
|
|
1513
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1514
|
+
} | undefined;
|
|
536
1515
|
};
|
|
537
1516
|
modelName?: string | undefined;
|
|
538
|
-
projectionModelSrc?: string | undefined;
|
|
539
|
-
vadModelSrc?: string | undefined;
|
|
540
|
-
detectorModelSrc?: string | undefined;
|
|
541
1517
|
withProgress?: boolean | undefined;
|
|
542
1518
|
delegate?: {
|
|
543
1519
|
topic: string;
|
|
@@ -587,7 +1563,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
587
1563
|
logprob_thold?: number | undefined;
|
|
588
1564
|
greedy_best_of?: number | undefined;
|
|
589
1565
|
beam_search_beam_size?: number | undefined;
|
|
590
|
-
vad_model_path?: string | undefined;
|
|
591
1566
|
vad_params?: {
|
|
592
1567
|
threshold?: number | undefined;
|
|
593
1568
|
min_speech_duration_ms?: number | undefined;
|
|
@@ -606,11 +1581,161 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
606
1581
|
miscConfig?: {
|
|
607
1582
|
caption_enabled?: boolean | undefined;
|
|
608
1583
|
} | undefined;
|
|
1584
|
+
vadModelSrc?: string | {
|
|
1585
|
+
src: string;
|
|
1586
|
+
name?: string | undefined;
|
|
1587
|
+
modelId?: string | undefined;
|
|
1588
|
+
registryPath?: string | undefined;
|
|
1589
|
+
registrySource?: string | undefined;
|
|
1590
|
+
blobCoreKey?: string | undefined;
|
|
1591
|
+
blobIndex?: number | undefined;
|
|
1592
|
+
engine?: string | undefined;
|
|
1593
|
+
expectedSize?: number | undefined;
|
|
1594
|
+
sha256Checksum?: string | undefined;
|
|
1595
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1596
|
+
} | undefined;
|
|
1597
|
+
};
|
|
1598
|
+
modelName?: string | undefined;
|
|
1599
|
+
withProgress?: boolean | undefined;
|
|
1600
|
+
delegate?: {
|
|
1601
|
+
topic: string;
|
|
1602
|
+
providerPublicKey: string;
|
|
1603
|
+
fallbackToLocal: boolean;
|
|
1604
|
+
forceNewConnection: boolean;
|
|
1605
|
+
timeout?: number | undefined;
|
|
1606
|
+
} | undefined;
|
|
1607
|
+
} | {
|
|
1608
|
+
seed: boolean;
|
|
1609
|
+
type: "loadModel";
|
|
1610
|
+
modelSrc: string;
|
|
1611
|
+
modelType: "parakeet-transcription";
|
|
1612
|
+
modelConfig: {
|
|
1613
|
+
modelType: "tdt" | "ctc" | "sortformer";
|
|
1614
|
+
maxThreads?: number | undefined;
|
|
1615
|
+
useGPU?: boolean | undefined;
|
|
1616
|
+
sampleRate?: number | undefined;
|
|
1617
|
+
channels?: number | undefined;
|
|
1618
|
+
captionEnabled?: boolean | undefined;
|
|
1619
|
+
timestampsEnabled?: boolean | undefined;
|
|
1620
|
+
parakeetEncoderSrc?: string | {
|
|
1621
|
+
src: string;
|
|
1622
|
+
name?: string | undefined;
|
|
1623
|
+
modelId?: string | undefined;
|
|
1624
|
+
registryPath?: string | undefined;
|
|
1625
|
+
registrySource?: string | undefined;
|
|
1626
|
+
blobCoreKey?: string | undefined;
|
|
1627
|
+
blobIndex?: number | undefined;
|
|
1628
|
+
engine?: string | undefined;
|
|
1629
|
+
expectedSize?: number | undefined;
|
|
1630
|
+
sha256Checksum?: string | undefined;
|
|
1631
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1632
|
+
} | undefined;
|
|
1633
|
+
parakeetEncoderDataSrc?: string | {
|
|
1634
|
+
src: string;
|
|
1635
|
+
name?: string | undefined;
|
|
1636
|
+
modelId?: string | undefined;
|
|
1637
|
+
registryPath?: string | undefined;
|
|
1638
|
+
registrySource?: string | undefined;
|
|
1639
|
+
blobCoreKey?: string | undefined;
|
|
1640
|
+
blobIndex?: number | undefined;
|
|
1641
|
+
engine?: string | undefined;
|
|
1642
|
+
expectedSize?: number | undefined;
|
|
1643
|
+
sha256Checksum?: string | undefined;
|
|
1644
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1645
|
+
} | undefined;
|
|
1646
|
+
parakeetDecoderSrc?: string | {
|
|
1647
|
+
src: string;
|
|
1648
|
+
name?: string | undefined;
|
|
1649
|
+
modelId?: string | undefined;
|
|
1650
|
+
registryPath?: string | undefined;
|
|
1651
|
+
registrySource?: string | undefined;
|
|
1652
|
+
blobCoreKey?: string | undefined;
|
|
1653
|
+
blobIndex?: number | undefined;
|
|
1654
|
+
engine?: string | undefined;
|
|
1655
|
+
expectedSize?: number | undefined;
|
|
1656
|
+
sha256Checksum?: string | undefined;
|
|
1657
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1658
|
+
} | undefined;
|
|
1659
|
+
parakeetVocabSrc?: string | {
|
|
1660
|
+
src: string;
|
|
1661
|
+
name?: string | undefined;
|
|
1662
|
+
modelId?: string | undefined;
|
|
1663
|
+
registryPath?: string | undefined;
|
|
1664
|
+
registrySource?: string | undefined;
|
|
1665
|
+
blobCoreKey?: string | undefined;
|
|
1666
|
+
blobIndex?: number | undefined;
|
|
1667
|
+
engine?: string | undefined;
|
|
1668
|
+
expectedSize?: number | undefined;
|
|
1669
|
+
sha256Checksum?: string | undefined;
|
|
1670
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1671
|
+
} | undefined;
|
|
1672
|
+
parakeetPreprocessorSrc?: string | {
|
|
1673
|
+
src: string;
|
|
1674
|
+
name?: string | undefined;
|
|
1675
|
+
modelId?: string | undefined;
|
|
1676
|
+
registryPath?: string | undefined;
|
|
1677
|
+
registrySource?: string | undefined;
|
|
1678
|
+
blobCoreKey?: string | undefined;
|
|
1679
|
+
blobIndex?: number | undefined;
|
|
1680
|
+
engine?: string | undefined;
|
|
1681
|
+
expectedSize?: number | undefined;
|
|
1682
|
+
sha256Checksum?: string | undefined;
|
|
1683
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1684
|
+
} | undefined;
|
|
1685
|
+
parakeetCtcModelSrc?: string | {
|
|
1686
|
+
src: string;
|
|
1687
|
+
name?: string | undefined;
|
|
1688
|
+
modelId?: string | undefined;
|
|
1689
|
+
registryPath?: string | undefined;
|
|
1690
|
+
registrySource?: string | undefined;
|
|
1691
|
+
blobCoreKey?: string | undefined;
|
|
1692
|
+
blobIndex?: number | undefined;
|
|
1693
|
+
engine?: string | undefined;
|
|
1694
|
+
expectedSize?: number | undefined;
|
|
1695
|
+
sha256Checksum?: string | undefined;
|
|
1696
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1697
|
+
} | undefined;
|
|
1698
|
+
parakeetCtcModelDataSrc?: string | {
|
|
1699
|
+
src: string;
|
|
1700
|
+
name?: string | undefined;
|
|
1701
|
+
modelId?: string | undefined;
|
|
1702
|
+
registryPath?: string | undefined;
|
|
1703
|
+
registrySource?: string | undefined;
|
|
1704
|
+
blobCoreKey?: string | undefined;
|
|
1705
|
+
blobIndex?: number | undefined;
|
|
1706
|
+
engine?: string | undefined;
|
|
1707
|
+
expectedSize?: number | undefined;
|
|
1708
|
+
sha256Checksum?: string | undefined;
|
|
1709
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1710
|
+
} | undefined;
|
|
1711
|
+
parakeetTokenizerSrc?: string | {
|
|
1712
|
+
src: string;
|
|
1713
|
+
name?: string | undefined;
|
|
1714
|
+
modelId?: string | undefined;
|
|
1715
|
+
registryPath?: string | undefined;
|
|
1716
|
+
registrySource?: string | undefined;
|
|
1717
|
+
blobCoreKey?: string | undefined;
|
|
1718
|
+
blobIndex?: number | undefined;
|
|
1719
|
+
engine?: string | undefined;
|
|
1720
|
+
expectedSize?: number | undefined;
|
|
1721
|
+
sha256Checksum?: string | undefined;
|
|
1722
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1723
|
+
} | undefined;
|
|
1724
|
+
parakeetSortformerSrc?: string | {
|
|
1725
|
+
src: string;
|
|
1726
|
+
name?: string | undefined;
|
|
1727
|
+
modelId?: string | undefined;
|
|
1728
|
+
registryPath?: string | undefined;
|
|
1729
|
+
registrySource?: string | undefined;
|
|
1730
|
+
blobCoreKey?: string | undefined;
|
|
1731
|
+
blobIndex?: number | undefined;
|
|
1732
|
+
engine?: string | undefined;
|
|
1733
|
+
expectedSize?: number | undefined;
|
|
1734
|
+
sha256Checksum?: string | undefined;
|
|
1735
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1736
|
+
} | undefined;
|
|
609
1737
|
};
|
|
610
1738
|
modelName?: string | undefined;
|
|
611
|
-
projectionModelSrc?: string | undefined;
|
|
612
|
-
vadModelSrc?: string | undefined;
|
|
613
|
-
detectorModelSrc?: string | undefined;
|
|
614
1739
|
withProgress?: boolean | undefined;
|
|
615
1740
|
delegate?: {
|
|
616
1741
|
topic: string;
|
|
@@ -626,16 +1751,16 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
626
1751
|
modelType: "llamacpp-embedding";
|
|
627
1752
|
modelConfig: {
|
|
628
1753
|
gpuLayers?: number | undefined;
|
|
629
|
-
device?:
|
|
1754
|
+
device?: "gpu" | "cpu" | undefined;
|
|
630
1755
|
batchSize?: number | undefined;
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
1756
|
+
pooling?: "none" | "mean" | "cls" | "last" | "rank" | undefined;
|
|
1757
|
+
attention?: "causal" | "non-causal" | undefined;
|
|
1758
|
+
embdNormalize?: number | undefined;
|
|
1759
|
+
flashAttention?: "on" | "off" | "auto" | undefined;
|
|
1760
|
+
mainGpu?: number | "integrated" | "dedicated" | undefined;
|
|
1761
|
+
verbosity?: 0 | 3 | 2 | 1 | undefined;
|
|
634
1762
|
};
|
|
635
1763
|
modelName?: string | undefined;
|
|
636
|
-
projectionModelSrc?: string | undefined;
|
|
637
|
-
vadModelSrc?: string | undefined;
|
|
638
|
-
detectorModelSrc?: string | undefined;
|
|
639
1764
|
withProgress?: boolean | undefined;
|
|
640
1765
|
delegate?: {
|
|
641
1766
|
topic: string;
|
|
@@ -675,9 +1800,84 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
675
1800
|
engine: "Bergamot";
|
|
676
1801
|
from: "en" | "de" | "es" | "it" | "ru" | "ja" | "ar" | "bg" | "ca" | "cs" | "et" | "fi" | "fr" | "hu" | "is" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "sk" | "sl" | "uk" | "zh";
|
|
677
1802
|
to: "en" | "de" | "es" | "it" | "ru" | "ja" | "ar" | "bg" | "ca" | "cs" | "et" | "fi" | "fr" | "hu" | "is" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "sk" | "sl" | "uk" | "zh";
|
|
678
|
-
|
|
679
|
-
|
|
1803
|
+
srcVocabSrc?: string | {
|
|
1804
|
+
src: string;
|
|
1805
|
+
name?: string | undefined;
|
|
1806
|
+
modelId?: string | undefined;
|
|
1807
|
+
registryPath?: string | undefined;
|
|
1808
|
+
registrySource?: string | undefined;
|
|
1809
|
+
blobCoreKey?: string | undefined;
|
|
1810
|
+
blobIndex?: number | undefined;
|
|
1811
|
+
engine?: string | undefined;
|
|
1812
|
+
expectedSize?: number | undefined;
|
|
1813
|
+
sha256Checksum?: string | undefined;
|
|
1814
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1815
|
+
} | undefined;
|
|
1816
|
+
dstVocabSrc?: string | {
|
|
1817
|
+
src: string;
|
|
1818
|
+
name?: string | undefined;
|
|
1819
|
+
modelId?: string | undefined;
|
|
1820
|
+
registryPath?: string | undefined;
|
|
1821
|
+
registrySource?: string | undefined;
|
|
1822
|
+
blobCoreKey?: string | undefined;
|
|
1823
|
+
blobIndex?: number | undefined;
|
|
1824
|
+
engine?: string | undefined;
|
|
1825
|
+
expectedSize?: number | undefined;
|
|
1826
|
+
sha256Checksum?: string | undefined;
|
|
1827
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1828
|
+
} | undefined;
|
|
680
1829
|
normalize?: number | undefined;
|
|
1830
|
+
pivotModel?: {
|
|
1831
|
+
modelSrc: string | {
|
|
1832
|
+
src: string;
|
|
1833
|
+
name?: string | undefined;
|
|
1834
|
+
modelId?: string | undefined;
|
|
1835
|
+
registryPath?: string | undefined;
|
|
1836
|
+
registrySource?: string | undefined;
|
|
1837
|
+
blobCoreKey?: string | undefined;
|
|
1838
|
+
blobIndex?: number | undefined;
|
|
1839
|
+
engine?: string | undefined;
|
|
1840
|
+
expectedSize?: number | undefined;
|
|
1841
|
+
sha256Checksum?: string | undefined;
|
|
1842
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1843
|
+
};
|
|
1844
|
+
mode?: "full" | undefined;
|
|
1845
|
+
beamsize?: number | undefined;
|
|
1846
|
+
lengthpenalty?: number | undefined;
|
|
1847
|
+
maxlength?: number | undefined;
|
|
1848
|
+
repetitionpenalty?: number | undefined;
|
|
1849
|
+
norepeatngramsize?: number | undefined;
|
|
1850
|
+
temperature?: number | undefined;
|
|
1851
|
+
topk?: number | undefined;
|
|
1852
|
+
topp?: number | undefined;
|
|
1853
|
+
srcVocabSrc?: string | {
|
|
1854
|
+
src: string;
|
|
1855
|
+
name?: string | undefined;
|
|
1856
|
+
modelId?: string | undefined;
|
|
1857
|
+
registryPath?: string | undefined;
|
|
1858
|
+
registrySource?: string | undefined;
|
|
1859
|
+
blobCoreKey?: string | undefined;
|
|
1860
|
+
blobIndex?: number | undefined;
|
|
1861
|
+
engine?: string | undefined;
|
|
1862
|
+
expectedSize?: number | undefined;
|
|
1863
|
+
sha256Checksum?: string | undefined;
|
|
1864
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1865
|
+
} | undefined;
|
|
1866
|
+
dstVocabSrc?: string | {
|
|
1867
|
+
src: string;
|
|
1868
|
+
name?: string | undefined;
|
|
1869
|
+
modelId?: string | undefined;
|
|
1870
|
+
registryPath?: string | undefined;
|
|
1871
|
+
registrySource?: string | undefined;
|
|
1872
|
+
blobCoreKey?: string | undefined;
|
|
1873
|
+
blobIndex?: number | undefined;
|
|
1874
|
+
engine?: string | undefined;
|
|
1875
|
+
expectedSize?: number | undefined;
|
|
1876
|
+
sha256Checksum?: string | undefined;
|
|
1877
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1878
|
+
} | undefined;
|
|
1879
|
+
normalize?: number | undefined;
|
|
1880
|
+
} | undefined;
|
|
681
1881
|
} | {
|
|
682
1882
|
mode: "full";
|
|
683
1883
|
beamsize: number;
|
|
@@ -693,9 +1893,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
693
1893
|
to: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab";
|
|
694
1894
|
};
|
|
695
1895
|
modelName?: string | undefined;
|
|
696
|
-
projectionModelSrc?: string | undefined;
|
|
697
|
-
vadModelSrc?: string | undefined;
|
|
698
|
-
detectorModelSrc?: string | undefined;
|
|
699
1896
|
withProgress?: boolean | undefined;
|
|
700
1897
|
delegate?: {
|
|
701
1898
|
topic: string;
|
|
@@ -704,8 +1901,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
704
1901
|
forceNewConnection: boolean;
|
|
705
1902
|
timeout?: number | undefined;
|
|
706
1903
|
} | undefined;
|
|
707
|
-
srcVocabSrc?: string | undefined;
|
|
708
|
-
dstVocabSrc?: string | undefined;
|
|
709
1904
|
} | {
|
|
710
1905
|
seed: boolean;
|
|
711
1906
|
type: "loadModel";
|
|
@@ -714,27 +1909,156 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
714
1909
|
modelConfig: {
|
|
715
1910
|
ttsEngine: "chatterbox";
|
|
716
1911
|
language: "en" | "de" | "es" | "it";
|
|
717
|
-
ttsTokenizerSrc: string
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
1912
|
+
ttsTokenizerSrc: string | {
|
|
1913
|
+
src: string;
|
|
1914
|
+
name?: string | undefined;
|
|
1915
|
+
modelId?: string | undefined;
|
|
1916
|
+
registryPath?: string | undefined;
|
|
1917
|
+
registrySource?: string | undefined;
|
|
1918
|
+
blobCoreKey?: string | undefined;
|
|
1919
|
+
blobIndex?: number | undefined;
|
|
1920
|
+
engine?: string | undefined;
|
|
1921
|
+
expectedSize?: number | undefined;
|
|
1922
|
+
sha256Checksum?: string | undefined;
|
|
1923
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1924
|
+
};
|
|
1925
|
+
ttsSpeechEncoderSrc: string | {
|
|
1926
|
+
src: string;
|
|
1927
|
+
name?: string | undefined;
|
|
1928
|
+
modelId?: string | undefined;
|
|
1929
|
+
registryPath?: string | undefined;
|
|
1930
|
+
registrySource?: string | undefined;
|
|
1931
|
+
blobCoreKey?: string | undefined;
|
|
1932
|
+
blobIndex?: number | undefined;
|
|
1933
|
+
engine?: string | undefined;
|
|
1934
|
+
expectedSize?: number | undefined;
|
|
1935
|
+
sha256Checksum?: string | undefined;
|
|
1936
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1937
|
+
};
|
|
1938
|
+
ttsEmbedTokensSrc: string | {
|
|
1939
|
+
src: string;
|
|
1940
|
+
name?: string | undefined;
|
|
1941
|
+
modelId?: string | undefined;
|
|
1942
|
+
registryPath?: string | undefined;
|
|
1943
|
+
registrySource?: string | undefined;
|
|
1944
|
+
blobCoreKey?: string | undefined;
|
|
1945
|
+
blobIndex?: number | undefined;
|
|
1946
|
+
engine?: string | undefined;
|
|
1947
|
+
expectedSize?: number | undefined;
|
|
1948
|
+
sha256Checksum?: string | undefined;
|
|
1949
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1950
|
+
};
|
|
1951
|
+
ttsConditionalDecoderSrc: string | {
|
|
1952
|
+
src: string;
|
|
1953
|
+
name?: string | undefined;
|
|
1954
|
+
modelId?: string | undefined;
|
|
1955
|
+
registryPath?: string | undefined;
|
|
1956
|
+
registrySource?: string | undefined;
|
|
1957
|
+
blobCoreKey?: string | undefined;
|
|
1958
|
+
blobIndex?: number | undefined;
|
|
1959
|
+
engine?: string | undefined;
|
|
1960
|
+
expectedSize?: number | undefined;
|
|
1961
|
+
sha256Checksum?: string | undefined;
|
|
1962
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1963
|
+
};
|
|
1964
|
+
ttsLanguageModelSrc: string | {
|
|
1965
|
+
src: string;
|
|
1966
|
+
name?: string | undefined;
|
|
1967
|
+
modelId?: string | undefined;
|
|
1968
|
+
registryPath?: string | undefined;
|
|
1969
|
+
registrySource?: string | undefined;
|
|
1970
|
+
blobCoreKey?: string | undefined;
|
|
1971
|
+
blobIndex?: number | undefined;
|
|
1972
|
+
engine?: string | undefined;
|
|
1973
|
+
expectedSize?: number | undefined;
|
|
1974
|
+
sha256Checksum?: string | undefined;
|
|
1975
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1976
|
+
};
|
|
1977
|
+
referenceAudioSrc: string | {
|
|
1978
|
+
src: string;
|
|
1979
|
+
name?: string | undefined;
|
|
1980
|
+
modelId?: string | undefined;
|
|
1981
|
+
registryPath?: string | undefined;
|
|
1982
|
+
registrySource?: string | undefined;
|
|
1983
|
+
blobCoreKey?: string | undefined;
|
|
1984
|
+
blobIndex?: number | undefined;
|
|
1985
|
+
engine?: string | undefined;
|
|
1986
|
+
expectedSize?: number | undefined;
|
|
1987
|
+
sha256Checksum?: string | undefined;
|
|
1988
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
1989
|
+
};
|
|
723
1990
|
} | {
|
|
724
1991
|
ttsEngine: "supertonic";
|
|
725
1992
|
language: "en" | "de" | "es" | "it";
|
|
726
|
-
ttsTokenizerSrc: string
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
1993
|
+
ttsTokenizerSrc: string | {
|
|
1994
|
+
src: string;
|
|
1995
|
+
name?: string | undefined;
|
|
1996
|
+
modelId?: string | undefined;
|
|
1997
|
+
registryPath?: string | undefined;
|
|
1998
|
+
registrySource?: string | undefined;
|
|
1999
|
+
blobCoreKey?: string | undefined;
|
|
2000
|
+
blobIndex?: number | undefined;
|
|
2001
|
+
engine?: string | undefined;
|
|
2002
|
+
expectedSize?: number | undefined;
|
|
2003
|
+
sha256Checksum?: string | undefined;
|
|
2004
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2005
|
+
};
|
|
2006
|
+
ttsTextEncoderSrc: string | {
|
|
2007
|
+
src: string;
|
|
2008
|
+
name?: string | undefined;
|
|
2009
|
+
modelId?: string | undefined;
|
|
2010
|
+
registryPath?: string | undefined;
|
|
2011
|
+
registrySource?: string | undefined;
|
|
2012
|
+
blobCoreKey?: string | undefined;
|
|
2013
|
+
blobIndex?: number | undefined;
|
|
2014
|
+
engine?: string | undefined;
|
|
2015
|
+
expectedSize?: number | undefined;
|
|
2016
|
+
sha256Checksum?: string | undefined;
|
|
2017
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2018
|
+
};
|
|
2019
|
+
ttsLatentDenoiserSrc: string | {
|
|
2020
|
+
src: string;
|
|
2021
|
+
name?: string | undefined;
|
|
2022
|
+
modelId?: string | undefined;
|
|
2023
|
+
registryPath?: string | undefined;
|
|
2024
|
+
registrySource?: string | undefined;
|
|
2025
|
+
blobCoreKey?: string | undefined;
|
|
2026
|
+
blobIndex?: number | undefined;
|
|
2027
|
+
engine?: string | undefined;
|
|
2028
|
+
expectedSize?: number | undefined;
|
|
2029
|
+
sha256Checksum?: string | undefined;
|
|
2030
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2031
|
+
};
|
|
2032
|
+
ttsVoiceDecoderSrc: string | {
|
|
2033
|
+
src: string;
|
|
2034
|
+
name?: string | undefined;
|
|
2035
|
+
modelId?: string | undefined;
|
|
2036
|
+
registryPath?: string | undefined;
|
|
2037
|
+
registrySource?: string | undefined;
|
|
2038
|
+
blobCoreKey?: string | undefined;
|
|
2039
|
+
blobIndex?: number | undefined;
|
|
2040
|
+
engine?: string | undefined;
|
|
2041
|
+
expectedSize?: number | undefined;
|
|
2042
|
+
sha256Checksum?: string | undefined;
|
|
2043
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2044
|
+
};
|
|
2045
|
+
ttsVoiceSrc: string | {
|
|
2046
|
+
src: string;
|
|
2047
|
+
name?: string | undefined;
|
|
2048
|
+
modelId?: string | undefined;
|
|
2049
|
+
registryPath?: string | undefined;
|
|
2050
|
+
registrySource?: string | undefined;
|
|
2051
|
+
blobCoreKey?: string | undefined;
|
|
2052
|
+
blobIndex?: number | undefined;
|
|
2053
|
+
engine?: string | undefined;
|
|
2054
|
+
expectedSize?: number | undefined;
|
|
2055
|
+
sha256Checksum?: string | undefined;
|
|
2056
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2057
|
+
};
|
|
731
2058
|
ttsSpeed?: number | undefined;
|
|
732
2059
|
ttsNumInferenceSteps?: number | undefined;
|
|
733
2060
|
};
|
|
734
2061
|
modelName?: string | undefined;
|
|
735
|
-
projectionModelSrc?: string | undefined;
|
|
736
|
-
vadModelSrc?: string | undefined;
|
|
737
|
-
detectorModelSrc?: string | undefined;
|
|
738
2062
|
withProgress?: boolean | undefined;
|
|
739
2063
|
delegate?: {
|
|
740
2064
|
topic: string;
|
|
@@ -752,16 +2076,29 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
752
2076
|
langList?: string[] | undefined;
|
|
753
2077
|
useGPU?: boolean | undefined;
|
|
754
2078
|
timeout?: number | undefined;
|
|
2079
|
+
pipelineMode?: "easyocr" | "doctr" | undefined;
|
|
755
2080
|
magRatio?: number | undefined;
|
|
756
2081
|
defaultRotationAngles?: number[] | undefined;
|
|
757
2082
|
contrastRetry?: boolean | undefined;
|
|
758
2083
|
lowConfidenceThreshold?: number | undefined;
|
|
759
2084
|
recognizerBatchSize?: number | undefined;
|
|
2085
|
+
decodingMethod?: "attention" | "ctc" | undefined;
|
|
2086
|
+
straightenPages?: boolean | undefined;
|
|
2087
|
+
detectorModelSrc?: string | {
|
|
2088
|
+
src: string;
|
|
2089
|
+
name?: string | undefined;
|
|
2090
|
+
modelId?: string | undefined;
|
|
2091
|
+
registryPath?: string | undefined;
|
|
2092
|
+
registrySource?: string | undefined;
|
|
2093
|
+
blobCoreKey?: string | undefined;
|
|
2094
|
+
blobIndex?: number | undefined;
|
|
2095
|
+
engine?: string | undefined;
|
|
2096
|
+
expectedSize?: number | undefined;
|
|
2097
|
+
sha256Checksum?: string | undefined;
|
|
2098
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2099
|
+
} | undefined;
|
|
760
2100
|
};
|
|
761
2101
|
modelName?: string | undefined;
|
|
762
|
-
projectionModelSrc?: string | undefined;
|
|
763
|
-
vadModelSrc?: string | undefined;
|
|
764
|
-
detectorModelSrc?: string | undefined;
|
|
765
2102
|
withProgress?: boolean | undefined;
|
|
766
2103
|
delegate?: {
|
|
767
2104
|
topic: string;
|
|
@@ -776,9 +2113,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
776
2113
|
modelSrc: string;
|
|
777
2114
|
modelType: string;
|
|
778
2115
|
modelName?: string | undefined;
|
|
779
|
-
projectionModelSrc?: string | undefined;
|
|
780
|
-
vadModelSrc?: string | undefined;
|
|
781
|
-
detectorModelSrc?: string | undefined;
|
|
782
2116
|
withProgress?: boolean | undefined;
|
|
783
2117
|
delegate?: {
|
|
784
2118
|
topic: string;
|
|
@@ -811,11 +2145,21 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
811
2145
|
stop_sequences?: string[] | undefined;
|
|
812
2146
|
n_discarded?: number | undefined;
|
|
813
2147
|
tools?: boolean | undefined;
|
|
2148
|
+
projectionModelSrc?: string | {
|
|
2149
|
+
src: string;
|
|
2150
|
+
name?: string | undefined;
|
|
2151
|
+
modelId?: string | undefined;
|
|
2152
|
+
registryPath?: string | undefined;
|
|
2153
|
+
registrySource?: string | undefined;
|
|
2154
|
+
blobCoreKey?: string | undefined;
|
|
2155
|
+
blobIndex?: number | undefined;
|
|
2156
|
+
engine?: string | undefined;
|
|
2157
|
+
expectedSize?: number | undefined;
|
|
2158
|
+
sha256Checksum?: string | undefined;
|
|
2159
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2160
|
+
} | undefined;
|
|
814
2161
|
};
|
|
815
2162
|
modelName?: string | undefined;
|
|
816
|
-
projectionModelSrc?: string | undefined;
|
|
817
|
-
vadModelSrc?: string | undefined;
|
|
818
|
-
detectorModelSrc?: string | undefined;
|
|
819
2163
|
withProgress?: boolean | undefined;
|
|
820
2164
|
seed?: boolean | undefined;
|
|
821
2165
|
delegate?: {
|
|
@@ -865,7 +2209,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
865
2209
|
logprob_thold?: number | undefined;
|
|
866
2210
|
greedy_best_of?: number | undefined;
|
|
867
2211
|
beam_search_beam_size?: number | undefined;
|
|
868
|
-
vad_model_path?: string | undefined;
|
|
869
2212
|
vad_params?: {
|
|
870
2213
|
threshold?: number | undefined;
|
|
871
2214
|
min_speech_duration_ms?: number | undefined;
|
|
@@ -884,11 +2227,161 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
884
2227
|
miscConfig?: {
|
|
885
2228
|
caption_enabled?: boolean | undefined;
|
|
886
2229
|
} | undefined;
|
|
2230
|
+
vadModelSrc?: string | {
|
|
2231
|
+
src: string;
|
|
2232
|
+
name?: string | undefined;
|
|
2233
|
+
modelId?: string | undefined;
|
|
2234
|
+
registryPath?: string | undefined;
|
|
2235
|
+
registrySource?: string | undefined;
|
|
2236
|
+
blobCoreKey?: string | undefined;
|
|
2237
|
+
blobIndex?: number | undefined;
|
|
2238
|
+
engine?: string | undefined;
|
|
2239
|
+
expectedSize?: number | undefined;
|
|
2240
|
+
sha256Checksum?: string | undefined;
|
|
2241
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2242
|
+
} | undefined;
|
|
2243
|
+
};
|
|
2244
|
+
modelName?: string | undefined;
|
|
2245
|
+
withProgress?: boolean | undefined;
|
|
2246
|
+
seed?: boolean | undefined;
|
|
2247
|
+
delegate?: {
|
|
2248
|
+
topic: string;
|
|
2249
|
+
providerPublicKey: string;
|
|
2250
|
+
fallbackToLocal: boolean;
|
|
2251
|
+
forceNewConnection: boolean;
|
|
2252
|
+
timeout?: number | undefined;
|
|
2253
|
+
} | undefined;
|
|
2254
|
+
} | {
|
|
2255
|
+
type: "loadModel";
|
|
2256
|
+
modelSrc: string;
|
|
2257
|
+
modelType: "parakeet-transcription";
|
|
2258
|
+
modelConfig: {
|
|
2259
|
+
modelType: "tdt" | "ctc" | "sortformer";
|
|
2260
|
+
maxThreads?: number | undefined;
|
|
2261
|
+
useGPU?: boolean | undefined;
|
|
2262
|
+
sampleRate?: number | undefined;
|
|
2263
|
+
channels?: number | undefined;
|
|
2264
|
+
captionEnabled?: boolean | undefined;
|
|
2265
|
+
timestampsEnabled?: boolean | undefined;
|
|
2266
|
+
parakeetEncoderSrc?: string | {
|
|
2267
|
+
src: string;
|
|
2268
|
+
name?: string | undefined;
|
|
2269
|
+
modelId?: string | undefined;
|
|
2270
|
+
registryPath?: string | undefined;
|
|
2271
|
+
registrySource?: string | undefined;
|
|
2272
|
+
blobCoreKey?: string | undefined;
|
|
2273
|
+
blobIndex?: number | undefined;
|
|
2274
|
+
engine?: string | undefined;
|
|
2275
|
+
expectedSize?: number | undefined;
|
|
2276
|
+
sha256Checksum?: string | undefined;
|
|
2277
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2278
|
+
} | undefined;
|
|
2279
|
+
parakeetEncoderDataSrc?: string | {
|
|
2280
|
+
src: string;
|
|
2281
|
+
name?: string | undefined;
|
|
2282
|
+
modelId?: string | undefined;
|
|
2283
|
+
registryPath?: string | undefined;
|
|
2284
|
+
registrySource?: string | undefined;
|
|
2285
|
+
blobCoreKey?: string | undefined;
|
|
2286
|
+
blobIndex?: number | undefined;
|
|
2287
|
+
engine?: string | undefined;
|
|
2288
|
+
expectedSize?: number | undefined;
|
|
2289
|
+
sha256Checksum?: string | undefined;
|
|
2290
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2291
|
+
} | undefined;
|
|
2292
|
+
parakeetDecoderSrc?: string | {
|
|
2293
|
+
src: string;
|
|
2294
|
+
name?: string | undefined;
|
|
2295
|
+
modelId?: string | undefined;
|
|
2296
|
+
registryPath?: string | undefined;
|
|
2297
|
+
registrySource?: string | undefined;
|
|
2298
|
+
blobCoreKey?: string | undefined;
|
|
2299
|
+
blobIndex?: number | undefined;
|
|
2300
|
+
engine?: string | undefined;
|
|
2301
|
+
expectedSize?: number | undefined;
|
|
2302
|
+
sha256Checksum?: string | undefined;
|
|
2303
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2304
|
+
} | undefined;
|
|
2305
|
+
parakeetVocabSrc?: string | {
|
|
2306
|
+
src: string;
|
|
2307
|
+
name?: string | undefined;
|
|
2308
|
+
modelId?: string | undefined;
|
|
2309
|
+
registryPath?: string | undefined;
|
|
2310
|
+
registrySource?: string | undefined;
|
|
2311
|
+
blobCoreKey?: string | undefined;
|
|
2312
|
+
blobIndex?: number | undefined;
|
|
2313
|
+
engine?: string | undefined;
|
|
2314
|
+
expectedSize?: number | undefined;
|
|
2315
|
+
sha256Checksum?: string | undefined;
|
|
2316
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2317
|
+
} | undefined;
|
|
2318
|
+
parakeetPreprocessorSrc?: string | {
|
|
2319
|
+
src: string;
|
|
2320
|
+
name?: string | undefined;
|
|
2321
|
+
modelId?: string | undefined;
|
|
2322
|
+
registryPath?: string | undefined;
|
|
2323
|
+
registrySource?: string | undefined;
|
|
2324
|
+
blobCoreKey?: string | undefined;
|
|
2325
|
+
blobIndex?: number | undefined;
|
|
2326
|
+
engine?: string | undefined;
|
|
2327
|
+
expectedSize?: number | undefined;
|
|
2328
|
+
sha256Checksum?: string | undefined;
|
|
2329
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2330
|
+
} | undefined;
|
|
2331
|
+
parakeetCtcModelSrc?: string | {
|
|
2332
|
+
src: string;
|
|
2333
|
+
name?: string | undefined;
|
|
2334
|
+
modelId?: string | undefined;
|
|
2335
|
+
registryPath?: string | undefined;
|
|
2336
|
+
registrySource?: string | undefined;
|
|
2337
|
+
blobCoreKey?: string | undefined;
|
|
2338
|
+
blobIndex?: number | undefined;
|
|
2339
|
+
engine?: string | undefined;
|
|
2340
|
+
expectedSize?: number | undefined;
|
|
2341
|
+
sha256Checksum?: string | undefined;
|
|
2342
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2343
|
+
} | undefined;
|
|
2344
|
+
parakeetCtcModelDataSrc?: string | {
|
|
2345
|
+
src: string;
|
|
2346
|
+
name?: string | undefined;
|
|
2347
|
+
modelId?: string | undefined;
|
|
2348
|
+
registryPath?: string | undefined;
|
|
2349
|
+
registrySource?: string | undefined;
|
|
2350
|
+
blobCoreKey?: string | undefined;
|
|
2351
|
+
blobIndex?: number | undefined;
|
|
2352
|
+
engine?: string | undefined;
|
|
2353
|
+
expectedSize?: number | undefined;
|
|
2354
|
+
sha256Checksum?: string | undefined;
|
|
2355
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2356
|
+
} | undefined;
|
|
2357
|
+
parakeetTokenizerSrc?: string | {
|
|
2358
|
+
src: string;
|
|
2359
|
+
name?: string | undefined;
|
|
2360
|
+
modelId?: string | undefined;
|
|
2361
|
+
registryPath?: string | undefined;
|
|
2362
|
+
registrySource?: string | undefined;
|
|
2363
|
+
blobCoreKey?: string | undefined;
|
|
2364
|
+
blobIndex?: number | undefined;
|
|
2365
|
+
engine?: string | undefined;
|
|
2366
|
+
expectedSize?: number | undefined;
|
|
2367
|
+
sha256Checksum?: string | undefined;
|
|
2368
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2369
|
+
} | undefined;
|
|
2370
|
+
parakeetSortformerSrc?: string | {
|
|
2371
|
+
src: string;
|
|
2372
|
+
name?: string | undefined;
|
|
2373
|
+
modelId?: string | undefined;
|
|
2374
|
+
registryPath?: string | undefined;
|
|
2375
|
+
registrySource?: string | undefined;
|
|
2376
|
+
blobCoreKey?: string | undefined;
|
|
2377
|
+
blobIndex?: number | undefined;
|
|
2378
|
+
engine?: string | undefined;
|
|
2379
|
+
expectedSize?: number | undefined;
|
|
2380
|
+
sha256Checksum?: string | undefined;
|
|
2381
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2382
|
+
} | undefined;
|
|
887
2383
|
};
|
|
888
2384
|
modelName?: string | undefined;
|
|
889
|
-
projectionModelSrc?: string | undefined;
|
|
890
|
-
vadModelSrc?: string | undefined;
|
|
891
|
-
detectorModelSrc?: string | undefined;
|
|
892
2385
|
withProgress?: boolean | undefined;
|
|
893
2386
|
seed?: boolean | undefined;
|
|
894
2387
|
delegate?: {
|
|
@@ -904,16 +2397,16 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
904
2397
|
modelType: "llamacpp-embedding";
|
|
905
2398
|
modelConfig: {
|
|
906
2399
|
gpuLayers?: number | undefined;
|
|
907
|
-
device?:
|
|
2400
|
+
device?: "gpu" | "cpu" | undefined;
|
|
908
2401
|
batchSize?: number | undefined;
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
2402
|
+
pooling?: "none" | "mean" | "cls" | "last" | "rank" | undefined;
|
|
2403
|
+
attention?: "causal" | "non-causal" | undefined;
|
|
2404
|
+
embdNormalize?: number | undefined;
|
|
2405
|
+
flashAttention?: "on" | "off" | "auto" | undefined;
|
|
2406
|
+
mainGpu?: number | "integrated" | "dedicated" | undefined;
|
|
2407
|
+
verbosity?: 0 | 3 | 2 | 1 | undefined;
|
|
912
2408
|
};
|
|
913
2409
|
modelName?: string | undefined;
|
|
914
|
-
projectionModelSrc?: string | undefined;
|
|
915
|
-
vadModelSrc?: string | undefined;
|
|
916
|
-
detectorModelSrc?: string | undefined;
|
|
917
2410
|
withProgress?: boolean | undefined;
|
|
918
2411
|
seed?: boolean | undefined;
|
|
919
2412
|
delegate?: {
|
|
@@ -953,9 +2446,84 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
953
2446
|
engine: "Bergamot";
|
|
954
2447
|
from: "en" | "de" | "es" | "it" | "ru" | "ja" | "ar" | "bg" | "ca" | "cs" | "et" | "fi" | "fr" | "hu" | "is" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "sk" | "sl" | "uk" | "zh";
|
|
955
2448
|
to: "en" | "de" | "es" | "it" | "ru" | "ja" | "ar" | "bg" | "ca" | "cs" | "et" | "fi" | "fr" | "hu" | "is" | "ko" | "lt" | "lv" | "nl" | "pl" | "pt" | "sk" | "sl" | "uk" | "zh";
|
|
956
|
-
|
|
957
|
-
|
|
2449
|
+
srcVocabSrc?: string | {
|
|
2450
|
+
src: string;
|
|
2451
|
+
name?: string | undefined;
|
|
2452
|
+
modelId?: string | undefined;
|
|
2453
|
+
registryPath?: string | undefined;
|
|
2454
|
+
registrySource?: string | undefined;
|
|
2455
|
+
blobCoreKey?: string | undefined;
|
|
2456
|
+
blobIndex?: number | undefined;
|
|
2457
|
+
engine?: string | undefined;
|
|
2458
|
+
expectedSize?: number | undefined;
|
|
2459
|
+
sha256Checksum?: string | undefined;
|
|
2460
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2461
|
+
} | undefined;
|
|
2462
|
+
dstVocabSrc?: string | {
|
|
2463
|
+
src: string;
|
|
2464
|
+
name?: string | undefined;
|
|
2465
|
+
modelId?: string | undefined;
|
|
2466
|
+
registryPath?: string | undefined;
|
|
2467
|
+
registrySource?: string | undefined;
|
|
2468
|
+
blobCoreKey?: string | undefined;
|
|
2469
|
+
blobIndex?: number | undefined;
|
|
2470
|
+
engine?: string | undefined;
|
|
2471
|
+
expectedSize?: number | undefined;
|
|
2472
|
+
sha256Checksum?: string | undefined;
|
|
2473
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2474
|
+
} | undefined;
|
|
958
2475
|
normalize?: number | undefined;
|
|
2476
|
+
pivotModel?: {
|
|
2477
|
+
modelSrc: string | {
|
|
2478
|
+
src: string;
|
|
2479
|
+
name?: string | undefined;
|
|
2480
|
+
modelId?: string | undefined;
|
|
2481
|
+
registryPath?: string | undefined;
|
|
2482
|
+
registrySource?: string | undefined;
|
|
2483
|
+
blobCoreKey?: string | undefined;
|
|
2484
|
+
blobIndex?: number | undefined;
|
|
2485
|
+
engine?: string | undefined;
|
|
2486
|
+
expectedSize?: number | undefined;
|
|
2487
|
+
sha256Checksum?: string | undefined;
|
|
2488
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2489
|
+
};
|
|
2490
|
+
mode?: "full" | undefined;
|
|
2491
|
+
beamsize?: number | undefined;
|
|
2492
|
+
lengthpenalty?: number | undefined;
|
|
2493
|
+
maxlength?: number | undefined;
|
|
2494
|
+
repetitionpenalty?: number | undefined;
|
|
2495
|
+
norepeatngramsize?: number | undefined;
|
|
2496
|
+
temperature?: number | undefined;
|
|
2497
|
+
topk?: number | undefined;
|
|
2498
|
+
topp?: number | undefined;
|
|
2499
|
+
srcVocabSrc?: string | {
|
|
2500
|
+
src: string;
|
|
2501
|
+
name?: string | undefined;
|
|
2502
|
+
modelId?: string | undefined;
|
|
2503
|
+
registryPath?: string | undefined;
|
|
2504
|
+
registrySource?: string | undefined;
|
|
2505
|
+
blobCoreKey?: string | undefined;
|
|
2506
|
+
blobIndex?: number | undefined;
|
|
2507
|
+
engine?: string | undefined;
|
|
2508
|
+
expectedSize?: number | undefined;
|
|
2509
|
+
sha256Checksum?: string | undefined;
|
|
2510
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2511
|
+
} | undefined;
|
|
2512
|
+
dstVocabSrc?: string | {
|
|
2513
|
+
src: string;
|
|
2514
|
+
name?: string | undefined;
|
|
2515
|
+
modelId?: string | undefined;
|
|
2516
|
+
registryPath?: string | undefined;
|
|
2517
|
+
registrySource?: string | undefined;
|
|
2518
|
+
blobCoreKey?: string | undefined;
|
|
2519
|
+
blobIndex?: number | undefined;
|
|
2520
|
+
engine?: string | undefined;
|
|
2521
|
+
expectedSize?: number | undefined;
|
|
2522
|
+
sha256Checksum?: string | undefined;
|
|
2523
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2524
|
+
} | undefined;
|
|
2525
|
+
normalize?: number | undefined;
|
|
2526
|
+
} | undefined;
|
|
959
2527
|
} | {
|
|
960
2528
|
mode: "full";
|
|
961
2529
|
beamsize: number;
|
|
@@ -971,9 +2539,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
971
2539
|
to: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab";
|
|
972
2540
|
};
|
|
973
2541
|
modelName?: string | undefined;
|
|
974
|
-
projectionModelSrc?: string | undefined;
|
|
975
|
-
vadModelSrc?: string | undefined;
|
|
976
|
-
detectorModelSrc?: string | undefined;
|
|
977
2542
|
withProgress?: boolean | undefined;
|
|
978
2543
|
seed?: boolean | undefined;
|
|
979
2544
|
delegate?: {
|
|
@@ -983,8 +2548,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
983
2548
|
forceNewConnection: boolean;
|
|
984
2549
|
timeout?: number | undefined;
|
|
985
2550
|
} | undefined;
|
|
986
|
-
srcVocabSrc?: string | undefined;
|
|
987
|
-
dstVocabSrc?: string | undefined;
|
|
988
2551
|
} | {
|
|
989
2552
|
type: "loadModel";
|
|
990
2553
|
modelSrc: string;
|
|
@@ -992,27 +2555,156 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
992
2555
|
modelConfig: {
|
|
993
2556
|
ttsEngine: "chatterbox";
|
|
994
2557
|
language: "en" | "de" | "es" | "it";
|
|
995
|
-
ttsTokenizerSrc: string
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
2558
|
+
ttsTokenizerSrc: string | {
|
|
2559
|
+
src: string;
|
|
2560
|
+
name?: string | undefined;
|
|
2561
|
+
modelId?: string | undefined;
|
|
2562
|
+
registryPath?: string | undefined;
|
|
2563
|
+
registrySource?: string | undefined;
|
|
2564
|
+
blobCoreKey?: string | undefined;
|
|
2565
|
+
blobIndex?: number | undefined;
|
|
2566
|
+
engine?: string | undefined;
|
|
2567
|
+
expectedSize?: number | undefined;
|
|
2568
|
+
sha256Checksum?: string | undefined;
|
|
2569
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2570
|
+
};
|
|
2571
|
+
ttsSpeechEncoderSrc: string | {
|
|
2572
|
+
src: string;
|
|
2573
|
+
name?: string | undefined;
|
|
2574
|
+
modelId?: string | undefined;
|
|
2575
|
+
registryPath?: string | undefined;
|
|
2576
|
+
registrySource?: string | undefined;
|
|
2577
|
+
blobCoreKey?: string | undefined;
|
|
2578
|
+
blobIndex?: number | undefined;
|
|
2579
|
+
engine?: string | undefined;
|
|
2580
|
+
expectedSize?: number | undefined;
|
|
2581
|
+
sha256Checksum?: string | undefined;
|
|
2582
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2583
|
+
};
|
|
2584
|
+
ttsEmbedTokensSrc: string | {
|
|
2585
|
+
src: string;
|
|
2586
|
+
name?: string | undefined;
|
|
2587
|
+
modelId?: string | undefined;
|
|
2588
|
+
registryPath?: string | undefined;
|
|
2589
|
+
registrySource?: string | undefined;
|
|
2590
|
+
blobCoreKey?: string | undefined;
|
|
2591
|
+
blobIndex?: number | undefined;
|
|
2592
|
+
engine?: string | undefined;
|
|
2593
|
+
expectedSize?: number | undefined;
|
|
2594
|
+
sha256Checksum?: string | undefined;
|
|
2595
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2596
|
+
};
|
|
2597
|
+
ttsConditionalDecoderSrc: string | {
|
|
2598
|
+
src: string;
|
|
2599
|
+
name?: string | undefined;
|
|
2600
|
+
modelId?: string | undefined;
|
|
2601
|
+
registryPath?: string | undefined;
|
|
2602
|
+
registrySource?: string | undefined;
|
|
2603
|
+
blobCoreKey?: string | undefined;
|
|
2604
|
+
blobIndex?: number | undefined;
|
|
2605
|
+
engine?: string | undefined;
|
|
2606
|
+
expectedSize?: number | undefined;
|
|
2607
|
+
sha256Checksum?: string | undefined;
|
|
2608
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2609
|
+
};
|
|
2610
|
+
ttsLanguageModelSrc: string | {
|
|
2611
|
+
src: string;
|
|
2612
|
+
name?: string | undefined;
|
|
2613
|
+
modelId?: string | undefined;
|
|
2614
|
+
registryPath?: string | undefined;
|
|
2615
|
+
registrySource?: string | undefined;
|
|
2616
|
+
blobCoreKey?: string | undefined;
|
|
2617
|
+
blobIndex?: number | undefined;
|
|
2618
|
+
engine?: string | undefined;
|
|
2619
|
+
expectedSize?: number | undefined;
|
|
2620
|
+
sha256Checksum?: string | undefined;
|
|
2621
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2622
|
+
};
|
|
2623
|
+
referenceAudioSrc: string | {
|
|
2624
|
+
src: string;
|
|
2625
|
+
name?: string | undefined;
|
|
2626
|
+
modelId?: string | undefined;
|
|
2627
|
+
registryPath?: string | undefined;
|
|
2628
|
+
registrySource?: string | undefined;
|
|
2629
|
+
blobCoreKey?: string | undefined;
|
|
2630
|
+
blobIndex?: number | undefined;
|
|
2631
|
+
engine?: string | undefined;
|
|
2632
|
+
expectedSize?: number | undefined;
|
|
2633
|
+
sha256Checksum?: string | undefined;
|
|
2634
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2635
|
+
};
|
|
1001
2636
|
} | {
|
|
1002
2637
|
ttsEngine: "supertonic";
|
|
1003
2638
|
language: "en" | "de" | "es" | "it";
|
|
1004
|
-
ttsTokenizerSrc: string
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
2639
|
+
ttsTokenizerSrc: string | {
|
|
2640
|
+
src: string;
|
|
2641
|
+
name?: string | undefined;
|
|
2642
|
+
modelId?: string | undefined;
|
|
2643
|
+
registryPath?: string | undefined;
|
|
2644
|
+
registrySource?: string | undefined;
|
|
2645
|
+
blobCoreKey?: string | undefined;
|
|
2646
|
+
blobIndex?: number | undefined;
|
|
2647
|
+
engine?: string | undefined;
|
|
2648
|
+
expectedSize?: number | undefined;
|
|
2649
|
+
sha256Checksum?: string | undefined;
|
|
2650
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2651
|
+
};
|
|
2652
|
+
ttsTextEncoderSrc: string | {
|
|
2653
|
+
src: string;
|
|
2654
|
+
name?: string | undefined;
|
|
2655
|
+
modelId?: string | undefined;
|
|
2656
|
+
registryPath?: string | undefined;
|
|
2657
|
+
registrySource?: string | undefined;
|
|
2658
|
+
blobCoreKey?: string | undefined;
|
|
2659
|
+
blobIndex?: number | undefined;
|
|
2660
|
+
engine?: string | undefined;
|
|
2661
|
+
expectedSize?: number | undefined;
|
|
2662
|
+
sha256Checksum?: string | undefined;
|
|
2663
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2664
|
+
};
|
|
2665
|
+
ttsLatentDenoiserSrc: string | {
|
|
2666
|
+
src: string;
|
|
2667
|
+
name?: string | undefined;
|
|
2668
|
+
modelId?: string | undefined;
|
|
2669
|
+
registryPath?: string | undefined;
|
|
2670
|
+
registrySource?: string | undefined;
|
|
2671
|
+
blobCoreKey?: string | undefined;
|
|
2672
|
+
blobIndex?: number | undefined;
|
|
2673
|
+
engine?: string | undefined;
|
|
2674
|
+
expectedSize?: number | undefined;
|
|
2675
|
+
sha256Checksum?: string | undefined;
|
|
2676
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2677
|
+
};
|
|
2678
|
+
ttsVoiceDecoderSrc: string | {
|
|
2679
|
+
src: string;
|
|
2680
|
+
name?: string | undefined;
|
|
2681
|
+
modelId?: string | undefined;
|
|
2682
|
+
registryPath?: string | undefined;
|
|
2683
|
+
registrySource?: string | undefined;
|
|
2684
|
+
blobCoreKey?: string | undefined;
|
|
2685
|
+
blobIndex?: number | undefined;
|
|
2686
|
+
engine?: string | undefined;
|
|
2687
|
+
expectedSize?: number | undefined;
|
|
2688
|
+
sha256Checksum?: string | undefined;
|
|
2689
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2690
|
+
};
|
|
2691
|
+
ttsVoiceSrc: string | {
|
|
2692
|
+
src: string;
|
|
2693
|
+
name?: string | undefined;
|
|
2694
|
+
modelId?: string | undefined;
|
|
2695
|
+
registryPath?: string | undefined;
|
|
2696
|
+
registrySource?: string | undefined;
|
|
2697
|
+
blobCoreKey?: string | undefined;
|
|
2698
|
+
blobIndex?: number | undefined;
|
|
2699
|
+
engine?: string | undefined;
|
|
2700
|
+
expectedSize?: number | undefined;
|
|
2701
|
+
sha256Checksum?: string | undefined;
|
|
2702
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2703
|
+
};
|
|
1009
2704
|
ttsSpeed?: number | undefined;
|
|
1010
2705
|
ttsNumInferenceSteps?: number | undefined;
|
|
1011
2706
|
};
|
|
1012
2707
|
modelName?: string | undefined;
|
|
1013
|
-
projectionModelSrc?: string | undefined;
|
|
1014
|
-
vadModelSrc?: string | undefined;
|
|
1015
|
-
detectorModelSrc?: string | undefined;
|
|
1016
2708
|
withProgress?: boolean | undefined;
|
|
1017
2709
|
seed?: boolean | undefined;
|
|
1018
2710
|
delegate?: {
|
|
@@ -1030,16 +2722,29 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1030
2722
|
langList?: string[] | undefined;
|
|
1031
2723
|
useGPU?: boolean | undefined;
|
|
1032
2724
|
timeout?: number | undefined;
|
|
2725
|
+
pipelineMode?: "easyocr" | "doctr" | undefined;
|
|
1033
2726
|
magRatio?: number | undefined;
|
|
1034
2727
|
defaultRotationAngles?: number[] | undefined;
|
|
1035
2728
|
contrastRetry?: boolean | undefined;
|
|
1036
2729
|
lowConfidenceThreshold?: number | undefined;
|
|
1037
2730
|
recognizerBatchSize?: number | undefined;
|
|
2731
|
+
decodingMethod?: "attention" | "ctc" | undefined;
|
|
2732
|
+
straightenPages?: boolean | undefined;
|
|
2733
|
+
detectorModelSrc?: string | {
|
|
2734
|
+
src: string;
|
|
2735
|
+
name?: string | undefined;
|
|
2736
|
+
modelId?: string | undefined;
|
|
2737
|
+
registryPath?: string | undefined;
|
|
2738
|
+
registrySource?: string | undefined;
|
|
2739
|
+
blobCoreKey?: string | undefined;
|
|
2740
|
+
blobIndex?: number | undefined;
|
|
2741
|
+
engine?: string | undefined;
|
|
2742
|
+
expectedSize?: number | undefined;
|
|
2743
|
+
sha256Checksum?: string | undefined;
|
|
2744
|
+
addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
|
|
2745
|
+
} | undefined;
|
|
1038
2746
|
};
|
|
1039
2747
|
modelName?: string | undefined;
|
|
1040
|
-
projectionModelSrc?: string | undefined;
|
|
1041
|
-
vadModelSrc?: string | undefined;
|
|
1042
|
-
detectorModelSrc?: string | undefined;
|
|
1043
2748
|
withProgress?: boolean | undefined;
|
|
1044
2749
|
seed?: boolean | undefined;
|
|
1045
2750
|
delegate?: {
|
|
@@ -1054,9 +2759,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1054
2759
|
modelSrc: string;
|
|
1055
2760
|
modelType: string;
|
|
1056
2761
|
modelName?: string | undefined;
|
|
1057
|
-
projectionModelSrc?: string | undefined;
|
|
1058
|
-
vadModelSrc?: string | undefined;
|
|
1059
|
-
detectorModelSrc?: string | undefined;
|
|
1060
2762
|
withProgress?: boolean | undefined;
|
|
1061
2763
|
seed?: boolean | undefined;
|
|
1062
2764
|
delegate?: {
|
|
@@ -1117,7 +2819,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1117
2819
|
logprob_thold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1118
2820
|
greedy_best_of: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1119
2821
|
beam_search_beam_size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1120
|
-
vad_model_path: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1121
2822
|
vad_params: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1122
2823
|
threshold: z.ZodOptional<z.ZodNumber>;
|
|
1123
2824
|
min_speech_duration_ms: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1139,6 +2840,34 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1139
2840
|
miscConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1140
2841
|
caption_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1141
2842
|
}, z.core.$strip>>>;
|
|
2843
|
+
vadModelSrc: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2844
|
+
src: z.ZodString;
|
|
2845
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2846
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
2847
|
+
registryPath: z.ZodOptional<z.ZodString>;
|
|
2848
|
+
registrySource: z.ZodOptional<z.ZodString>;
|
|
2849
|
+
blobCoreKey: z.ZodOptional<z.ZodString>;
|
|
2850
|
+
blobIndex: z.ZodOptional<z.ZodNumber>;
|
|
2851
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
2852
|
+
expectedSize: z.ZodOptional<z.ZodNumber>;
|
|
2853
|
+
sha256Checksum: z.ZodOptional<z.ZodString>;
|
|
2854
|
+
addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2855
|
+
"llamacpp-completion": "llamacpp-completion";
|
|
2856
|
+
"whispercpp-transcription": "whispercpp-transcription";
|
|
2857
|
+
"llamacpp-embedding": "llamacpp-embedding";
|
|
2858
|
+
"nmtcpp-translation": "nmtcpp-translation";
|
|
2859
|
+
"onnx-tts": "onnx-tts";
|
|
2860
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
2861
|
+
"onnx-ocr": "onnx-ocr";
|
|
2862
|
+
llm: "llm";
|
|
2863
|
+
whisper: "whisper";
|
|
2864
|
+
embeddings: "embeddings";
|
|
2865
|
+
nmt: "nmt";
|
|
2866
|
+
parakeet: "parakeet";
|
|
2867
|
+
tts: "tts";
|
|
2868
|
+
ocr: "ocr";
|
|
2869
|
+
}>, z.ZodLiteral<"vad">]>>;
|
|
2870
|
+
}, z.core.$strip>]>>>;
|
|
1142
2871
|
}, z.core.$strip>;
|
|
1143
2872
|
}, z.core.$strip>]>]>, z.ZodPipe<z.ZodObject<{
|
|
1144
2873
|
type: z.ZodLiteral<"downloadAsset">;
|
|
@@ -1187,6 +2916,16 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1187
2916
|
}, z.core.$strip>>>;
|
|
1188
2917
|
stream: z.ZodBoolean;
|
|
1189
2918
|
kvCache: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
2919
|
+
generationParams: z.ZodOptional<z.ZodObject<{
|
|
2920
|
+
temp: z.ZodOptional<z.ZodNumber>;
|
|
2921
|
+
top_p: z.ZodOptional<z.ZodNumber>;
|
|
2922
|
+
top_k: z.ZodOptional<z.ZodNumber>;
|
|
2923
|
+
predict: z.ZodOptional<z.ZodNumber>;
|
|
2924
|
+
seed: z.ZodOptional<z.ZodNumber>;
|
|
2925
|
+
frequency_penalty: z.ZodOptional<z.ZodNumber>;
|
|
2926
|
+
presence_penalty: z.ZodOptional<z.ZodNumber>;
|
|
2927
|
+
repeat_penalty: z.ZodOptional<z.ZodNumber>;
|
|
2928
|
+
}, z.core.$strict>>;
|
|
1190
2929
|
type: z.ZodLiteral<"completionStream">;
|
|
1191
2930
|
}, z.core.$strip>, z.ZodObject<{
|
|
1192
2931
|
modelId: z.ZodString;
|
|
@@ -1399,6 +3138,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1399
3138
|
whisper: "whisper";
|
|
1400
3139
|
embeddings: "embeddings";
|
|
1401
3140
|
nmt: "nmt";
|
|
3141
|
+
parakeet: "parakeet";
|
|
1402
3142
|
tts: "tts";
|
|
1403
3143
|
ocr: "ocr";
|
|
1404
3144
|
vad: "vad";
|
|
@@ -1659,6 +3399,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1659
3399
|
whisper: "whisper";
|
|
1660
3400
|
embeddings: "embeddings";
|
|
1661
3401
|
nmt: "nmt";
|
|
3402
|
+
parakeet: "parakeet";
|
|
1662
3403
|
tts: "tts";
|
|
1663
3404
|
ocr: "ocr";
|
|
1664
3405
|
vad: "vad";
|
|
@@ -1721,6 +3462,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1721
3462
|
whisper: "whisper";
|
|
1722
3463
|
embeddings: "embeddings";
|
|
1723
3464
|
nmt: "nmt";
|
|
3465
|
+
parakeet: "parakeet";
|
|
1724
3466
|
tts: "tts";
|
|
1725
3467
|
ocr: "ocr";
|
|
1726
3468
|
vad: "vad";
|
|
@@ -1734,6 +3476,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1734
3476
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
1735
3477
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
1736
3478
|
"onnx-tts": "onnx-tts";
|
|
3479
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1737
3480
|
"onnx-ocr": "onnx-ocr";
|
|
1738
3481
|
"onnx-vad": "onnx-vad";
|
|
1739
3482
|
}>;
|
|
@@ -1758,6 +3501,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1758
3501
|
whisper: "whisper";
|
|
1759
3502
|
embeddings: "embeddings";
|
|
1760
3503
|
nmt: "nmt";
|
|
3504
|
+
parakeet: "parakeet";
|
|
1761
3505
|
tts: "tts";
|
|
1762
3506
|
ocr: "ocr";
|
|
1763
3507
|
vad: "vad";
|
|
@@ -1771,6 +3515,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1771
3515
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
1772
3516
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
1773
3517
|
"onnx-tts": "onnx-tts";
|
|
3518
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1774
3519
|
"onnx-ocr": "onnx-ocr";
|
|
1775
3520
|
"onnx-vad": "onnx-vad";
|
|
1776
3521
|
}>;
|
|
@@ -1795,6 +3540,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1795
3540
|
whisper: "whisper";
|
|
1796
3541
|
embeddings: "embeddings";
|
|
1797
3542
|
nmt: "nmt";
|
|
3543
|
+
parakeet: "parakeet";
|
|
1798
3544
|
tts: "tts";
|
|
1799
3545
|
ocr: "ocr";
|
|
1800
3546
|
vad: "vad";
|
|
@@ -1808,6 +3554,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1808
3554
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
1809
3555
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
1810
3556
|
"onnx-tts": "onnx-tts";
|
|
3557
|
+
"parakeet-transcription": "parakeet-transcription";
|
|
1811
3558
|
"onnx-ocr": "onnx-ocr";
|
|
1812
3559
|
"onnx-vad": "onnx-vad";
|
|
1813
3560
|
}>;
|
|
@@ -1819,6 +3566,14 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1819
3566
|
export declare const rpcOptionsSchema: z.ZodObject<{
|
|
1820
3567
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1821
3568
|
forceNewConnection: z.ZodOptional<z.ZodBoolean>;
|
|
3569
|
+
profiling: z.ZodOptional<z.ZodObject<{
|
|
3570
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3571
|
+
includeServerBreakdown: z.ZodOptional<z.ZodBoolean>;
|
|
3572
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
3573
|
+
summary: "summary";
|
|
3574
|
+
verbose: "verbose";
|
|
3575
|
+
}>>;
|
|
3576
|
+
}, z.core.$strip>>;
|
|
1822
3577
|
}, z.core.$strip>;
|
|
1823
3578
|
export type Request = z.infer<typeof requestSchema>;
|
|
1824
3579
|
export type Response = z.infer<typeof responseSchema>;
|