@qvac/sdk 0.7.1 → 0.8.1

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.
Files changed (257) hide show
  1. package/NOTICE +73 -10
  2. package/README.md +4 -4
  3. package/bare-imports.json +9 -0
  4. package/dist/client/api/cancel.d.ts +9 -0
  5. package/dist/client/api/cancel.js +9 -0
  6. package/dist/client/api/completion-stream.d.ts +2 -1
  7. package/dist/client/api/completion-stream.js +2 -1
  8. package/dist/client/api/download-asset.d.ts +3 -2
  9. package/dist/client/api/download-asset.js +4 -3
  10. package/dist/client/api/embed.d.ts +5 -2
  11. package/dist/client/api/embed.js +2 -2
  12. package/dist/client/api/get-model-info.d.ts +1 -1
  13. package/dist/client/api/heartbeat.d.ts +30 -0
  14. package/dist/client/api/heartbeat.js +38 -0
  15. package/dist/client/api/index.d.ts +1 -1
  16. package/dist/client/api/index.js +1 -1
  17. package/dist/client/api/invoke-plugin.d.ts +3 -2
  18. package/dist/client/api/invoke-plugin.js +4 -4
  19. package/dist/client/api/load-model.d.ts +12 -10
  20. package/dist/client/api/load-model.js +3 -3
  21. package/dist/client/api/rag.d.ts +10 -10
  22. package/dist/client/api/rag.js +21 -21
  23. package/dist/client/api/text-to-speech.d.ts +2 -2
  24. package/dist/client/api/text-to-speech.js +3 -3
  25. package/dist/client/api/transcribe.d.ts +5 -3
  26. package/dist/client/api/transcribe.js +6 -4
  27. package/dist/client/api/translate.d.ts +2 -2
  28. package/dist/client/api/translate.js +3 -3
  29. package/dist/client/rpc/node-rpc-client.d.ts +2 -7
  30. package/dist/client/rpc/node-rpc-client.js +2 -39
  31. package/dist/client/rpc/profiling/index.d.ts +2 -0
  32. package/dist/client/rpc/profiling/index.js +1 -0
  33. package/dist/client/rpc/profiling/profiler.d.ts +27 -0
  34. package/dist/client/rpc/profiling/profiler.js +139 -0
  35. package/dist/client/rpc/rpc-client.d.ts +2 -2
  36. package/dist/client/rpc/rpc-client.js +174 -12
  37. package/dist/examples/delegated-inference/consumer-profiled.d.ts +2 -0
  38. package/dist/examples/delegated-inference/consumer-profiled.js +67 -0
  39. package/dist/examples/embed-p2p.d.ts +2 -0
  40. package/dist/examples/llamacpp-multimodal.js +1 -1
  41. package/dist/examples/llamacpp-p2p.d.ts +2 -0
  42. package/dist/examples/parallel-download.js +45 -13
  43. package/dist/examples/profiling/basic.d.ts +2 -0
  44. package/dist/examples/profiling/basic.js +71 -0
  45. package/dist/examples/profiling/per-call.d.ts +2 -0
  46. package/dist/examples/profiling/per-call.js +30 -0
  47. package/dist/examples/seed-p2p.d.ts +2 -0
  48. package/dist/examples/transcription/parakeet-ctc-filesystem.d.ts +2 -0
  49. package/dist/examples/transcription/parakeet-ctc-filesystem.js +40 -0
  50. package/dist/examples/transcription/parakeet-microphone-record.d.ts +2 -0
  51. package/dist/examples/transcription/parakeet-microphone-record.js +95 -0
  52. package/dist/examples/transcription/parakeet-sortformer.d.ts +2 -0
  53. package/dist/examples/transcription/parakeet-sortformer.js +115 -0
  54. package/dist/examples/transcription/parakeet-tdt-filesystem.d.ts +2 -0
  55. package/dist/examples/transcription/parakeet-tdt-filesystem.js +44 -0
  56. package/dist/examples/translation/translation-bergamot-pivot.d.ts +2 -0
  57. package/dist/examples/translation/translation-bergamot-pivot.js +73 -0
  58. package/dist/examples/translation/translation-llm-afriquegemma.d.ts +2 -0
  59. package/dist/examples/translation/translation-llm-afriquegemma.js +39 -0
  60. package/dist/index.d.ts +4 -2
  61. package/dist/index.js +3 -1
  62. package/dist/logging/index.d.ts +1 -1
  63. package/dist/logging/index.js +1 -1
  64. package/dist/logging/namespaces.d.ts +3 -9
  65. package/dist/logging/namespaces.js +2 -8
  66. package/dist/logging/registry.js +15 -1
  67. package/dist/models/registry/models.d.ts +1671 -310
  68. package/dist/models/registry/models.js +2116 -710
  69. package/dist/models/update-models/codegen.js +2 -2
  70. package/dist/models/update-models/history.d.ts +11 -0
  71. package/dist/models/update-models/history.js +24 -5
  72. package/dist/models/update-models/index.js +17 -16
  73. package/dist/models/update-models/naming.js +56 -0
  74. package/dist/profiling/aggregator.d.ts +15 -0
  75. package/dist/profiling/aggregator.js +100 -0
  76. package/dist/profiling/clock.d.ts +12 -0
  77. package/dist/profiling/clock.js +51 -0
  78. package/dist/profiling/controller.d.ts +33 -0
  79. package/dist/profiling/controller.js +123 -0
  80. package/dist/profiling/envelope.d.ts +10 -0
  81. package/dist/profiling/envelope.js +36 -0
  82. package/dist/profiling/events.d.ts +20 -0
  83. package/dist/profiling/events.js +37 -0
  84. package/dist/profiling/exporters.d.ts +10 -0
  85. package/dist/profiling/exporters.js +236 -0
  86. package/dist/profiling/index.d.ts +36 -0
  87. package/dist/profiling/index.js +31 -0
  88. package/dist/profiling/ring-buffer.d.ts +19 -0
  89. package/dist/profiling/ring-buffer.js +83 -0
  90. package/dist/profiling/types.d.ts +47 -0
  91. package/dist/profiling/types.js +1 -0
  92. package/dist/schemas/cancel.d.ts +12 -0
  93. package/dist/schemas/cancel.js +2 -0
  94. package/dist/schemas/common.d.ts +1927 -135
  95. package/dist/schemas/common.js +6 -3
  96. package/dist/schemas/completion-stream.d.ts +31 -0
  97. package/dist/schemas/completion-stream.js +13 -0
  98. package/dist/schemas/delegate.d.ts +8 -0
  99. package/dist/schemas/delegate.js +5 -2
  100. package/dist/schemas/download-asset.d.ts +14 -3
  101. package/dist/schemas/download-asset.js +3 -1
  102. package/dist/schemas/engine-addon-map.js +9 -6
  103. package/dist/schemas/get-model-info.d.ts +2 -0
  104. package/dist/schemas/get-model-info.js +1 -0
  105. package/dist/schemas/heartbeat.d.ts +17 -0
  106. package/dist/schemas/heartbeat.js +10 -0
  107. package/dist/schemas/index.d.ts +3 -2
  108. package/dist/schemas/index.js +3 -2
  109. package/dist/schemas/llamacpp-config.d.ts +140 -14
  110. package/dist/schemas/llamacpp-config.js +11 -7
  111. package/dist/schemas/load-model.d.ts +9762 -2515
  112. package/dist/schemas/load-model.js +142 -182
  113. package/dist/schemas/model-src-utils.d.ts +10 -2
  114. package/dist/schemas/model-types.d.ts +19 -1
  115. package/dist/schemas/model-types.js +11 -0
  116. package/dist/schemas/ocr.d.ts +37 -0
  117. package/dist/schemas/ocr.js +5 -0
  118. package/dist/schemas/plugin.d.ts +51 -5
  119. package/dist/schemas/plugin.js +26 -0
  120. package/dist/schemas/profiling.d.ts +105 -0
  121. package/dist/schemas/profiling.js +66 -0
  122. package/dist/schemas/registry.d.ts +18 -0
  123. package/dist/schemas/registry.js +2 -0
  124. package/dist/schemas/reload-config.d.ts +126 -6
  125. package/dist/schemas/reload-config.js +1 -1
  126. package/dist/schemas/sdk-config.d.ts +2280 -24
  127. package/dist/schemas/sdk-config.js +6 -1
  128. package/dist/schemas/sdk-errors-client.d.ts +1 -0
  129. package/dist/schemas/sdk-errors-client.js +7 -0
  130. package/dist/schemas/sdk-errors-server.d.ts +3 -0
  131. package/dist/schemas/sdk-errors-server.js +15 -0
  132. package/dist/schemas/text-to-speech.d.ts +90 -68
  133. package/dist/schemas/text-to-speech.js +16 -33
  134. package/dist/schemas/transcription-config.d.ts +383 -0
  135. package/dist/schemas/{whispercpp-config.js → transcription-config.js} +29 -1
  136. package/dist/schemas/translation-config.d.ts +463 -8
  137. package/dist/schemas/translation-config.js +35 -2
  138. package/dist/server/bare/delegate-rpc-client.js +52 -11
  139. package/dist/server/bare/ops/load-model.d.ts +7 -1
  140. package/dist/server/bare/ops/load-model.js +41 -42
  141. package/dist/server/bare/ops/transcribe.d.ts +3 -0
  142. package/dist/server/bare/ops/transcribe.js +75 -0
  143. package/dist/server/bare/ops/translate.d.ts +2 -0
  144. package/dist/server/bare/ops/translate.js +12 -4
  145. package/dist/server/bare/plugins/index.d.ts +1 -0
  146. package/dist/server/bare/plugins/index.js +1 -0
  147. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.d.ts +2 -1
  148. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.js +8 -6
  149. package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +108 -3
  150. package/dist/server/bare/plugins/llamacpp-completion/plugin.js +19 -6
  151. package/dist/server/bare/plugins/llamacpp-embedding/plugin.d.ts +32 -2
  152. package/dist/server/bare/plugins/llamacpp-embedding/plugin.js +31 -17
  153. package/dist/server/bare/plugins/nmtcpp-translation/plugin.d.ts +325 -3
  154. package/dist/server/bare/plugins/nmtcpp-translation/plugin.js +117 -13
  155. package/dist/server/bare/plugins/onnx-ocr/plugin.d.ts +50 -2
  156. package/dist/server/bare/plugins/onnx-ocr/plugin.js +46 -5
  157. package/dist/server/bare/plugins/onnx-tts/plugin.d.ts +351 -4
  158. package/dist/server/bare/plugins/onnx-tts/plugin.js +81 -61
  159. package/dist/server/bare/plugins/parakeet-transcription/plugin.d.ts +317 -0
  160. package/dist/server/bare/plugins/parakeet-transcription/plugin.js +154 -0
  161. package/dist/server/bare/plugins/whispercpp-transcription/plugin.d.ts +209 -3
  162. package/dist/server/bare/plugins/whispercpp-transcription/plugin.js +21 -9
  163. package/dist/server/bare/rag-hyperdb/rag-workspace-manager.js +2 -2
  164. package/dist/server/bare/registry/model-config-utils.js +3 -1
  165. package/dist/server/bare/registry/model-registry.d.ts +2 -0
  166. package/dist/server/bare/registry/model-registry.js +2 -1
  167. package/dist/server/bare/utils/audio-input.d.ts +10 -0
  168. package/dist/server/bare/utils/audio-input.js +33 -0
  169. package/dist/server/error-handlers.d.ts +3 -2
  170. package/dist/server/error-handlers.js +11 -8
  171. package/dist/server/plugins/registry.js +5 -1
  172. package/dist/server/rpc/delegate-transport.d.ts +11 -3
  173. package/dist/server/rpc/delegate-transport.js +214 -38
  174. package/dist/server/rpc/delegate-utils.d.ts +2 -0
  175. package/dist/server/rpc/delegate-utils.js +5 -0
  176. package/dist/server/rpc/handle-request.js +43 -4
  177. package/dist/server/rpc/handler-registry.js +33 -4
  178. package/dist/server/rpc/handler-utils.d.ts +5 -4
  179. package/dist/server/rpc/handler-utils.js +114 -31
  180. package/dist/server/rpc/handlers/cancel-delegated.d.ts +4 -0
  181. package/dist/server/rpc/handlers/cancel-delegated.js +71 -0
  182. package/dist/server/rpc/handlers/completion-stream-delegated.d.ts +3 -1
  183. package/dist/server/rpc/handlers/completion-stream-delegated.js +13 -4
  184. package/dist/server/rpc/handlers/download-asset.js +55 -3
  185. package/dist/server/rpc/handlers/heartbeat-delegated.d.ts +4 -0
  186. package/dist/server/rpc/handlers/heartbeat-delegated.js +32 -0
  187. package/dist/server/rpc/handlers/heartbeat.d.ts +3 -0
  188. package/dist/server/rpc/handlers/heartbeat.js +3 -0
  189. package/dist/server/rpc/handlers/index.d.ts +2 -2
  190. package/dist/server/rpc/handlers/index.js +2 -2
  191. package/dist/server/rpc/handlers/load-model/download-stats.d.ts +6 -0
  192. package/dist/server/rpc/handlers/load-model/download-stats.js +87 -0
  193. package/dist/server/rpc/handlers/load-model/handler.js +108 -123
  194. package/dist/server/rpc/handlers/load-model/http.d.ts +2 -1
  195. package/dist/server/rpc/handlers/load-model/http.js +21 -5
  196. package/dist/server/rpc/handlers/load-model/hyperdrive.d.ts +2 -1
  197. package/dist/server/rpc/handlers/load-model/hyperdrive.js +19 -14
  198. package/dist/server/rpc/handlers/load-model/registry.d.ts +2 -1
  199. package/dist/server/rpc/handlers/load-model/registry.js +113 -136
  200. package/dist/server/rpc/handlers/load-model/resolve.d.ts +2 -0
  201. package/dist/server/rpc/handlers/load-model/resolve.js +55 -22
  202. package/dist/server/rpc/handlers/load-model/types.d.ts +29 -0
  203. package/dist/server/rpc/handlers/load-model/types.js +1 -0
  204. package/dist/server/rpc/handlers/load-model-delegated.d.ts +5 -1
  205. package/dist/server/rpc/handlers/load-model-delegated.js +41 -11
  206. package/dist/server/rpc/handlers/plugin-dispatch.js +15 -10
  207. package/dist/server/rpc/handlers/plugin-invoke.js +56 -51
  208. package/dist/server/rpc/handlers/rag.js +24 -0
  209. package/dist/server/rpc/handlers/unload-model-delegated.d.ts +3 -0
  210. package/dist/server/rpc/handlers/unload-model-delegated.js +32 -0
  211. package/dist/server/rpc/profiling/context.d.ts +18 -0
  212. package/dist/server/rpc/profiling/context.js +38 -0
  213. package/dist/server/rpc/profiling/delegation-profiler.d.ts +32 -0
  214. package/dist/server/rpc/profiling/delegation-profiler.js +154 -0
  215. package/dist/server/rpc/profiling/index.d.ts +5 -0
  216. package/dist/server/rpc/profiling/index.js +4 -0
  217. package/dist/server/rpc/profiling/operation-metrics.d.ts +25 -0
  218. package/dist/server/rpc/profiling/operation-metrics.js +199 -0
  219. package/dist/server/rpc/profiling/operation-wrappers.d.ts +18 -0
  220. package/dist/server/rpc/profiling/operation-wrappers.js +124 -0
  221. package/dist/server/rpc/profiling/profiler.d.ts +13 -0
  222. package/dist/server/rpc/profiling/profiler.js +97 -0
  223. package/dist/server/utils/cache.d.ts +2 -1
  224. package/dist/server/utils/cache.js +5 -1
  225. package/dist/server/utils/checksum.d.ts +2 -0
  226. package/dist/server/utils/checksum.js +7 -0
  227. package/dist/server/utils/formatting.d.ts +6 -0
  228. package/dist/server/utils/formatting.js +35 -0
  229. package/dist/server/worker.js +2 -1
  230. package/dist/utils/errors-client.d.ts +3 -0
  231. package/dist/utils/errors-client.js +6 -0
  232. package/dist/utils/errors-server.d.ts +9 -0
  233. package/dist/utils/errors-server.js +15 -0
  234. package/dist/utils/global-singleton.d.ts +2 -0
  235. package/dist/utils/global-singleton.js +10 -0
  236. package/package.json +22 -18
  237. package/dist/client/api/ping.d.ts +0 -11
  238. package/dist/client/api/ping.js +0 -19
  239. package/dist/examples/embed-hyperdrive.d.ts +0 -2
  240. package/dist/examples/llamacpp-hyperdrive.d.ts +0 -2
  241. package/dist/examples/seed-hyperdrive.d.ts +0 -2
  242. package/dist/schemas/ping.d.ts +0 -11
  243. package/dist/schemas/ping.js +0 -8
  244. package/dist/schemas/whispercpp-config.d.ts +0 -70
  245. package/dist/server/bare/plugins/whispercpp-transcription/ops/transcribe-stream.d.ts +0 -3
  246. package/dist/server/bare/plugins/whispercpp-transcription/ops/transcribe-stream.js +0 -81
  247. package/dist/server/rpc/handlers/ping.d.ts +0 -3
  248. package/dist/server/rpc/handlers/ping.js +0 -3
  249. /package/dist/examples/{embed-hyperdrive.js → embed-p2p.js} +0 -0
  250. /package/dist/examples/{llamacpp-hyperdrive.js → llamacpp-p2p.js} +0 -0
  251. /package/dist/examples/{seed-hyperdrive.js → seed-p2p.js} +0 -0
  252. /package/dist/examples/{whispercpp-filesystem.d.ts → transcription/whispercpp-filesystem.d.ts} +0 -0
  253. /package/dist/examples/{whispercpp-filesystem.js → transcription/whispercpp-filesystem.js} +0 -0
  254. /package/dist/examples/{whispercpp-microphone-record.d.ts → transcription/whispercpp-microphone-record.d.ts} +0 -0
  255. /package/dist/examples/{whispercpp-microphone-record.js → transcription/whispercpp-microphone-record.js} +0 -0
  256. /package/dist/examples/{whispercpp-prompt.d.ts → transcription/whispercpp-prompt.d.ts} +0 -0
  257. /package/dist/examples/{whispercpp-prompt.js → transcription/whispercpp-prompt.js} +0 -0
@@ -1,19 +1,23 @@
1
1
  import { z } from "zod";
2
2
  export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
3
- type: z.ZodLiteral<"ping">;
3
+ type: z.ZodLiteral<"heartbeat">;
4
+ delegate: z.ZodOptional<z.ZodObject<{
5
+ topic: z.ZodString;
6
+ providerPublicKey: z.ZodString;
7
+ timeout: z.ZodOptional<z.ZodNumber>;
8
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
9
+ }, z.core.$strip>>;
4
10
  }, z.core.$strip>, z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
5
11
  type: z.ZodLiteral<"loadModel">;
6
12
  modelSrc: z.ZodString;
7
13
  modelName: z.ZodOptional<z.ZodString>;
8
- projectionModelSrc: z.ZodOptional<z.ZodString>;
9
- vadModelSrc: z.ZodOptional<z.ZodString>;
10
- detectorModelSrc: z.ZodOptional<z.ZodString>;
11
14
  withProgress: z.ZodOptional<z.ZodBoolean>;
12
15
  seed: z.ZodOptional<z.ZodBoolean>;
13
16
  delegate: z.ZodOptional<z.ZodObject<{
14
17
  topic: z.ZodString;
15
18
  providerPublicKey: z.ZodString;
16
19
  timeout: z.ZodOptional<z.ZodNumber>;
20
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
17
21
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18
22
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
19
23
  }, z.core.$strip>>;
@@ -37,20 +41,46 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
37
41
  stop_sequences: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
42
  n_discarded: z.ZodOptional<z.ZodNumber>;
39
43
  tools: z.ZodOptional<z.ZodBoolean>;
44
+ projectionModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
45
+ src: z.ZodString;
46
+ name: z.ZodOptional<z.ZodString>;
47
+ modelId: z.ZodOptional<z.ZodString>;
48
+ registryPath: z.ZodOptional<z.ZodString>;
49
+ registrySource: z.ZodOptional<z.ZodString>;
50
+ blobCoreKey: z.ZodOptional<z.ZodString>;
51
+ blobIndex: z.ZodOptional<z.ZodNumber>;
52
+ engine: z.ZodOptional<z.ZodString>;
53
+ expectedSize: z.ZodOptional<z.ZodNumber>;
54
+ sha256Checksum: z.ZodOptional<z.ZodString>;
55
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
56
+ "llamacpp-completion": "llamacpp-completion";
57
+ "whispercpp-transcription": "whispercpp-transcription";
58
+ "llamacpp-embedding": "llamacpp-embedding";
59
+ "nmtcpp-translation": "nmtcpp-translation";
60
+ "onnx-tts": "onnx-tts";
61
+ "parakeet-transcription": "parakeet-transcription";
62
+ "onnx-ocr": "onnx-ocr";
63
+ llm: "llm";
64
+ whisper: "whisper";
65
+ embeddings: "embeddings";
66
+ nmt: "nmt";
67
+ parakeet: "parakeet";
68
+ tts: "tts";
69
+ ocr: "ocr";
70
+ }>, z.ZodLiteral<"vad">]>>;
71
+ }, z.core.$strip>]>>;
40
72
  }, z.core.$strip>;
41
- }, z.core.$strip>, z.ZodObject<{
73
+ }, z.core.$strict>, z.ZodObject<{
42
74
  type: z.ZodLiteral<"loadModel">;
43
75
  modelSrc: z.ZodString;
44
76
  modelName: z.ZodOptional<z.ZodString>;
45
- projectionModelSrc: z.ZodOptional<z.ZodString>;
46
- vadModelSrc: z.ZodOptional<z.ZodString>;
47
- detectorModelSrc: z.ZodOptional<z.ZodString>;
48
77
  withProgress: z.ZodOptional<z.ZodBoolean>;
49
78
  seed: z.ZodOptional<z.ZodBoolean>;
50
79
  delegate: z.ZodOptional<z.ZodObject<{
51
80
  topic: z.ZodString;
52
81
  providerPublicKey: z.ZodString;
53
82
  timeout: z.ZodOptional<z.ZodNumber>;
83
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
54
84
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
55
85
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
56
86
  }, z.core.$strip>>;
@@ -94,7 +124,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
94
124
  logprob_thold: z.ZodOptional<z.ZodNumber>;
95
125
  greedy_best_of: z.ZodOptional<z.ZodNumber>;
96
126
  beam_search_beam_size: z.ZodOptional<z.ZodNumber>;
97
- vad_model_path: z.ZodOptional<z.ZodString>;
98
127
  vad_params: z.ZodOptional<z.ZodObject<{
99
128
  threshold: z.ZodOptional<z.ZodNumber>;
100
129
  min_speech_duration_ms: z.ZodOptional<z.ZodNumber>;
@@ -116,48 +145,371 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
116
145
  miscConfig: z.ZodOptional<z.ZodObject<{
117
146
  caption_enabled: z.ZodOptional<z.ZodBoolean>;
118
147
  }, z.core.$strip>>;
148
+ vadModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
149
+ src: z.ZodString;
150
+ name: z.ZodOptional<z.ZodString>;
151
+ modelId: z.ZodOptional<z.ZodString>;
152
+ registryPath: z.ZodOptional<z.ZodString>;
153
+ registrySource: z.ZodOptional<z.ZodString>;
154
+ blobCoreKey: z.ZodOptional<z.ZodString>;
155
+ blobIndex: z.ZodOptional<z.ZodNumber>;
156
+ engine: z.ZodOptional<z.ZodString>;
157
+ expectedSize: z.ZodOptional<z.ZodNumber>;
158
+ sha256Checksum: z.ZodOptional<z.ZodString>;
159
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
160
+ "llamacpp-completion": "llamacpp-completion";
161
+ "whispercpp-transcription": "whispercpp-transcription";
162
+ "llamacpp-embedding": "llamacpp-embedding";
163
+ "nmtcpp-translation": "nmtcpp-translation";
164
+ "onnx-tts": "onnx-tts";
165
+ "parakeet-transcription": "parakeet-transcription";
166
+ "onnx-ocr": "onnx-ocr";
167
+ llm: "llm";
168
+ whisper: "whisper";
169
+ embeddings: "embeddings";
170
+ nmt: "nmt";
171
+ parakeet: "parakeet";
172
+ tts: "tts";
173
+ ocr: "ocr";
174
+ }>, z.ZodLiteral<"vad">]>>;
175
+ }, z.core.$strip>]>>;
119
176
  }, z.core.$strip>;
120
- }, z.core.$strip>, z.ZodObject<{
177
+ }, z.core.$strict>, z.ZodObject<{
121
178
  type: z.ZodLiteral<"loadModel">;
122
179
  modelSrc: z.ZodString;
123
180
  modelName: z.ZodOptional<z.ZodString>;
124
- projectionModelSrc: z.ZodOptional<z.ZodString>;
125
- vadModelSrc: z.ZodOptional<z.ZodString>;
126
- detectorModelSrc: z.ZodOptional<z.ZodString>;
127
181
  withProgress: z.ZodOptional<z.ZodBoolean>;
128
182
  seed: z.ZodOptional<z.ZodBoolean>;
129
183
  delegate: z.ZodOptional<z.ZodObject<{
130
184
  topic: z.ZodString;
131
185
  providerPublicKey: z.ZodString;
132
186
  timeout: z.ZodOptional<z.ZodNumber>;
187
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
188
+ fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
189
+ forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
190
+ }, z.core.$strip>>;
191
+ modelType: z.ZodLiteral<"parakeet-transcription">;
192
+ modelConfig: z.ZodObject<{
193
+ modelType: z.ZodDefault<z.ZodEnum<{
194
+ tdt: "tdt";
195
+ ctc: "ctc";
196
+ sortformer: "sortformer";
197
+ }>>;
198
+ maxThreads: z.ZodOptional<z.ZodNumber>;
199
+ useGPU: z.ZodOptional<z.ZodBoolean>;
200
+ sampleRate: z.ZodOptional<z.ZodNumber>;
201
+ channels: z.ZodOptional<z.ZodNumber>;
202
+ captionEnabled: z.ZodOptional<z.ZodBoolean>;
203
+ timestampsEnabled: z.ZodOptional<z.ZodBoolean>;
204
+ parakeetEncoderSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
205
+ src: z.ZodString;
206
+ name: z.ZodOptional<z.ZodString>;
207
+ modelId: z.ZodOptional<z.ZodString>;
208
+ registryPath: z.ZodOptional<z.ZodString>;
209
+ registrySource: z.ZodOptional<z.ZodString>;
210
+ blobCoreKey: z.ZodOptional<z.ZodString>;
211
+ blobIndex: z.ZodOptional<z.ZodNumber>;
212
+ engine: z.ZodOptional<z.ZodString>;
213
+ expectedSize: z.ZodOptional<z.ZodNumber>;
214
+ sha256Checksum: z.ZodOptional<z.ZodString>;
215
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
216
+ "llamacpp-completion": "llamacpp-completion";
217
+ "whispercpp-transcription": "whispercpp-transcription";
218
+ "llamacpp-embedding": "llamacpp-embedding";
219
+ "nmtcpp-translation": "nmtcpp-translation";
220
+ "onnx-tts": "onnx-tts";
221
+ "parakeet-transcription": "parakeet-transcription";
222
+ "onnx-ocr": "onnx-ocr";
223
+ llm: "llm";
224
+ whisper: "whisper";
225
+ embeddings: "embeddings";
226
+ nmt: "nmt";
227
+ parakeet: "parakeet";
228
+ tts: "tts";
229
+ ocr: "ocr";
230
+ }>, z.ZodLiteral<"vad">]>>;
231
+ }, z.core.$strip>]>>;
232
+ parakeetEncoderDataSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
233
+ src: z.ZodString;
234
+ name: z.ZodOptional<z.ZodString>;
235
+ modelId: z.ZodOptional<z.ZodString>;
236
+ registryPath: z.ZodOptional<z.ZodString>;
237
+ registrySource: z.ZodOptional<z.ZodString>;
238
+ blobCoreKey: z.ZodOptional<z.ZodString>;
239
+ blobIndex: z.ZodOptional<z.ZodNumber>;
240
+ engine: z.ZodOptional<z.ZodString>;
241
+ expectedSize: z.ZodOptional<z.ZodNumber>;
242
+ sha256Checksum: z.ZodOptional<z.ZodString>;
243
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
244
+ "llamacpp-completion": "llamacpp-completion";
245
+ "whispercpp-transcription": "whispercpp-transcription";
246
+ "llamacpp-embedding": "llamacpp-embedding";
247
+ "nmtcpp-translation": "nmtcpp-translation";
248
+ "onnx-tts": "onnx-tts";
249
+ "parakeet-transcription": "parakeet-transcription";
250
+ "onnx-ocr": "onnx-ocr";
251
+ llm: "llm";
252
+ whisper: "whisper";
253
+ embeddings: "embeddings";
254
+ nmt: "nmt";
255
+ parakeet: "parakeet";
256
+ tts: "tts";
257
+ ocr: "ocr";
258
+ }>, z.ZodLiteral<"vad">]>>;
259
+ }, z.core.$strip>]>>;
260
+ parakeetDecoderSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
261
+ src: z.ZodString;
262
+ name: z.ZodOptional<z.ZodString>;
263
+ modelId: z.ZodOptional<z.ZodString>;
264
+ registryPath: z.ZodOptional<z.ZodString>;
265
+ registrySource: z.ZodOptional<z.ZodString>;
266
+ blobCoreKey: z.ZodOptional<z.ZodString>;
267
+ blobIndex: z.ZodOptional<z.ZodNumber>;
268
+ engine: z.ZodOptional<z.ZodString>;
269
+ expectedSize: z.ZodOptional<z.ZodNumber>;
270
+ sha256Checksum: z.ZodOptional<z.ZodString>;
271
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
272
+ "llamacpp-completion": "llamacpp-completion";
273
+ "whispercpp-transcription": "whispercpp-transcription";
274
+ "llamacpp-embedding": "llamacpp-embedding";
275
+ "nmtcpp-translation": "nmtcpp-translation";
276
+ "onnx-tts": "onnx-tts";
277
+ "parakeet-transcription": "parakeet-transcription";
278
+ "onnx-ocr": "onnx-ocr";
279
+ llm: "llm";
280
+ whisper: "whisper";
281
+ embeddings: "embeddings";
282
+ nmt: "nmt";
283
+ parakeet: "parakeet";
284
+ tts: "tts";
285
+ ocr: "ocr";
286
+ }>, z.ZodLiteral<"vad">]>>;
287
+ }, z.core.$strip>]>>;
288
+ parakeetVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
289
+ src: z.ZodString;
290
+ name: z.ZodOptional<z.ZodString>;
291
+ modelId: z.ZodOptional<z.ZodString>;
292
+ registryPath: z.ZodOptional<z.ZodString>;
293
+ registrySource: z.ZodOptional<z.ZodString>;
294
+ blobCoreKey: z.ZodOptional<z.ZodString>;
295
+ blobIndex: z.ZodOptional<z.ZodNumber>;
296
+ engine: z.ZodOptional<z.ZodString>;
297
+ expectedSize: z.ZodOptional<z.ZodNumber>;
298
+ sha256Checksum: z.ZodOptional<z.ZodString>;
299
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
300
+ "llamacpp-completion": "llamacpp-completion";
301
+ "whispercpp-transcription": "whispercpp-transcription";
302
+ "llamacpp-embedding": "llamacpp-embedding";
303
+ "nmtcpp-translation": "nmtcpp-translation";
304
+ "onnx-tts": "onnx-tts";
305
+ "parakeet-transcription": "parakeet-transcription";
306
+ "onnx-ocr": "onnx-ocr";
307
+ llm: "llm";
308
+ whisper: "whisper";
309
+ embeddings: "embeddings";
310
+ nmt: "nmt";
311
+ parakeet: "parakeet";
312
+ tts: "tts";
313
+ ocr: "ocr";
314
+ }>, z.ZodLiteral<"vad">]>>;
315
+ }, z.core.$strip>]>>;
316
+ parakeetPreprocessorSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
317
+ src: z.ZodString;
318
+ name: z.ZodOptional<z.ZodString>;
319
+ modelId: z.ZodOptional<z.ZodString>;
320
+ registryPath: z.ZodOptional<z.ZodString>;
321
+ registrySource: z.ZodOptional<z.ZodString>;
322
+ blobCoreKey: z.ZodOptional<z.ZodString>;
323
+ blobIndex: z.ZodOptional<z.ZodNumber>;
324
+ engine: z.ZodOptional<z.ZodString>;
325
+ expectedSize: z.ZodOptional<z.ZodNumber>;
326
+ sha256Checksum: z.ZodOptional<z.ZodString>;
327
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
328
+ "llamacpp-completion": "llamacpp-completion";
329
+ "whispercpp-transcription": "whispercpp-transcription";
330
+ "llamacpp-embedding": "llamacpp-embedding";
331
+ "nmtcpp-translation": "nmtcpp-translation";
332
+ "onnx-tts": "onnx-tts";
333
+ "parakeet-transcription": "parakeet-transcription";
334
+ "onnx-ocr": "onnx-ocr";
335
+ llm: "llm";
336
+ whisper: "whisper";
337
+ embeddings: "embeddings";
338
+ nmt: "nmt";
339
+ parakeet: "parakeet";
340
+ tts: "tts";
341
+ ocr: "ocr";
342
+ }>, z.ZodLiteral<"vad">]>>;
343
+ }, z.core.$strip>]>>;
344
+ parakeetCtcModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
345
+ src: z.ZodString;
346
+ name: z.ZodOptional<z.ZodString>;
347
+ modelId: z.ZodOptional<z.ZodString>;
348
+ registryPath: z.ZodOptional<z.ZodString>;
349
+ registrySource: z.ZodOptional<z.ZodString>;
350
+ blobCoreKey: z.ZodOptional<z.ZodString>;
351
+ blobIndex: z.ZodOptional<z.ZodNumber>;
352
+ engine: z.ZodOptional<z.ZodString>;
353
+ expectedSize: z.ZodOptional<z.ZodNumber>;
354
+ sha256Checksum: z.ZodOptional<z.ZodString>;
355
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
356
+ "llamacpp-completion": "llamacpp-completion";
357
+ "whispercpp-transcription": "whispercpp-transcription";
358
+ "llamacpp-embedding": "llamacpp-embedding";
359
+ "nmtcpp-translation": "nmtcpp-translation";
360
+ "onnx-tts": "onnx-tts";
361
+ "parakeet-transcription": "parakeet-transcription";
362
+ "onnx-ocr": "onnx-ocr";
363
+ llm: "llm";
364
+ whisper: "whisper";
365
+ embeddings: "embeddings";
366
+ nmt: "nmt";
367
+ parakeet: "parakeet";
368
+ tts: "tts";
369
+ ocr: "ocr";
370
+ }>, z.ZodLiteral<"vad">]>>;
371
+ }, z.core.$strip>]>>;
372
+ parakeetCtcModelDataSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
373
+ src: z.ZodString;
374
+ name: z.ZodOptional<z.ZodString>;
375
+ modelId: z.ZodOptional<z.ZodString>;
376
+ registryPath: z.ZodOptional<z.ZodString>;
377
+ registrySource: z.ZodOptional<z.ZodString>;
378
+ blobCoreKey: z.ZodOptional<z.ZodString>;
379
+ blobIndex: z.ZodOptional<z.ZodNumber>;
380
+ engine: z.ZodOptional<z.ZodString>;
381
+ expectedSize: z.ZodOptional<z.ZodNumber>;
382
+ sha256Checksum: z.ZodOptional<z.ZodString>;
383
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
384
+ "llamacpp-completion": "llamacpp-completion";
385
+ "whispercpp-transcription": "whispercpp-transcription";
386
+ "llamacpp-embedding": "llamacpp-embedding";
387
+ "nmtcpp-translation": "nmtcpp-translation";
388
+ "onnx-tts": "onnx-tts";
389
+ "parakeet-transcription": "parakeet-transcription";
390
+ "onnx-ocr": "onnx-ocr";
391
+ llm: "llm";
392
+ whisper: "whisper";
393
+ embeddings: "embeddings";
394
+ nmt: "nmt";
395
+ parakeet: "parakeet";
396
+ tts: "tts";
397
+ ocr: "ocr";
398
+ }>, z.ZodLiteral<"vad">]>>;
399
+ }, z.core.$strip>]>>;
400
+ parakeetTokenizerSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
401
+ src: z.ZodString;
402
+ name: z.ZodOptional<z.ZodString>;
403
+ modelId: z.ZodOptional<z.ZodString>;
404
+ registryPath: z.ZodOptional<z.ZodString>;
405
+ registrySource: z.ZodOptional<z.ZodString>;
406
+ blobCoreKey: z.ZodOptional<z.ZodString>;
407
+ blobIndex: z.ZodOptional<z.ZodNumber>;
408
+ engine: z.ZodOptional<z.ZodString>;
409
+ expectedSize: z.ZodOptional<z.ZodNumber>;
410
+ sha256Checksum: z.ZodOptional<z.ZodString>;
411
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
412
+ "llamacpp-completion": "llamacpp-completion";
413
+ "whispercpp-transcription": "whispercpp-transcription";
414
+ "llamacpp-embedding": "llamacpp-embedding";
415
+ "nmtcpp-translation": "nmtcpp-translation";
416
+ "onnx-tts": "onnx-tts";
417
+ "parakeet-transcription": "parakeet-transcription";
418
+ "onnx-ocr": "onnx-ocr";
419
+ llm: "llm";
420
+ whisper: "whisper";
421
+ embeddings: "embeddings";
422
+ nmt: "nmt";
423
+ parakeet: "parakeet";
424
+ tts: "tts";
425
+ ocr: "ocr";
426
+ }>, z.ZodLiteral<"vad">]>>;
427
+ }, z.core.$strip>]>>;
428
+ parakeetSortformerSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
429
+ src: z.ZodString;
430
+ name: z.ZodOptional<z.ZodString>;
431
+ modelId: z.ZodOptional<z.ZodString>;
432
+ registryPath: z.ZodOptional<z.ZodString>;
433
+ registrySource: z.ZodOptional<z.ZodString>;
434
+ blobCoreKey: z.ZodOptional<z.ZodString>;
435
+ blobIndex: z.ZodOptional<z.ZodNumber>;
436
+ engine: z.ZodOptional<z.ZodString>;
437
+ expectedSize: z.ZodOptional<z.ZodNumber>;
438
+ sha256Checksum: z.ZodOptional<z.ZodString>;
439
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
440
+ "llamacpp-completion": "llamacpp-completion";
441
+ "whispercpp-transcription": "whispercpp-transcription";
442
+ "llamacpp-embedding": "llamacpp-embedding";
443
+ "nmtcpp-translation": "nmtcpp-translation";
444
+ "onnx-tts": "onnx-tts";
445
+ "parakeet-transcription": "parakeet-transcription";
446
+ "onnx-ocr": "onnx-ocr";
447
+ llm: "llm";
448
+ whisper: "whisper";
449
+ embeddings: "embeddings";
450
+ nmt: "nmt";
451
+ parakeet: "parakeet";
452
+ tts: "tts";
453
+ ocr: "ocr";
454
+ }>, z.ZodLiteral<"vad">]>>;
455
+ }, z.core.$strip>]>>;
456
+ }, z.core.$strip>;
457
+ }, z.core.$strict>, z.ZodObject<{
458
+ type: z.ZodLiteral<"loadModel">;
459
+ modelSrc: z.ZodString;
460
+ modelName: z.ZodOptional<z.ZodString>;
461
+ withProgress: z.ZodOptional<z.ZodBoolean>;
462
+ seed: z.ZodOptional<z.ZodBoolean>;
463
+ delegate: z.ZodOptional<z.ZodObject<{
464
+ topic: z.ZodString;
465
+ providerPublicKey: z.ZodString;
466
+ timeout: z.ZodOptional<z.ZodNumber>;
467
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
133
468
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
134
469
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
135
470
  }, z.core.$strip>>;
136
471
  modelType: z.ZodLiteral<"llamacpp-embedding">;
137
472
  modelConfig: z.ZodObject<{
138
473
  gpuLayers: z.ZodOptional<z.ZodNumber>;
139
- device: z.ZodOptional<z.ZodString>;
474
+ device: z.ZodOptional<z.ZodEnum<{
475
+ gpu: "gpu";
476
+ cpu: "cpu";
477
+ }>>;
140
478
  batchSize: z.ZodOptional<z.ZodNumber>;
141
- ctxSize: z.ZodOptional<z.ZodNumber>;
479
+ pooling: z.ZodOptional<z.ZodEnum<{
480
+ none: "none";
481
+ mean: "mean";
482
+ cls: "cls";
483
+ last: "last";
484
+ rank: "rank";
485
+ }>>;
486
+ attention: z.ZodOptional<z.ZodEnum<{
487
+ causal: "causal";
488
+ "non-causal": "non-causal";
489
+ }>>;
490
+ embdNormalize: z.ZodOptional<z.ZodNumber>;
142
491
  flashAttention: z.ZodOptional<z.ZodEnum<{
143
492
  on: "on";
144
493
  off: "off";
494
+ auto: "auto";
145
495
  }>>;
146
- rawConfig: z.ZodOptional<z.ZodString>;
496
+ mainGpu: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
497
+ integrated: "integrated";
498
+ dedicated: "dedicated";
499
+ }>]>>;
500
+ verbosity: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
147
501
  }, z.core.$strip>;
148
- }, z.core.$strip>, z.ZodObject<{
502
+ }, z.core.$strict>, z.ZodObject<{
149
503
  type: z.ZodLiteral<"loadModel">;
150
504
  modelSrc: z.ZodString;
151
505
  modelName: z.ZodOptional<z.ZodString>;
152
- projectionModelSrc: z.ZodOptional<z.ZodString>;
153
- vadModelSrc: z.ZodOptional<z.ZodString>;
154
- detectorModelSrc: z.ZodOptional<z.ZodString>;
155
506
  withProgress: z.ZodOptional<z.ZodBoolean>;
156
507
  seed: z.ZodOptional<z.ZodBoolean>;
157
508
  delegate: z.ZodOptional<z.ZodObject<{
158
509
  topic: z.ZodString;
159
510
  providerPublicKey: z.ZodString;
160
511
  timeout: z.ZodOptional<z.ZodNumber>;
512
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
161
513
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
162
514
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
163
515
  }, z.core.$strip>>;
@@ -258,9 +610,161 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
258
610
  uk: "uk";
259
611
  zh: "zh";
260
612
  }>;
261
- srcVocabPath: z.ZodOptional<z.ZodString>;
262
- dstVocabPath: z.ZodOptional<z.ZodString>;
613
+ srcVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
614
+ src: z.ZodString;
615
+ name: z.ZodOptional<z.ZodString>;
616
+ modelId: z.ZodOptional<z.ZodString>;
617
+ registryPath: z.ZodOptional<z.ZodString>;
618
+ registrySource: z.ZodOptional<z.ZodString>;
619
+ blobCoreKey: z.ZodOptional<z.ZodString>;
620
+ blobIndex: z.ZodOptional<z.ZodNumber>;
621
+ engine: z.ZodOptional<z.ZodString>;
622
+ expectedSize: z.ZodOptional<z.ZodNumber>;
623
+ sha256Checksum: z.ZodOptional<z.ZodString>;
624
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
625
+ "llamacpp-completion": "llamacpp-completion";
626
+ "whispercpp-transcription": "whispercpp-transcription";
627
+ "llamacpp-embedding": "llamacpp-embedding";
628
+ "nmtcpp-translation": "nmtcpp-translation";
629
+ "onnx-tts": "onnx-tts";
630
+ "parakeet-transcription": "parakeet-transcription";
631
+ "onnx-ocr": "onnx-ocr";
632
+ llm: "llm";
633
+ whisper: "whisper";
634
+ embeddings: "embeddings";
635
+ nmt: "nmt";
636
+ parakeet: "parakeet";
637
+ tts: "tts";
638
+ ocr: "ocr";
639
+ }>, z.ZodLiteral<"vad">]>>;
640
+ }, z.core.$strip>]>>;
641
+ dstVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
642
+ src: z.ZodString;
643
+ name: z.ZodOptional<z.ZodString>;
644
+ modelId: z.ZodOptional<z.ZodString>;
645
+ registryPath: z.ZodOptional<z.ZodString>;
646
+ registrySource: z.ZodOptional<z.ZodString>;
647
+ blobCoreKey: z.ZodOptional<z.ZodString>;
648
+ blobIndex: z.ZodOptional<z.ZodNumber>;
649
+ engine: z.ZodOptional<z.ZodString>;
650
+ expectedSize: z.ZodOptional<z.ZodNumber>;
651
+ sha256Checksum: z.ZodOptional<z.ZodString>;
652
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
653
+ "llamacpp-completion": "llamacpp-completion";
654
+ "whispercpp-transcription": "whispercpp-transcription";
655
+ "llamacpp-embedding": "llamacpp-embedding";
656
+ "nmtcpp-translation": "nmtcpp-translation";
657
+ "onnx-tts": "onnx-tts";
658
+ "parakeet-transcription": "parakeet-transcription";
659
+ "onnx-ocr": "onnx-ocr";
660
+ llm: "llm";
661
+ whisper: "whisper";
662
+ embeddings: "embeddings";
663
+ nmt: "nmt";
664
+ parakeet: "parakeet";
665
+ tts: "tts";
666
+ ocr: "ocr";
667
+ }>, z.ZodLiteral<"vad">]>>;
668
+ }, z.core.$strip>]>>;
263
669
  normalize: z.ZodOptional<z.ZodNumber>;
670
+ pivotModel: z.ZodOptional<z.ZodObject<{
671
+ mode: z.ZodOptional<z.ZodEnum<{
672
+ full: "full";
673
+ }>>;
674
+ beamsize: z.ZodOptional<z.ZodNumber>;
675
+ lengthpenalty: z.ZodOptional<z.ZodNumber>;
676
+ maxlength: z.ZodOptional<z.ZodNumber>;
677
+ repetitionpenalty: z.ZodOptional<z.ZodNumber>;
678
+ norepeatngramsize: z.ZodOptional<z.ZodNumber>;
679
+ temperature: z.ZodOptional<z.ZodNumber>;
680
+ topk: z.ZodOptional<z.ZodNumber>;
681
+ topp: z.ZodOptional<z.ZodNumber>;
682
+ modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
683
+ src: z.ZodString;
684
+ name: z.ZodOptional<z.ZodString>;
685
+ modelId: z.ZodOptional<z.ZodString>;
686
+ registryPath: z.ZodOptional<z.ZodString>;
687
+ registrySource: z.ZodOptional<z.ZodString>;
688
+ blobCoreKey: z.ZodOptional<z.ZodString>;
689
+ blobIndex: z.ZodOptional<z.ZodNumber>;
690
+ engine: z.ZodOptional<z.ZodString>;
691
+ expectedSize: z.ZodOptional<z.ZodNumber>;
692
+ sha256Checksum: z.ZodOptional<z.ZodString>;
693
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
694
+ "llamacpp-completion": "llamacpp-completion";
695
+ "whispercpp-transcription": "whispercpp-transcription";
696
+ "llamacpp-embedding": "llamacpp-embedding";
697
+ "nmtcpp-translation": "nmtcpp-translation";
698
+ "onnx-tts": "onnx-tts";
699
+ "parakeet-transcription": "parakeet-transcription";
700
+ "onnx-ocr": "onnx-ocr";
701
+ llm: "llm";
702
+ whisper: "whisper";
703
+ embeddings: "embeddings";
704
+ nmt: "nmt";
705
+ parakeet: "parakeet";
706
+ tts: "tts";
707
+ ocr: "ocr";
708
+ }>, z.ZodLiteral<"vad">]>>;
709
+ }, z.core.$strip>]>;
710
+ srcVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
711
+ src: z.ZodString;
712
+ name: z.ZodOptional<z.ZodString>;
713
+ modelId: z.ZodOptional<z.ZodString>;
714
+ registryPath: z.ZodOptional<z.ZodString>;
715
+ registrySource: z.ZodOptional<z.ZodString>;
716
+ blobCoreKey: z.ZodOptional<z.ZodString>;
717
+ blobIndex: z.ZodOptional<z.ZodNumber>;
718
+ engine: z.ZodOptional<z.ZodString>;
719
+ expectedSize: z.ZodOptional<z.ZodNumber>;
720
+ sha256Checksum: z.ZodOptional<z.ZodString>;
721
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
722
+ "llamacpp-completion": "llamacpp-completion";
723
+ "whispercpp-transcription": "whispercpp-transcription";
724
+ "llamacpp-embedding": "llamacpp-embedding";
725
+ "nmtcpp-translation": "nmtcpp-translation";
726
+ "onnx-tts": "onnx-tts";
727
+ "parakeet-transcription": "parakeet-transcription";
728
+ "onnx-ocr": "onnx-ocr";
729
+ llm: "llm";
730
+ whisper: "whisper";
731
+ embeddings: "embeddings";
732
+ nmt: "nmt";
733
+ parakeet: "parakeet";
734
+ tts: "tts";
735
+ ocr: "ocr";
736
+ }>, z.ZodLiteral<"vad">]>>;
737
+ }, z.core.$strip>]>>;
738
+ dstVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
739
+ src: z.ZodString;
740
+ name: z.ZodOptional<z.ZodString>;
741
+ modelId: z.ZodOptional<z.ZodString>;
742
+ registryPath: z.ZodOptional<z.ZodString>;
743
+ registrySource: z.ZodOptional<z.ZodString>;
744
+ blobCoreKey: z.ZodOptional<z.ZodString>;
745
+ blobIndex: z.ZodOptional<z.ZodNumber>;
746
+ engine: z.ZodOptional<z.ZodString>;
747
+ expectedSize: z.ZodOptional<z.ZodNumber>;
748
+ sha256Checksum: z.ZodOptional<z.ZodString>;
749
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
750
+ "llamacpp-completion": "llamacpp-completion";
751
+ "whispercpp-transcription": "whispercpp-transcription";
752
+ "llamacpp-embedding": "llamacpp-embedding";
753
+ "nmtcpp-translation": "nmtcpp-translation";
754
+ "onnx-tts": "onnx-tts";
755
+ "parakeet-transcription": "parakeet-transcription";
756
+ "onnx-ocr": "onnx-ocr";
757
+ llm: "llm";
758
+ whisper: "whisper";
759
+ embeddings: "embeddings";
760
+ nmt: "nmt";
761
+ parakeet: "parakeet";
762
+ tts: "tts";
763
+ ocr: "ocr";
764
+ }>, z.ZodLiteral<"vad">]>>;
765
+ }, z.core.$strip>]>>;
766
+ normalize: z.ZodOptional<z.ZodNumber>;
767
+ }, z.core.$strip>>;
264
768
  }, z.core.$strip>, z.ZodObject<{
265
769
  mode: z.ZodOptional<z.ZodEnum<{
266
770
  full: "full";
@@ -356,9 +860,84 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
356
860
  engine: "Bergamot";
357
861
  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
862
  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
- srcVocabPath?: string | undefined;
360
- dstVocabPath?: string | undefined;
863
+ srcVocabSrc?: string | {
864
+ src: string;
865
+ name?: string | undefined;
866
+ modelId?: string | undefined;
867
+ registryPath?: string | undefined;
868
+ registrySource?: string | undefined;
869
+ blobCoreKey?: string | undefined;
870
+ blobIndex?: number | undefined;
871
+ engine?: string | undefined;
872
+ expectedSize?: number | undefined;
873
+ sha256Checksum?: string | undefined;
874
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
875
+ } | undefined;
876
+ dstVocabSrc?: string | {
877
+ src: string;
878
+ name?: string | undefined;
879
+ modelId?: string | undefined;
880
+ registryPath?: string | undefined;
881
+ registrySource?: string | undefined;
882
+ blobCoreKey?: string | undefined;
883
+ blobIndex?: number | undefined;
884
+ engine?: string | undefined;
885
+ expectedSize?: number | undefined;
886
+ sha256Checksum?: string | undefined;
887
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
888
+ } | undefined;
361
889
  normalize?: number | undefined;
890
+ pivotModel?: {
891
+ modelSrc: string | {
892
+ src: string;
893
+ name?: string | undefined;
894
+ modelId?: string | undefined;
895
+ registryPath?: string | undefined;
896
+ registrySource?: string | undefined;
897
+ blobCoreKey?: string | undefined;
898
+ blobIndex?: number | undefined;
899
+ engine?: string | undefined;
900
+ expectedSize?: number | undefined;
901
+ sha256Checksum?: string | undefined;
902
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
903
+ };
904
+ mode?: "full" | undefined;
905
+ beamsize?: number | undefined;
906
+ lengthpenalty?: number | undefined;
907
+ maxlength?: number | undefined;
908
+ repetitionpenalty?: number | undefined;
909
+ norepeatngramsize?: number | undefined;
910
+ temperature?: number | undefined;
911
+ topk?: number | undefined;
912
+ topp?: number | undefined;
913
+ srcVocabSrc?: string | {
914
+ src: string;
915
+ name?: string | undefined;
916
+ modelId?: string | undefined;
917
+ registryPath?: string | undefined;
918
+ registrySource?: string | undefined;
919
+ blobCoreKey?: string | undefined;
920
+ blobIndex?: number | undefined;
921
+ engine?: string | undefined;
922
+ expectedSize?: number | undefined;
923
+ sha256Checksum?: string | undefined;
924
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
925
+ } | undefined;
926
+ dstVocabSrc?: string | {
927
+ src: string;
928
+ name?: string | undefined;
929
+ modelId?: string | undefined;
930
+ registryPath?: string | undefined;
931
+ registrySource?: string | undefined;
932
+ blobCoreKey?: string | undefined;
933
+ blobIndex?: number | undefined;
934
+ engine?: string | undefined;
935
+ expectedSize?: number | undefined;
936
+ sha256Checksum?: string | undefined;
937
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
938
+ } | undefined;
939
+ normalize?: number | undefined;
940
+ } | undefined;
362
941
  } | {
363
942
  mode: "full";
364
943
  beamsize: number;
@@ -398,9 +977,84 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
398
977
  temperature?: number | undefined;
399
978
  topk?: number | undefined;
400
979
  topp?: number | undefined;
401
- srcVocabPath?: string | undefined;
402
- dstVocabPath?: string | undefined;
980
+ srcVocabSrc?: string | {
981
+ src: string;
982
+ name?: string | undefined;
983
+ modelId?: string | undefined;
984
+ registryPath?: string | undefined;
985
+ registrySource?: string | undefined;
986
+ blobCoreKey?: string | undefined;
987
+ blobIndex?: number | undefined;
988
+ engine?: string | undefined;
989
+ expectedSize?: number | undefined;
990
+ sha256Checksum?: string | undefined;
991
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
992
+ } | undefined;
993
+ dstVocabSrc?: string | {
994
+ src: string;
995
+ name?: string | undefined;
996
+ modelId?: string | undefined;
997
+ registryPath?: string | undefined;
998
+ registrySource?: string | undefined;
999
+ blobCoreKey?: string | undefined;
1000
+ blobIndex?: number | undefined;
1001
+ engine?: string | undefined;
1002
+ expectedSize?: number | undefined;
1003
+ sha256Checksum?: string | undefined;
1004
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1005
+ } | undefined;
403
1006
  normalize?: number | undefined;
1007
+ pivotModel?: {
1008
+ modelSrc: string | {
1009
+ src: string;
1010
+ name?: string | undefined;
1011
+ modelId?: string | undefined;
1012
+ registryPath?: string | undefined;
1013
+ registrySource?: string | undefined;
1014
+ blobCoreKey?: string | undefined;
1015
+ blobIndex?: number | undefined;
1016
+ engine?: string | undefined;
1017
+ expectedSize?: number | undefined;
1018
+ sha256Checksum?: string | undefined;
1019
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1020
+ };
1021
+ mode?: "full" | undefined;
1022
+ beamsize?: number | undefined;
1023
+ lengthpenalty?: number | undefined;
1024
+ maxlength?: number | undefined;
1025
+ repetitionpenalty?: number | undefined;
1026
+ norepeatngramsize?: number | undefined;
1027
+ temperature?: number | undefined;
1028
+ topk?: number | undefined;
1029
+ topp?: number | undefined;
1030
+ srcVocabSrc?: string | {
1031
+ src: string;
1032
+ name?: string | undefined;
1033
+ modelId?: string | undefined;
1034
+ registryPath?: string | undefined;
1035
+ registrySource?: string | undefined;
1036
+ blobCoreKey?: string | undefined;
1037
+ blobIndex?: number | undefined;
1038
+ engine?: string | undefined;
1039
+ expectedSize?: number | undefined;
1040
+ sha256Checksum?: string | undefined;
1041
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1042
+ } | undefined;
1043
+ dstVocabSrc?: string | {
1044
+ src: string;
1045
+ name?: string | undefined;
1046
+ modelId?: string | undefined;
1047
+ registryPath?: string | undefined;
1048
+ registrySource?: string | undefined;
1049
+ blobCoreKey?: string | undefined;
1050
+ blobIndex?: number | undefined;
1051
+ engine?: string | undefined;
1052
+ expectedSize?: number | undefined;
1053
+ sha256Checksum?: string | undefined;
1054
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1055
+ } | undefined;
1056
+ normalize?: number | undefined;
1057
+ } | undefined;
404
1058
  } | {
405
1059
  engine: "IndicTrans";
406
1060
  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,21 +1069,17 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
415
1069
  topk?: number | undefined;
416
1070
  topp?: number | undefined;
417
1071
  }>>;
418
- srcVocabSrc: z.ZodOptional<z.ZodString>;
419
- dstVocabSrc: z.ZodOptional<z.ZodString>;
420
- }, z.core.$strip>, z.ZodObject<{
1072
+ }, z.core.$strict>, z.ZodObject<{
421
1073
  type: z.ZodLiteral<"loadModel">;
422
1074
  modelSrc: z.ZodString;
423
1075
  modelName: z.ZodOptional<z.ZodString>;
424
- projectionModelSrc: z.ZodOptional<z.ZodString>;
425
- vadModelSrc: z.ZodOptional<z.ZodString>;
426
- detectorModelSrc: z.ZodOptional<z.ZodString>;
427
1076
  withProgress: z.ZodOptional<z.ZodBoolean>;
428
1077
  seed: z.ZodOptional<z.ZodBoolean>;
429
1078
  delegate: z.ZodOptional<z.ZodObject<{
430
1079
  topic: z.ZodString;
431
1080
  providerPublicKey: z.ZodString;
432
1081
  timeout: z.ZodOptional<z.ZodNumber>;
1082
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
433
1083
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
434
1084
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
435
1085
  }, z.core.$strip>>;
@@ -442,12 +1092,174 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
442
1092
  es: "es";
443
1093
  it: "it";
444
1094
  }>;
445
- ttsTokenizerSrc: z.ZodString;
446
- ttsSpeechEncoderSrc: z.ZodString;
447
- ttsEmbedTokensSrc: z.ZodString;
448
- ttsConditionalDecoderSrc: z.ZodString;
449
- ttsLanguageModelSrc: z.ZodString;
450
- referenceAudioSrc: z.ZodString;
1095
+ ttsTokenizerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1096
+ src: z.ZodString;
1097
+ name: z.ZodOptional<z.ZodString>;
1098
+ modelId: z.ZodOptional<z.ZodString>;
1099
+ registryPath: z.ZodOptional<z.ZodString>;
1100
+ registrySource: z.ZodOptional<z.ZodString>;
1101
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1102
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1103
+ engine: z.ZodOptional<z.ZodString>;
1104
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1105
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1106
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1107
+ "llamacpp-completion": "llamacpp-completion";
1108
+ "whispercpp-transcription": "whispercpp-transcription";
1109
+ "llamacpp-embedding": "llamacpp-embedding";
1110
+ "nmtcpp-translation": "nmtcpp-translation";
1111
+ "onnx-tts": "onnx-tts";
1112
+ "parakeet-transcription": "parakeet-transcription";
1113
+ "onnx-ocr": "onnx-ocr";
1114
+ llm: "llm";
1115
+ whisper: "whisper";
1116
+ embeddings: "embeddings";
1117
+ nmt: "nmt";
1118
+ parakeet: "parakeet";
1119
+ tts: "tts";
1120
+ ocr: "ocr";
1121
+ }>, z.ZodLiteral<"vad">]>>;
1122
+ }, z.core.$strip>]>;
1123
+ ttsSpeechEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1124
+ src: z.ZodString;
1125
+ name: z.ZodOptional<z.ZodString>;
1126
+ modelId: z.ZodOptional<z.ZodString>;
1127
+ registryPath: z.ZodOptional<z.ZodString>;
1128
+ registrySource: z.ZodOptional<z.ZodString>;
1129
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1130
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1131
+ engine: z.ZodOptional<z.ZodString>;
1132
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1133
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1134
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1135
+ "llamacpp-completion": "llamacpp-completion";
1136
+ "whispercpp-transcription": "whispercpp-transcription";
1137
+ "llamacpp-embedding": "llamacpp-embedding";
1138
+ "nmtcpp-translation": "nmtcpp-translation";
1139
+ "onnx-tts": "onnx-tts";
1140
+ "parakeet-transcription": "parakeet-transcription";
1141
+ "onnx-ocr": "onnx-ocr";
1142
+ llm: "llm";
1143
+ whisper: "whisper";
1144
+ embeddings: "embeddings";
1145
+ nmt: "nmt";
1146
+ parakeet: "parakeet";
1147
+ tts: "tts";
1148
+ ocr: "ocr";
1149
+ }>, z.ZodLiteral<"vad">]>>;
1150
+ }, z.core.$strip>]>;
1151
+ ttsEmbedTokensSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1152
+ src: z.ZodString;
1153
+ name: z.ZodOptional<z.ZodString>;
1154
+ modelId: z.ZodOptional<z.ZodString>;
1155
+ registryPath: z.ZodOptional<z.ZodString>;
1156
+ registrySource: z.ZodOptional<z.ZodString>;
1157
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1158
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1159
+ engine: z.ZodOptional<z.ZodString>;
1160
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1161
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1162
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1163
+ "llamacpp-completion": "llamacpp-completion";
1164
+ "whispercpp-transcription": "whispercpp-transcription";
1165
+ "llamacpp-embedding": "llamacpp-embedding";
1166
+ "nmtcpp-translation": "nmtcpp-translation";
1167
+ "onnx-tts": "onnx-tts";
1168
+ "parakeet-transcription": "parakeet-transcription";
1169
+ "onnx-ocr": "onnx-ocr";
1170
+ llm: "llm";
1171
+ whisper: "whisper";
1172
+ embeddings: "embeddings";
1173
+ nmt: "nmt";
1174
+ parakeet: "parakeet";
1175
+ tts: "tts";
1176
+ ocr: "ocr";
1177
+ }>, z.ZodLiteral<"vad">]>>;
1178
+ }, z.core.$strip>]>;
1179
+ ttsConditionalDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1180
+ src: z.ZodString;
1181
+ name: z.ZodOptional<z.ZodString>;
1182
+ modelId: z.ZodOptional<z.ZodString>;
1183
+ registryPath: z.ZodOptional<z.ZodString>;
1184
+ registrySource: z.ZodOptional<z.ZodString>;
1185
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1186
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1187
+ engine: z.ZodOptional<z.ZodString>;
1188
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1189
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1190
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1191
+ "llamacpp-completion": "llamacpp-completion";
1192
+ "whispercpp-transcription": "whispercpp-transcription";
1193
+ "llamacpp-embedding": "llamacpp-embedding";
1194
+ "nmtcpp-translation": "nmtcpp-translation";
1195
+ "onnx-tts": "onnx-tts";
1196
+ "parakeet-transcription": "parakeet-transcription";
1197
+ "onnx-ocr": "onnx-ocr";
1198
+ llm: "llm";
1199
+ whisper: "whisper";
1200
+ embeddings: "embeddings";
1201
+ nmt: "nmt";
1202
+ parakeet: "parakeet";
1203
+ tts: "tts";
1204
+ ocr: "ocr";
1205
+ }>, z.ZodLiteral<"vad">]>>;
1206
+ }, z.core.$strip>]>;
1207
+ ttsLanguageModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1208
+ src: z.ZodString;
1209
+ name: z.ZodOptional<z.ZodString>;
1210
+ modelId: z.ZodOptional<z.ZodString>;
1211
+ registryPath: z.ZodOptional<z.ZodString>;
1212
+ registrySource: z.ZodOptional<z.ZodString>;
1213
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1214
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1215
+ engine: z.ZodOptional<z.ZodString>;
1216
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1217
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1218
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1219
+ "llamacpp-completion": "llamacpp-completion";
1220
+ "whispercpp-transcription": "whispercpp-transcription";
1221
+ "llamacpp-embedding": "llamacpp-embedding";
1222
+ "nmtcpp-translation": "nmtcpp-translation";
1223
+ "onnx-tts": "onnx-tts";
1224
+ "parakeet-transcription": "parakeet-transcription";
1225
+ "onnx-ocr": "onnx-ocr";
1226
+ llm: "llm";
1227
+ whisper: "whisper";
1228
+ embeddings: "embeddings";
1229
+ nmt: "nmt";
1230
+ parakeet: "parakeet";
1231
+ tts: "tts";
1232
+ ocr: "ocr";
1233
+ }>, z.ZodLiteral<"vad">]>>;
1234
+ }, z.core.$strip>]>;
1235
+ referenceAudioSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1236
+ src: z.ZodString;
1237
+ name: z.ZodOptional<z.ZodString>;
1238
+ modelId: z.ZodOptional<z.ZodString>;
1239
+ registryPath: z.ZodOptional<z.ZodString>;
1240
+ registrySource: z.ZodOptional<z.ZodString>;
1241
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1242
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1243
+ engine: z.ZodOptional<z.ZodString>;
1244
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1245
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1246
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1247
+ "llamacpp-completion": "llamacpp-completion";
1248
+ "whispercpp-transcription": "whispercpp-transcription";
1249
+ "llamacpp-embedding": "llamacpp-embedding";
1250
+ "nmtcpp-translation": "nmtcpp-translation";
1251
+ "onnx-tts": "onnx-tts";
1252
+ "parakeet-transcription": "parakeet-transcription";
1253
+ "onnx-ocr": "onnx-ocr";
1254
+ llm: "llm";
1255
+ whisper: "whisper";
1256
+ embeddings: "embeddings";
1257
+ nmt: "nmt";
1258
+ parakeet: "parakeet";
1259
+ tts: "tts";
1260
+ ocr: "ocr";
1261
+ }>, z.ZodLiteral<"vad">]>>;
1262
+ }, z.core.$strip>]>;
451
1263
  }, z.core.$strip>, z.ZodObject<{
452
1264
  ttsEngine: z.ZodLiteral<"supertonic">;
453
1265
  language: z.ZodEnum<{
@@ -456,27 +1268,160 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
456
1268
  es: "es";
457
1269
  it: "it";
458
1270
  }>;
459
- ttsTokenizerSrc: z.ZodString;
460
- ttsTextEncoderSrc: z.ZodString;
461
- ttsLatentDenoiserSrc: z.ZodString;
462
- ttsVoiceDecoderSrc: z.ZodString;
463
- ttsVoiceSrc: z.ZodString;
464
1271
  ttsSpeed: z.ZodOptional<z.ZodNumber>;
465
1272
  ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
1273
+ ttsTokenizerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1274
+ src: z.ZodString;
1275
+ name: z.ZodOptional<z.ZodString>;
1276
+ modelId: z.ZodOptional<z.ZodString>;
1277
+ registryPath: z.ZodOptional<z.ZodString>;
1278
+ registrySource: z.ZodOptional<z.ZodString>;
1279
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1280
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1281
+ engine: z.ZodOptional<z.ZodString>;
1282
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1283
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1284
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1285
+ "llamacpp-completion": "llamacpp-completion";
1286
+ "whispercpp-transcription": "whispercpp-transcription";
1287
+ "llamacpp-embedding": "llamacpp-embedding";
1288
+ "nmtcpp-translation": "nmtcpp-translation";
1289
+ "onnx-tts": "onnx-tts";
1290
+ "parakeet-transcription": "parakeet-transcription";
1291
+ "onnx-ocr": "onnx-ocr";
1292
+ llm: "llm";
1293
+ whisper: "whisper";
1294
+ embeddings: "embeddings";
1295
+ nmt: "nmt";
1296
+ parakeet: "parakeet";
1297
+ tts: "tts";
1298
+ ocr: "ocr";
1299
+ }>, z.ZodLiteral<"vad">]>>;
1300
+ }, z.core.$strip>]>;
1301
+ ttsTextEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1302
+ src: z.ZodString;
1303
+ name: z.ZodOptional<z.ZodString>;
1304
+ modelId: z.ZodOptional<z.ZodString>;
1305
+ registryPath: z.ZodOptional<z.ZodString>;
1306
+ registrySource: z.ZodOptional<z.ZodString>;
1307
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1308
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1309
+ engine: z.ZodOptional<z.ZodString>;
1310
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1311
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1312
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1313
+ "llamacpp-completion": "llamacpp-completion";
1314
+ "whispercpp-transcription": "whispercpp-transcription";
1315
+ "llamacpp-embedding": "llamacpp-embedding";
1316
+ "nmtcpp-translation": "nmtcpp-translation";
1317
+ "onnx-tts": "onnx-tts";
1318
+ "parakeet-transcription": "parakeet-transcription";
1319
+ "onnx-ocr": "onnx-ocr";
1320
+ llm: "llm";
1321
+ whisper: "whisper";
1322
+ embeddings: "embeddings";
1323
+ nmt: "nmt";
1324
+ parakeet: "parakeet";
1325
+ tts: "tts";
1326
+ ocr: "ocr";
1327
+ }>, z.ZodLiteral<"vad">]>>;
1328
+ }, z.core.$strip>]>;
1329
+ ttsLatentDenoiserSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1330
+ src: z.ZodString;
1331
+ name: z.ZodOptional<z.ZodString>;
1332
+ modelId: z.ZodOptional<z.ZodString>;
1333
+ registryPath: z.ZodOptional<z.ZodString>;
1334
+ registrySource: z.ZodOptional<z.ZodString>;
1335
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1336
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1337
+ engine: z.ZodOptional<z.ZodString>;
1338
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1339
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1340
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1341
+ "llamacpp-completion": "llamacpp-completion";
1342
+ "whispercpp-transcription": "whispercpp-transcription";
1343
+ "llamacpp-embedding": "llamacpp-embedding";
1344
+ "nmtcpp-translation": "nmtcpp-translation";
1345
+ "onnx-tts": "onnx-tts";
1346
+ "parakeet-transcription": "parakeet-transcription";
1347
+ "onnx-ocr": "onnx-ocr";
1348
+ llm: "llm";
1349
+ whisper: "whisper";
1350
+ embeddings: "embeddings";
1351
+ nmt: "nmt";
1352
+ parakeet: "parakeet";
1353
+ tts: "tts";
1354
+ ocr: "ocr";
1355
+ }>, z.ZodLiteral<"vad">]>>;
1356
+ }, z.core.$strip>]>;
1357
+ ttsVoiceDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1358
+ src: z.ZodString;
1359
+ name: z.ZodOptional<z.ZodString>;
1360
+ modelId: z.ZodOptional<z.ZodString>;
1361
+ registryPath: z.ZodOptional<z.ZodString>;
1362
+ registrySource: z.ZodOptional<z.ZodString>;
1363
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1364
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1365
+ engine: z.ZodOptional<z.ZodString>;
1366
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1367
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1368
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1369
+ "llamacpp-completion": "llamacpp-completion";
1370
+ "whispercpp-transcription": "whispercpp-transcription";
1371
+ "llamacpp-embedding": "llamacpp-embedding";
1372
+ "nmtcpp-translation": "nmtcpp-translation";
1373
+ "onnx-tts": "onnx-tts";
1374
+ "parakeet-transcription": "parakeet-transcription";
1375
+ "onnx-ocr": "onnx-ocr";
1376
+ llm: "llm";
1377
+ whisper: "whisper";
1378
+ embeddings: "embeddings";
1379
+ nmt: "nmt";
1380
+ parakeet: "parakeet";
1381
+ tts: "tts";
1382
+ ocr: "ocr";
1383
+ }>, z.ZodLiteral<"vad">]>>;
1384
+ }, z.core.$strip>]>;
1385
+ ttsVoiceSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1386
+ src: z.ZodString;
1387
+ name: z.ZodOptional<z.ZodString>;
1388
+ modelId: z.ZodOptional<z.ZodString>;
1389
+ registryPath: z.ZodOptional<z.ZodString>;
1390
+ registrySource: z.ZodOptional<z.ZodString>;
1391
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1392
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1393
+ engine: z.ZodOptional<z.ZodString>;
1394
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1395
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1396
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1397
+ "llamacpp-completion": "llamacpp-completion";
1398
+ "whispercpp-transcription": "whispercpp-transcription";
1399
+ "llamacpp-embedding": "llamacpp-embedding";
1400
+ "nmtcpp-translation": "nmtcpp-translation";
1401
+ "onnx-tts": "onnx-tts";
1402
+ "parakeet-transcription": "parakeet-transcription";
1403
+ "onnx-ocr": "onnx-ocr";
1404
+ llm: "llm";
1405
+ whisper: "whisper";
1406
+ embeddings: "embeddings";
1407
+ nmt: "nmt";
1408
+ parakeet: "parakeet";
1409
+ tts: "tts";
1410
+ ocr: "ocr";
1411
+ }>, z.ZodLiteral<"vad">]>>;
1412
+ }, z.core.$strip>]>;
466
1413
  }, z.core.$strip>]>;
467
- }, z.core.$strip>, z.ZodObject<{
1414
+ }, z.core.$strict>, z.ZodObject<{
468
1415
  type: z.ZodLiteral<"loadModel">;
469
1416
  modelSrc: z.ZodString;
470
1417
  modelName: z.ZodOptional<z.ZodString>;
471
- projectionModelSrc: z.ZodOptional<z.ZodString>;
472
- vadModelSrc: z.ZodOptional<z.ZodString>;
473
- detectorModelSrc: z.ZodOptional<z.ZodString>;
474
1418
  withProgress: z.ZodOptional<z.ZodBoolean>;
475
1419
  seed: z.ZodOptional<z.ZodBoolean>;
476
1420
  delegate: z.ZodOptional<z.ZodObject<{
477
1421
  topic: z.ZodString;
478
1422
  providerPublicKey: z.ZodString;
479
1423
  timeout: z.ZodOptional<z.ZodNumber>;
1424
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
480
1425
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
481
1426
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
482
1427
  }, z.core.$strip>>;
@@ -485,25 +1430,60 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
485
1430
  langList: z.ZodOptional<z.ZodArray<z.ZodString>>;
486
1431
  useGPU: z.ZodOptional<z.ZodBoolean>;
487
1432
  timeout: z.ZodOptional<z.ZodNumber>;
1433
+ pipelineMode: z.ZodOptional<z.ZodEnum<{
1434
+ easyocr: "easyocr";
1435
+ doctr: "doctr";
1436
+ }>>;
488
1437
  magRatio: z.ZodOptional<z.ZodNumber>;
489
1438
  defaultRotationAngles: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
490
1439
  contrastRetry: z.ZodOptional<z.ZodBoolean>;
491
1440
  lowConfidenceThreshold: z.ZodOptional<z.ZodNumber>;
492
1441
  recognizerBatchSize: z.ZodOptional<z.ZodNumber>;
1442
+ decodingMethod: z.ZodOptional<z.ZodEnum<{
1443
+ attention: "attention";
1444
+ ctc: "ctc";
1445
+ }>>;
1446
+ straightenPages: z.ZodOptional<z.ZodBoolean>;
1447
+ detectorModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1448
+ src: z.ZodString;
1449
+ name: z.ZodOptional<z.ZodString>;
1450
+ modelId: z.ZodOptional<z.ZodString>;
1451
+ registryPath: z.ZodOptional<z.ZodString>;
1452
+ registrySource: z.ZodOptional<z.ZodString>;
1453
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1454
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1455
+ engine: z.ZodOptional<z.ZodString>;
1456
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1457
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1458
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1459
+ "llamacpp-completion": "llamacpp-completion";
1460
+ "whispercpp-transcription": "whispercpp-transcription";
1461
+ "llamacpp-embedding": "llamacpp-embedding";
1462
+ "nmtcpp-translation": "nmtcpp-translation";
1463
+ "onnx-tts": "onnx-tts";
1464
+ "parakeet-transcription": "parakeet-transcription";
1465
+ "onnx-ocr": "onnx-ocr";
1466
+ llm: "llm";
1467
+ whisper: "whisper";
1468
+ embeddings: "embeddings";
1469
+ nmt: "nmt";
1470
+ parakeet: "parakeet";
1471
+ tts: "tts";
1472
+ ocr: "ocr";
1473
+ }>, z.ZodLiteral<"vad">]>>;
1474
+ }, z.core.$strip>]>>;
493
1475
  }, z.core.$strip>;
494
- }, z.core.$strip>, z.ZodObject<{
1476
+ }, z.core.$strict>, z.ZodObject<{
495
1477
  type: z.ZodLiteral<"loadModel">;
496
1478
  modelSrc: z.ZodString;
497
1479
  modelName: z.ZodOptional<z.ZodString>;
498
- projectionModelSrc: z.ZodOptional<z.ZodString>;
499
- vadModelSrc: z.ZodOptional<z.ZodString>;
500
- detectorModelSrc: z.ZodOptional<z.ZodString>;
501
1480
  withProgress: z.ZodOptional<z.ZodBoolean>;
502
1481
  seed: z.ZodOptional<z.ZodBoolean>;
503
1482
  delegate: z.ZodOptional<z.ZodObject<{
504
1483
  topic: z.ZodString;
505
1484
  providerPublicKey: z.ZodString;
506
1485
  timeout: z.ZodOptional<z.ZodNumber>;
1486
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
507
1487
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
508
1488
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
509
1489
  }, z.core.$strip>>;
@@ -533,11 +1513,21 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
533
1513
  stop_sequences?: string[] | undefined;
534
1514
  n_discarded?: number | undefined;
535
1515
  tools?: boolean | undefined;
1516
+ projectionModelSrc?: string | {
1517
+ src: string;
1518
+ name?: string | undefined;
1519
+ modelId?: string | undefined;
1520
+ registryPath?: string | undefined;
1521
+ registrySource?: string | undefined;
1522
+ blobCoreKey?: string | undefined;
1523
+ blobIndex?: number | undefined;
1524
+ engine?: string | undefined;
1525
+ expectedSize?: number | undefined;
1526
+ sha256Checksum?: string | undefined;
1527
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1528
+ } | undefined;
536
1529
  };
537
1530
  modelName?: string | undefined;
538
- projectionModelSrc?: string | undefined;
539
- vadModelSrc?: string | undefined;
540
- detectorModelSrc?: string | undefined;
541
1531
  withProgress?: boolean | undefined;
542
1532
  delegate?: {
543
1533
  topic: string;
@@ -545,6 +1535,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
545
1535
  fallbackToLocal: boolean;
546
1536
  forceNewConnection: boolean;
547
1537
  timeout?: number | undefined;
1538
+ healthCheckTimeout?: number | undefined;
548
1539
  } | undefined;
549
1540
  } | {
550
1541
  seed: boolean;
@@ -587,7 +1578,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
587
1578
  logprob_thold?: number | undefined;
588
1579
  greedy_best_of?: number | undefined;
589
1580
  beam_search_beam_size?: number | undefined;
590
- vad_model_path?: string | undefined;
591
1581
  vad_params?: {
592
1582
  threshold?: number | undefined;
593
1583
  min_speech_duration_ms?: number | undefined;
@@ -606,11 +1596,21 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
606
1596
  miscConfig?: {
607
1597
  caption_enabled?: boolean | undefined;
608
1598
  } | undefined;
1599
+ vadModelSrc?: string | {
1600
+ src: string;
1601
+ name?: string | undefined;
1602
+ modelId?: string | undefined;
1603
+ registryPath?: string | undefined;
1604
+ registrySource?: string | undefined;
1605
+ blobCoreKey?: string | undefined;
1606
+ blobIndex?: number | undefined;
1607
+ engine?: string | undefined;
1608
+ expectedSize?: number | undefined;
1609
+ sha256Checksum?: string | undefined;
1610
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1611
+ } | undefined;
609
1612
  };
610
1613
  modelName?: string | undefined;
611
- projectionModelSrc?: string | undefined;
612
- vadModelSrc?: string | undefined;
613
- detectorModelSrc?: string | undefined;
614
1614
  withProgress?: boolean | undefined;
615
1615
  delegate?: {
616
1616
  topic: string;
@@ -618,6 +1618,148 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
618
1618
  fallbackToLocal: boolean;
619
1619
  forceNewConnection: boolean;
620
1620
  timeout?: number | undefined;
1621
+ healthCheckTimeout?: number | undefined;
1622
+ } | undefined;
1623
+ } | {
1624
+ seed: boolean;
1625
+ type: "loadModel";
1626
+ modelSrc: string;
1627
+ modelType: "parakeet-transcription";
1628
+ modelConfig: {
1629
+ modelType: "tdt" | "ctc" | "sortformer";
1630
+ maxThreads?: number | undefined;
1631
+ useGPU?: boolean | undefined;
1632
+ sampleRate?: number | undefined;
1633
+ channels?: number | undefined;
1634
+ captionEnabled?: boolean | undefined;
1635
+ timestampsEnabled?: boolean | undefined;
1636
+ parakeetEncoderSrc?: string | {
1637
+ src: string;
1638
+ name?: string | undefined;
1639
+ modelId?: string | undefined;
1640
+ registryPath?: string | undefined;
1641
+ registrySource?: string | undefined;
1642
+ blobCoreKey?: string | undefined;
1643
+ blobIndex?: number | undefined;
1644
+ engine?: string | undefined;
1645
+ expectedSize?: number | undefined;
1646
+ sha256Checksum?: string | undefined;
1647
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1648
+ } | undefined;
1649
+ parakeetEncoderDataSrc?: string | {
1650
+ src: string;
1651
+ name?: string | undefined;
1652
+ modelId?: string | undefined;
1653
+ registryPath?: string | undefined;
1654
+ registrySource?: string | undefined;
1655
+ blobCoreKey?: string | undefined;
1656
+ blobIndex?: number | undefined;
1657
+ engine?: string | undefined;
1658
+ expectedSize?: number | undefined;
1659
+ sha256Checksum?: string | undefined;
1660
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1661
+ } | undefined;
1662
+ parakeetDecoderSrc?: string | {
1663
+ src: string;
1664
+ name?: string | undefined;
1665
+ modelId?: string | undefined;
1666
+ registryPath?: string | undefined;
1667
+ registrySource?: string | undefined;
1668
+ blobCoreKey?: string | undefined;
1669
+ blobIndex?: number | undefined;
1670
+ engine?: string | undefined;
1671
+ expectedSize?: number | undefined;
1672
+ sha256Checksum?: string | undefined;
1673
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1674
+ } | undefined;
1675
+ parakeetVocabSrc?: string | {
1676
+ src: string;
1677
+ name?: string | undefined;
1678
+ modelId?: string | undefined;
1679
+ registryPath?: string | undefined;
1680
+ registrySource?: string | undefined;
1681
+ blobCoreKey?: string | undefined;
1682
+ blobIndex?: number | undefined;
1683
+ engine?: string | undefined;
1684
+ expectedSize?: number | undefined;
1685
+ sha256Checksum?: string | undefined;
1686
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1687
+ } | undefined;
1688
+ parakeetPreprocessorSrc?: string | {
1689
+ src: string;
1690
+ name?: string | undefined;
1691
+ modelId?: string | undefined;
1692
+ registryPath?: string | undefined;
1693
+ registrySource?: string | undefined;
1694
+ blobCoreKey?: string | undefined;
1695
+ blobIndex?: number | undefined;
1696
+ engine?: string | undefined;
1697
+ expectedSize?: number | undefined;
1698
+ sha256Checksum?: string | undefined;
1699
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1700
+ } | undefined;
1701
+ parakeetCtcModelSrc?: string | {
1702
+ src: string;
1703
+ name?: string | undefined;
1704
+ modelId?: string | undefined;
1705
+ registryPath?: string | undefined;
1706
+ registrySource?: string | undefined;
1707
+ blobCoreKey?: string | undefined;
1708
+ blobIndex?: number | undefined;
1709
+ engine?: string | undefined;
1710
+ expectedSize?: number | undefined;
1711
+ sha256Checksum?: string | undefined;
1712
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1713
+ } | undefined;
1714
+ parakeetCtcModelDataSrc?: string | {
1715
+ src: string;
1716
+ name?: string | undefined;
1717
+ modelId?: string | undefined;
1718
+ registryPath?: string | undefined;
1719
+ registrySource?: string | undefined;
1720
+ blobCoreKey?: string | undefined;
1721
+ blobIndex?: number | undefined;
1722
+ engine?: string | undefined;
1723
+ expectedSize?: number | undefined;
1724
+ sha256Checksum?: string | undefined;
1725
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1726
+ } | undefined;
1727
+ parakeetTokenizerSrc?: string | {
1728
+ src: string;
1729
+ name?: string | undefined;
1730
+ modelId?: string | undefined;
1731
+ registryPath?: string | undefined;
1732
+ registrySource?: string | undefined;
1733
+ blobCoreKey?: string | undefined;
1734
+ blobIndex?: number | undefined;
1735
+ engine?: string | undefined;
1736
+ expectedSize?: number | undefined;
1737
+ sha256Checksum?: string | undefined;
1738
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1739
+ } | undefined;
1740
+ parakeetSortformerSrc?: string | {
1741
+ src: string;
1742
+ name?: string | undefined;
1743
+ modelId?: string | undefined;
1744
+ registryPath?: string | undefined;
1745
+ registrySource?: string | undefined;
1746
+ blobCoreKey?: string | undefined;
1747
+ blobIndex?: number | undefined;
1748
+ engine?: string | undefined;
1749
+ expectedSize?: number | undefined;
1750
+ sha256Checksum?: string | undefined;
1751
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1752
+ } | undefined;
1753
+ };
1754
+ modelName?: string | undefined;
1755
+ withProgress?: boolean | undefined;
1756
+ delegate?: {
1757
+ topic: string;
1758
+ providerPublicKey: string;
1759
+ fallbackToLocal: boolean;
1760
+ forceNewConnection: boolean;
1761
+ timeout?: number | undefined;
1762
+ healthCheckTimeout?: number | undefined;
621
1763
  } | undefined;
622
1764
  } | {
623
1765
  seed: boolean;
@@ -626,16 +1768,16 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
626
1768
  modelType: "llamacpp-embedding";
627
1769
  modelConfig: {
628
1770
  gpuLayers?: number | undefined;
629
- device?: string | undefined;
1771
+ device?: "gpu" | "cpu" | undefined;
630
1772
  batchSize?: number | undefined;
631
- ctxSize?: number | undefined;
632
- flashAttention?: "on" | "off" | undefined;
633
- rawConfig?: string | undefined;
1773
+ pooling?: "none" | "mean" | "cls" | "last" | "rank" | undefined;
1774
+ attention?: "causal" | "non-causal" | undefined;
1775
+ embdNormalize?: number | undefined;
1776
+ flashAttention?: "on" | "off" | "auto" | undefined;
1777
+ mainGpu?: number | "integrated" | "dedicated" | undefined;
1778
+ verbosity?: 0 | 3 | 2 | 1 | undefined;
634
1779
  };
635
1780
  modelName?: string | undefined;
636
- projectionModelSrc?: string | undefined;
637
- vadModelSrc?: string | undefined;
638
- detectorModelSrc?: string | undefined;
639
1781
  withProgress?: boolean | undefined;
640
1782
  delegate?: {
641
1783
  topic: string;
@@ -643,6 +1785,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
643
1785
  fallbackToLocal: boolean;
644
1786
  forceNewConnection: boolean;
645
1787
  timeout?: number | undefined;
1788
+ healthCheckTimeout?: number | undefined;
646
1789
  } | undefined;
647
1790
  } | {
648
1791
  seed: boolean;
@@ -675,9 +1818,84 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
675
1818
  engine: "Bergamot";
676
1819
  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
1820
  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
- srcVocabPath?: string | undefined;
679
- dstVocabPath?: string | undefined;
1821
+ srcVocabSrc?: string | {
1822
+ src: string;
1823
+ name?: string | undefined;
1824
+ modelId?: string | undefined;
1825
+ registryPath?: string | undefined;
1826
+ registrySource?: string | undefined;
1827
+ blobCoreKey?: string | undefined;
1828
+ blobIndex?: number | undefined;
1829
+ engine?: string | undefined;
1830
+ expectedSize?: number | undefined;
1831
+ sha256Checksum?: string | undefined;
1832
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1833
+ } | undefined;
1834
+ dstVocabSrc?: string | {
1835
+ src: string;
1836
+ name?: string | undefined;
1837
+ modelId?: string | undefined;
1838
+ registryPath?: string | undefined;
1839
+ registrySource?: string | undefined;
1840
+ blobCoreKey?: string | undefined;
1841
+ blobIndex?: number | undefined;
1842
+ engine?: string | undefined;
1843
+ expectedSize?: number | undefined;
1844
+ sha256Checksum?: string | undefined;
1845
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1846
+ } | undefined;
680
1847
  normalize?: number | undefined;
1848
+ pivotModel?: {
1849
+ modelSrc: string | {
1850
+ src: string;
1851
+ name?: string | undefined;
1852
+ modelId?: string | undefined;
1853
+ registryPath?: string | undefined;
1854
+ registrySource?: string | undefined;
1855
+ blobCoreKey?: string | undefined;
1856
+ blobIndex?: number | undefined;
1857
+ engine?: string | undefined;
1858
+ expectedSize?: number | undefined;
1859
+ sha256Checksum?: string | undefined;
1860
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1861
+ };
1862
+ mode?: "full" | undefined;
1863
+ beamsize?: number | undefined;
1864
+ lengthpenalty?: number | undefined;
1865
+ maxlength?: number | undefined;
1866
+ repetitionpenalty?: number | undefined;
1867
+ norepeatngramsize?: number | undefined;
1868
+ temperature?: number | undefined;
1869
+ topk?: number | undefined;
1870
+ topp?: number | undefined;
1871
+ srcVocabSrc?: string | {
1872
+ src: string;
1873
+ name?: string | undefined;
1874
+ modelId?: string | undefined;
1875
+ registryPath?: string | undefined;
1876
+ registrySource?: string | undefined;
1877
+ blobCoreKey?: string | undefined;
1878
+ blobIndex?: number | undefined;
1879
+ engine?: string | undefined;
1880
+ expectedSize?: number | undefined;
1881
+ sha256Checksum?: string | undefined;
1882
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1883
+ } | undefined;
1884
+ dstVocabSrc?: string | {
1885
+ src: string;
1886
+ name?: string | undefined;
1887
+ modelId?: string | undefined;
1888
+ registryPath?: string | undefined;
1889
+ registrySource?: string | undefined;
1890
+ blobCoreKey?: string | undefined;
1891
+ blobIndex?: number | undefined;
1892
+ engine?: string | undefined;
1893
+ expectedSize?: number | undefined;
1894
+ sha256Checksum?: string | undefined;
1895
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1896
+ } | undefined;
1897
+ normalize?: number | undefined;
1898
+ } | undefined;
681
1899
  } | {
682
1900
  mode: "full";
683
1901
  beamsize: number;
@@ -693,9 +1911,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
693
1911
  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
1912
  };
695
1913
  modelName?: string | undefined;
696
- projectionModelSrc?: string | undefined;
697
- vadModelSrc?: string | undefined;
698
- detectorModelSrc?: string | undefined;
699
1914
  withProgress?: boolean | undefined;
700
1915
  delegate?: {
701
1916
  topic: string;
@@ -703,9 +1918,8 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
703
1918
  fallbackToLocal: boolean;
704
1919
  forceNewConnection: boolean;
705
1920
  timeout?: number | undefined;
1921
+ healthCheckTimeout?: number | undefined;
706
1922
  } | undefined;
707
- srcVocabSrc?: string | undefined;
708
- dstVocabSrc?: string | undefined;
709
1923
  } | {
710
1924
  seed: boolean;
711
1925
  type: "loadModel";
@@ -714,27 +1928,156 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
714
1928
  modelConfig: {
715
1929
  ttsEngine: "chatterbox";
716
1930
  language: "en" | "de" | "es" | "it";
717
- ttsTokenizerSrc: string;
718
- ttsSpeechEncoderSrc: string;
719
- ttsEmbedTokensSrc: string;
720
- ttsConditionalDecoderSrc: string;
721
- ttsLanguageModelSrc: string;
722
- referenceAudioSrc: string;
1931
+ ttsTokenizerSrc: string | {
1932
+ src: string;
1933
+ name?: string | undefined;
1934
+ modelId?: string | undefined;
1935
+ registryPath?: string | undefined;
1936
+ registrySource?: string | undefined;
1937
+ blobCoreKey?: string | undefined;
1938
+ blobIndex?: number | undefined;
1939
+ engine?: string | undefined;
1940
+ expectedSize?: number | undefined;
1941
+ sha256Checksum?: string | undefined;
1942
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1943
+ };
1944
+ ttsSpeechEncoderSrc: string | {
1945
+ src: string;
1946
+ name?: string | undefined;
1947
+ modelId?: string | undefined;
1948
+ registryPath?: string | undefined;
1949
+ registrySource?: string | undefined;
1950
+ blobCoreKey?: string | undefined;
1951
+ blobIndex?: number | undefined;
1952
+ engine?: string | undefined;
1953
+ expectedSize?: number | undefined;
1954
+ sha256Checksum?: string | undefined;
1955
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1956
+ };
1957
+ ttsEmbedTokensSrc: string | {
1958
+ src: string;
1959
+ name?: string | undefined;
1960
+ modelId?: string | undefined;
1961
+ registryPath?: string | undefined;
1962
+ registrySource?: string | undefined;
1963
+ blobCoreKey?: string | undefined;
1964
+ blobIndex?: number | undefined;
1965
+ engine?: string | undefined;
1966
+ expectedSize?: number | undefined;
1967
+ sha256Checksum?: string | undefined;
1968
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1969
+ };
1970
+ ttsConditionalDecoderSrc: string | {
1971
+ src: string;
1972
+ name?: string | undefined;
1973
+ modelId?: string | undefined;
1974
+ registryPath?: string | undefined;
1975
+ registrySource?: string | undefined;
1976
+ blobCoreKey?: string | undefined;
1977
+ blobIndex?: number | undefined;
1978
+ engine?: string | undefined;
1979
+ expectedSize?: number | undefined;
1980
+ sha256Checksum?: string | undefined;
1981
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1982
+ };
1983
+ ttsLanguageModelSrc: string | {
1984
+ src: string;
1985
+ name?: string | undefined;
1986
+ modelId?: string | undefined;
1987
+ registryPath?: string | undefined;
1988
+ registrySource?: string | undefined;
1989
+ blobCoreKey?: string | undefined;
1990
+ blobIndex?: number | undefined;
1991
+ engine?: string | undefined;
1992
+ expectedSize?: number | undefined;
1993
+ sha256Checksum?: string | undefined;
1994
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
1995
+ };
1996
+ referenceAudioSrc: string | {
1997
+ src: string;
1998
+ name?: string | undefined;
1999
+ modelId?: string | undefined;
2000
+ registryPath?: string | undefined;
2001
+ registrySource?: string | undefined;
2002
+ blobCoreKey?: string | undefined;
2003
+ blobIndex?: number | undefined;
2004
+ engine?: string | undefined;
2005
+ expectedSize?: number | undefined;
2006
+ sha256Checksum?: string | undefined;
2007
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2008
+ };
723
2009
  } | {
724
2010
  ttsEngine: "supertonic";
725
2011
  language: "en" | "de" | "es" | "it";
726
- ttsTokenizerSrc: string;
727
- ttsTextEncoderSrc: string;
728
- ttsLatentDenoiserSrc: string;
729
- ttsVoiceDecoderSrc: string;
730
- ttsVoiceSrc: string;
2012
+ ttsTokenizerSrc: string | {
2013
+ src: string;
2014
+ name?: string | undefined;
2015
+ modelId?: string | undefined;
2016
+ registryPath?: string | undefined;
2017
+ registrySource?: string | undefined;
2018
+ blobCoreKey?: string | undefined;
2019
+ blobIndex?: number | undefined;
2020
+ engine?: string | undefined;
2021
+ expectedSize?: number | undefined;
2022
+ sha256Checksum?: string | undefined;
2023
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2024
+ };
2025
+ ttsTextEncoderSrc: string | {
2026
+ src: string;
2027
+ name?: string | undefined;
2028
+ modelId?: string | undefined;
2029
+ registryPath?: string | undefined;
2030
+ registrySource?: string | undefined;
2031
+ blobCoreKey?: string | undefined;
2032
+ blobIndex?: number | undefined;
2033
+ engine?: string | undefined;
2034
+ expectedSize?: number | undefined;
2035
+ sha256Checksum?: string | undefined;
2036
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2037
+ };
2038
+ ttsLatentDenoiserSrc: string | {
2039
+ src: string;
2040
+ name?: string | undefined;
2041
+ modelId?: string | undefined;
2042
+ registryPath?: string | undefined;
2043
+ registrySource?: string | undefined;
2044
+ blobCoreKey?: string | undefined;
2045
+ blobIndex?: number | undefined;
2046
+ engine?: string | undefined;
2047
+ expectedSize?: number | undefined;
2048
+ sha256Checksum?: string | undefined;
2049
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2050
+ };
2051
+ ttsVoiceDecoderSrc: string | {
2052
+ src: string;
2053
+ name?: string | undefined;
2054
+ modelId?: string | undefined;
2055
+ registryPath?: string | undefined;
2056
+ registrySource?: string | undefined;
2057
+ blobCoreKey?: string | undefined;
2058
+ blobIndex?: number | undefined;
2059
+ engine?: string | undefined;
2060
+ expectedSize?: number | undefined;
2061
+ sha256Checksum?: string | undefined;
2062
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2063
+ };
2064
+ ttsVoiceSrc: string | {
2065
+ src: string;
2066
+ name?: string | undefined;
2067
+ modelId?: string | undefined;
2068
+ registryPath?: string | undefined;
2069
+ registrySource?: string | undefined;
2070
+ blobCoreKey?: string | undefined;
2071
+ blobIndex?: number | undefined;
2072
+ engine?: string | undefined;
2073
+ expectedSize?: number | undefined;
2074
+ sha256Checksum?: string | undefined;
2075
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2076
+ };
731
2077
  ttsSpeed?: number | undefined;
732
2078
  ttsNumInferenceSteps?: number | undefined;
733
2079
  };
734
2080
  modelName?: string | undefined;
735
- projectionModelSrc?: string | undefined;
736
- vadModelSrc?: string | undefined;
737
- detectorModelSrc?: string | undefined;
738
2081
  withProgress?: boolean | undefined;
739
2082
  delegate?: {
740
2083
  topic: string;
@@ -742,6 +2085,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
742
2085
  fallbackToLocal: boolean;
743
2086
  forceNewConnection: boolean;
744
2087
  timeout?: number | undefined;
2088
+ healthCheckTimeout?: number | undefined;
745
2089
  } | undefined;
746
2090
  } | {
747
2091
  seed: boolean;
@@ -752,16 +2096,29 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
752
2096
  langList?: string[] | undefined;
753
2097
  useGPU?: boolean | undefined;
754
2098
  timeout?: number | undefined;
2099
+ pipelineMode?: "easyocr" | "doctr" | undefined;
755
2100
  magRatio?: number | undefined;
756
2101
  defaultRotationAngles?: number[] | undefined;
757
2102
  contrastRetry?: boolean | undefined;
758
2103
  lowConfidenceThreshold?: number | undefined;
759
2104
  recognizerBatchSize?: number | undefined;
2105
+ decodingMethod?: "attention" | "ctc" | undefined;
2106
+ straightenPages?: boolean | undefined;
2107
+ detectorModelSrc?: string | {
2108
+ src: string;
2109
+ name?: string | undefined;
2110
+ modelId?: string | undefined;
2111
+ registryPath?: string | undefined;
2112
+ registrySource?: string | undefined;
2113
+ blobCoreKey?: string | undefined;
2114
+ blobIndex?: number | undefined;
2115
+ engine?: string | undefined;
2116
+ expectedSize?: number | undefined;
2117
+ sha256Checksum?: string | undefined;
2118
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2119
+ } | undefined;
760
2120
  };
761
2121
  modelName?: string | undefined;
762
- projectionModelSrc?: string | undefined;
763
- vadModelSrc?: string | undefined;
764
- detectorModelSrc?: string | undefined;
765
2122
  withProgress?: boolean | undefined;
766
2123
  delegate?: {
767
2124
  topic: string;
@@ -769,6 +2126,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
769
2126
  fallbackToLocal: boolean;
770
2127
  forceNewConnection: boolean;
771
2128
  timeout?: number | undefined;
2129
+ healthCheckTimeout?: number | undefined;
772
2130
  } | undefined;
773
2131
  } | {
774
2132
  seed: boolean;
@@ -776,9 +2134,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
776
2134
  modelSrc: string;
777
2135
  modelType: string;
778
2136
  modelName?: string | undefined;
779
- projectionModelSrc?: string | undefined;
780
- vadModelSrc?: string | undefined;
781
- detectorModelSrc?: string | undefined;
782
2137
  withProgress?: boolean | undefined;
783
2138
  delegate?: {
784
2139
  topic: string;
@@ -786,6 +2141,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
786
2141
  fallbackToLocal: boolean;
787
2142
  forceNewConnection: boolean;
788
2143
  timeout?: number | undefined;
2144
+ healthCheckTimeout?: number | undefined;
789
2145
  } | undefined;
790
2146
  modelConfig?: Record<string, unknown> | undefined;
791
2147
  }, {
@@ -811,11 +2167,21 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
811
2167
  stop_sequences?: string[] | undefined;
812
2168
  n_discarded?: number | undefined;
813
2169
  tools?: boolean | undefined;
2170
+ projectionModelSrc?: string | {
2171
+ src: string;
2172
+ name?: string | undefined;
2173
+ modelId?: string | undefined;
2174
+ registryPath?: string | undefined;
2175
+ registrySource?: string | undefined;
2176
+ blobCoreKey?: string | undefined;
2177
+ blobIndex?: number | undefined;
2178
+ engine?: string | undefined;
2179
+ expectedSize?: number | undefined;
2180
+ sha256Checksum?: string | undefined;
2181
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2182
+ } | undefined;
814
2183
  };
815
2184
  modelName?: string | undefined;
816
- projectionModelSrc?: string | undefined;
817
- vadModelSrc?: string | undefined;
818
- detectorModelSrc?: string | undefined;
819
2185
  withProgress?: boolean | undefined;
820
2186
  seed?: boolean | undefined;
821
2187
  delegate?: {
@@ -824,6 +2190,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
824
2190
  fallbackToLocal: boolean;
825
2191
  forceNewConnection: boolean;
826
2192
  timeout?: number | undefined;
2193
+ healthCheckTimeout?: number | undefined;
827
2194
  } | undefined;
828
2195
  } | {
829
2196
  type: "loadModel";
@@ -865,7 +2232,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
865
2232
  logprob_thold?: number | undefined;
866
2233
  greedy_best_of?: number | undefined;
867
2234
  beam_search_beam_size?: number | undefined;
868
- vad_model_path?: string | undefined;
869
2235
  vad_params?: {
870
2236
  threshold?: number | undefined;
871
2237
  min_speech_duration_ms?: number | undefined;
@@ -884,11 +2250,162 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
884
2250
  miscConfig?: {
885
2251
  caption_enabled?: boolean | undefined;
886
2252
  } | undefined;
2253
+ vadModelSrc?: string | {
2254
+ src: string;
2255
+ name?: string | undefined;
2256
+ modelId?: string | undefined;
2257
+ registryPath?: string | undefined;
2258
+ registrySource?: string | undefined;
2259
+ blobCoreKey?: string | undefined;
2260
+ blobIndex?: number | undefined;
2261
+ engine?: string | undefined;
2262
+ expectedSize?: number | undefined;
2263
+ sha256Checksum?: string | undefined;
2264
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2265
+ } | undefined;
2266
+ };
2267
+ modelName?: string | undefined;
2268
+ withProgress?: boolean | undefined;
2269
+ seed?: boolean | undefined;
2270
+ delegate?: {
2271
+ topic: string;
2272
+ providerPublicKey: string;
2273
+ fallbackToLocal: boolean;
2274
+ forceNewConnection: boolean;
2275
+ timeout?: number | undefined;
2276
+ healthCheckTimeout?: number | undefined;
2277
+ } | undefined;
2278
+ } | {
2279
+ type: "loadModel";
2280
+ modelSrc: string;
2281
+ modelType: "parakeet-transcription";
2282
+ modelConfig: {
2283
+ modelType: "tdt" | "ctc" | "sortformer";
2284
+ maxThreads?: number | undefined;
2285
+ useGPU?: boolean | undefined;
2286
+ sampleRate?: number | undefined;
2287
+ channels?: number | undefined;
2288
+ captionEnabled?: boolean | undefined;
2289
+ timestampsEnabled?: boolean | undefined;
2290
+ parakeetEncoderSrc?: string | {
2291
+ src: string;
2292
+ name?: string | undefined;
2293
+ modelId?: string | undefined;
2294
+ registryPath?: string | undefined;
2295
+ registrySource?: string | undefined;
2296
+ blobCoreKey?: string | undefined;
2297
+ blobIndex?: number | undefined;
2298
+ engine?: string | undefined;
2299
+ expectedSize?: number | undefined;
2300
+ sha256Checksum?: string | undefined;
2301
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2302
+ } | undefined;
2303
+ parakeetEncoderDataSrc?: string | {
2304
+ src: string;
2305
+ name?: string | undefined;
2306
+ modelId?: string | undefined;
2307
+ registryPath?: string | undefined;
2308
+ registrySource?: string | undefined;
2309
+ blobCoreKey?: string | undefined;
2310
+ blobIndex?: number | undefined;
2311
+ engine?: string | undefined;
2312
+ expectedSize?: number | undefined;
2313
+ sha256Checksum?: string | undefined;
2314
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2315
+ } | undefined;
2316
+ parakeetDecoderSrc?: string | {
2317
+ src: string;
2318
+ name?: string | undefined;
2319
+ modelId?: string | undefined;
2320
+ registryPath?: string | undefined;
2321
+ registrySource?: string | undefined;
2322
+ blobCoreKey?: string | undefined;
2323
+ blobIndex?: number | undefined;
2324
+ engine?: string | undefined;
2325
+ expectedSize?: number | undefined;
2326
+ sha256Checksum?: string | undefined;
2327
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2328
+ } | undefined;
2329
+ parakeetVocabSrc?: string | {
2330
+ src: string;
2331
+ name?: string | undefined;
2332
+ modelId?: string | undefined;
2333
+ registryPath?: string | undefined;
2334
+ registrySource?: string | undefined;
2335
+ blobCoreKey?: string | undefined;
2336
+ blobIndex?: number | undefined;
2337
+ engine?: string | undefined;
2338
+ expectedSize?: number | undefined;
2339
+ sha256Checksum?: string | undefined;
2340
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2341
+ } | undefined;
2342
+ parakeetPreprocessorSrc?: string | {
2343
+ src: string;
2344
+ name?: string | undefined;
2345
+ modelId?: string | undefined;
2346
+ registryPath?: string | undefined;
2347
+ registrySource?: string | undefined;
2348
+ blobCoreKey?: string | undefined;
2349
+ blobIndex?: number | undefined;
2350
+ engine?: string | undefined;
2351
+ expectedSize?: number | undefined;
2352
+ sha256Checksum?: string | undefined;
2353
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2354
+ } | undefined;
2355
+ parakeetCtcModelSrc?: string | {
2356
+ src: string;
2357
+ name?: string | undefined;
2358
+ modelId?: string | undefined;
2359
+ registryPath?: string | undefined;
2360
+ registrySource?: string | undefined;
2361
+ blobCoreKey?: string | undefined;
2362
+ blobIndex?: number | undefined;
2363
+ engine?: string | undefined;
2364
+ expectedSize?: number | undefined;
2365
+ sha256Checksum?: string | undefined;
2366
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2367
+ } | undefined;
2368
+ parakeetCtcModelDataSrc?: string | {
2369
+ src: string;
2370
+ name?: string | undefined;
2371
+ modelId?: string | undefined;
2372
+ registryPath?: string | undefined;
2373
+ registrySource?: string | undefined;
2374
+ blobCoreKey?: string | undefined;
2375
+ blobIndex?: number | undefined;
2376
+ engine?: string | undefined;
2377
+ expectedSize?: number | undefined;
2378
+ sha256Checksum?: string | undefined;
2379
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2380
+ } | undefined;
2381
+ parakeetTokenizerSrc?: string | {
2382
+ src: string;
2383
+ name?: string | undefined;
2384
+ modelId?: string | undefined;
2385
+ registryPath?: string | undefined;
2386
+ registrySource?: string | undefined;
2387
+ blobCoreKey?: string | undefined;
2388
+ blobIndex?: number | undefined;
2389
+ engine?: string | undefined;
2390
+ expectedSize?: number | undefined;
2391
+ sha256Checksum?: string | undefined;
2392
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2393
+ } | undefined;
2394
+ parakeetSortformerSrc?: string | {
2395
+ src: string;
2396
+ name?: string | undefined;
2397
+ modelId?: string | undefined;
2398
+ registryPath?: string | undefined;
2399
+ registrySource?: string | undefined;
2400
+ blobCoreKey?: string | undefined;
2401
+ blobIndex?: number | undefined;
2402
+ engine?: string | undefined;
2403
+ expectedSize?: number | undefined;
2404
+ sha256Checksum?: string | undefined;
2405
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2406
+ } | undefined;
887
2407
  };
888
2408
  modelName?: string | undefined;
889
- projectionModelSrc?: string | undefined;
890
- vadModelSrc?: string | undefined;
891
- detectorModelSrc?: string | undefined;
892
2409
  withProgress?: boolean | undefined;
893
2410
  seed?: boolean | undefined;
894
2411
  delegate?: {
@@ -897,6 +2414,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
897
2414
  fallbackToLocal: boolean;
898
2415
  forceNewConnection: boolean;
899
2416
  timeout?: number | undefined;
2417
+ healthCheckTimeout?: number | undefined;
900
2418
  } | undefined;
901
2419
  } | {
902
2420
  type: "loadModel";
@@ -904,16 +2422,16 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
904
2422
  modelType: "llamacpp-embedding";
905
2423
  modelConfig: {
906
2424
  gpuLayers?: number | undefined;
907
- device?: string | undefined;
2425
+ device?: "gpu" | "cpu" | undefined;
908
2426
  batchSize?: number | undefined;
909
- ctxSize?: number | undefined;
910
- flashAttention?: "on" | "off" | undefined;
911
- rawConfig?: string | undefined;
2427
+ pooling?: "none" | "mean" | "cls" | "last" | "rank" | undefined;
2428
+ attention?: "causal" | "non-causal" | undefined;
2429
+ embdNormalize?: number | undefined;
2430
+ flashAttention?: "on" | "off" | "auto" | undefined;
2431
+ mainGpu?: number | "integrated" | "dedicated" | undefined;
2432
+ verbosity?: 0 | 3 | 2 | 1 | undefined;
912
2433
  };
913
2434
  modelName?: string | undefined;
914
- projectionModelSrc?: string | undefined;
915
- vadModelSrc?: string | undefined;
916
- detectorModelSrc?: string | undefined;
917
2435
  withProgress?: boolean | undefined;
918
2436
  seed?: boolean | undefined;
919
2437
  delegate?: {
@@ -922,6 +2440,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
922
2440
  fallbackToLocal: boolean;
923
2441
  forceNewConnection: boolean;
924
2442
  timeout?: number | undefined;
2443
+ healthCheckTimeout?: number | undefined;
925
2444
  } | undefined;
926
2445
  } | {
927
2446
  type: "loadModel";
@@ -953,9 +2472,84 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
953
2472
  engine: "Bergamot";
954
2473
  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
2474
  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
- srcVocabPath?: string | undefined;
957
- dstVocabPath?: string | undefined;
2475
+ srcVocabSrc?: string | {
2476
+ src: string;
2477
+ name?: string | undefined;
2478
+ modelId?: string | undefined;
2479
+ registryPath?: string | undefined;
2480
+ registrySource?: string | undefined;
2481
+ blobCoreKey?: string | undefined;
2482
+ blobIndex?: number | undefined;
2483
+ engine?: string | undefined;
2484
+ expectedSize?: number | undefined;
2485
+ sha256Checksum?: string | undefined;
2486
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2487
+ } | undefined;
2488
+ dstVocabSrc?: string | {
2489
+ src: string;
2490
+ name?: string | undefined;
2491
+ modelId?: string | undefined;
2492
+ registryPath?: string | undefined;
2493
+ registrySource?: string | undefined;
2494
+ blobCoreKey?: string | undefined;
2495
+ blobIndex?: number | undefined;
2496
+ engine?: string | undefined;
2497
+ expectedSize?: number | undefined;
2498
+ sha256Checksum?: string | undefined;
2499
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2500
+ } | undefined;
958
2501
  normalize?: number | undefined;
2502
+ pivotModel?: {
2503
+ modelSrc: string | {
2504
+ src: string;
2505
+ name?: string | undefined;
2506
+ modelId?: string | undefined;
2507
+ registryPath?: string | undefined;
2508
+ registrySource?: string | undefined;
2509
+ blobCoreKey?: string | undefined;
2510
+ blobIndex?: number | undefined;
2511
+ engine?: string | undefined;
2512
+ expectedSize?: number | undefined;
2513
+ sha256Checksum?: string | undefined;
2514
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2515
+ };
2516
+ mode?: "full" | undefined;
2517
+ beamsize?: number | undefined;
2518
+ lengthpenalty?: number | undefined;
2519
+ maxlength?: number | undefined;
2520
+ repetitionpenalty?: number | undefined;
2521
+ norepeatngramsize?: number | undefined;
2522
+ temperature?: number | undefined;
2523
+ topk?: number | undefined;
2524
+ topp?: number | undefined;
2525
+ srcVocabSrc?: string | {
2526
+ src: string;
2527
+ name?: string | undefined;
2528
+ modelId?: string | undefined;
2529
+ registryPath?: string | undefined;
2530
+ registrySource?: string | undefined;
2531
+ blobCoreKey?: string | undefined;
2532
+ blobIndex?: number | undefined;
2533
+ engine?: string | undefined;
2534
+ expectedSize?: number | undefined;
2535
+ sha256Checksum?: string | undefined;
2536
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2537
+ } | undefined;
2538
+ dstVocabSrc?: string | {
2539
+ src: string;
2540
+ name?: string | undefined;
2541
+ modelId?: string | undefined;
2542
+ registryPath?: string | undefined;
2543
+ registrySource?: string | undefined;
2544
+ blobCoreKey?: string | undefined;
2545
+ blobIndex?: number | undefined;
2546
+ engine?: string | undefined;
2547
+ expectedSize?: number | undefined;
2548
+ sha256Checksum?: string | undefined;
2549
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2550
+ } | undefined;
2551
+ normalize?: number | undefined;
2552
+ } | undefined;
959
2553
  } | {
960
2554
  mode: "full";
961
2555
  beamsize: number;
@@ -971,9 +2565,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
971
2565
  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
2566
  };
973
2567
  modelName?: string | undefined;
974
- projectionModelSrc?: string | undefined;
975
- vadModelSrc?: string | undefined;
976
- detectorModelSrc?: string | undefined;
977
2568
  withProgress?: boolean | undefined;
978
2569
  seed?: boolean | undefined;
979
2570
  delegate?: {
@@ -982,9 +2573,8 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
982
2573
  fallbackToLocal: boolean;
983
2574
  forceNewConnection: boolean;
984
2575
  timeout?: number | undefined;
2576
+ healthCheckTimeout?: number | undefined;
985
2577
  } | undefined;
986
- srcVocabSrc?: string | undefined;
987
- dstVocabSrc?: string | undefined;
988
2578
  } | {
989
2579
  type: "loadModel";
990
2580
  modelSrc: string;
@@ -992,27 +2582,156 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
992
2582
  modelConfig: {
993
2583
  ttsEngine: "chatterbox";
994
2584
  language: "en" | "de" | "es" | "it";
995
- ttsTokenizerSrc: string;
996
- ttsSpeechEncoderSrc: string;
997
- ttsEmbedTokensSrc: string;
998
- ttsConditionalDecoderSrc: string;
999
- ttsLanguageModelSrc: string;
1000
- referenceAudioSrc: string;
2585
+ ttsTokenizerSrc: string | {
2586
+ src: string;
2587
+ name?: string | undefined;
2588
+ modelId?: string | undefined;
2589
+ registryPath?: string | undefined;
2590
+ registrySource?: string | undefined;
2591
+ blobCoreKey?: string | undefined;
2592
+ blobIndex?: number | undefined;
2593
+ engine?: string | undefined;
2594
+ expectedSize?: number | undefined;
2595
+ sha256Checksum?: string | undefined;
2596
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2597
+ };
2598
+ ttsSpeechEncoderSrc: string | {
2599
+ src: string;
2600
+ name?: string | undefined;
2601
+ modelId?: string | undefined;
2602
+ registryPath?: string | undefined;
2603
+ registrySource?: string | undefined;
2604
+ blobCoreKey?: string | undefined;
2605
+ blobIndex?: number | undefined;
2606
+ engine?: string | undefined;
2607
+ expectedSize?: number | undefined;
2608
+ sha256Checksum?: string | undefined;
2609
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2610
+ };
2611
+ ttsEmbedTokensSrc: string | {
2612
+ src: string;
2613
+ name?: string | undefined;
2614
+ modelId?: string | undefined;
2615
+ registryPath?: string | undefined;
2616
+ registrySource?: string | undefined;
2617
+ blobCoreKey?: string | undefined;
2618
+ blobIndex?: number | undefined;
2619
+ engine?: string | undefined;
2620
+ expectedSize?: number | undefined;
2621
+ sha256Checksum?: string | undefined;
2622
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2623
+ };
2624
+ ttsConditionalDecoderSrc: string | {
2625
+ src: string;
2626
+ name?: string | undefined;
2627
+ modelId?: string | undefined;
2628
+ registryPath?: string | undefined;
2629
+ registrySource?: string | undefined;
2630
+ blobCoreKey?: string | undefined;
2631
+ blobIndex?: number | undefined;
2632
+ engine?: string | undefined;
2633
+ expectedSize?: number | undefined;
2634
+ sha256Checksum?: string | undefined;
2635
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2636
+ };
2637
+ ttsLanguageModelSrc: string | {
2638
+ src: string;
2639
+ name?: string | undefined;
2640
+ modelId?: string | undefined;
2641
+ registryPath?: string | undefined;
2642
+ registrySource?: string | undefined;
2643
+ blobCoreKey?: string | undefined;
2644
+ blobIndex?: number | undefined;
2645
+ engine?: string | undefined;
2646
+ expectedSize?: number | undefined;
2647
+ sha256Checksum?: string | undefined;
2648
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2649
+ };
2650
+ referenceAudioSrc: string | {
2651
+ src: string;
2652
+ name?: string | undefined;
2653
+ modelId?: string | undefined;
2654
+ registryPath?: string | undefined;
2655
+ registrySource?: string | undefined;
2656
+ blobCoreKey?: string | undefined;
2657
+ blobIndex?: number | undefined;
2658
+ engine?: string | undefined;
2659
+ expectedSize?: number | undefined;
2660
+ sha256Checksum?: string | undefined;
2661
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2662
+ };
1001
2663
  } | {
1002
2664
  ttsEngine: "supertonic";
1003
2665
  language: "en" | "de" | "es" | "it";
1004
- ttsTokenizerSrc: string;
1005
- ttsTextEncoderSrc: string;
1006
- ttsLatentDenoiserSrc: string;
1007
- ttsVoiceDecoderSrc: string;
1008
- ttsVoiceSrc: string;
2666
+ ttsTokenizerSrc: string | {
2667
+ src: string;
2668
+ name?: string | undefined;
2669
+ modelId?: string | undefined;
2670
+ registryPath?: string | undefined;
2671
+ registrySource?: string | undefined;
2672
+ blobCoreKey?: string | undefined;
2673
+ blobIndex?: number | undefined;
2674
+ engine?: string | undefined;
2675
+ expectedSize?: number | undefined;
2676
+ sha256Checksum?: string | undefined;
2677
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2678
+ };
2679
+ ttsTextEncoderSrc: string | {
2680
+ src: string;
2681
+ name?: string | undefined;
2682
+ modelId?: string | undefined;
2683
+ registryPath?: string | undefined;
2684
+ registrySource?: string | undefined;
2685
+ blobCoreKey?: string | undefined;
2686
+ blobIndex?: number | undefined;
2687
+ engine?: string | undefined;
2688
+ expectedSize?: number | undefined;
2689
+ sha256Checksum?: string | undefined;
2690
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2691
+ };
2692
+ ttsLatentDenoiserSrc: string | {
2693
+ src: string;
2694
+ name?: string | undefined;
2695
+ modelId?: string | undefined;
2696
+ registryPath?: string | undefined;
2697
+ registrySource?: string | undefined;
2698
+ blobCoreKey?: string | undefined;
2699
+ blobIndex?: number | undefined;
2700
+ engine?: string | undefined;
2701
+ expectedSize?: number | undefined;
2702
+ sha256Checksum?: string | undefined;
2703
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2704
+ };
2705
+ ttsVoiceDecoderSrc: string | {
2706
+ src: string;
2707
+ name?: string | undefined;
2708
+ modelId?: string | undefined;
2709
+ registryPath?: string | undefined;
2710
+ registrySource?: string | undefined;
2711
+ blobCoreKey?: string | undefined;
2712
+ blobIndex?: number | undefined;
2713
+ engine?: string | undefined;
2714
+ expectedSize?: number | undefined;
2715
+ sha256Checksum?: string | undefined;
2716
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2717
+ };
2718
+ ttsVoiceSrc: string | {
2719
+ src: string;
2720
+ name?: string | undefined;
2721
+ modelId?: string | undefined;
2722
+ registryPath?: string | undefined;
2723
+ registrySource?: string | undefined;
2724
+ blobCoreKey?: string | undefined;
2725
+ blobIndex?: number | undefined;
2726
+ engine?: string | undefined;
2727
+ expectedSize?: number | undefined;
2728
+ sha256Checksum?: string | undefined;
2729
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2730
+ };
1009
2731
  ttsSpeed?: number | undefined;
1010
2732
  ttsNumInferenceSteps?: number | undefined;
1011
2733
  };
1012
2734
  modelName?: string | undefined;
1013
- projectionModelSrc?: string | undefined;
1014
- vadModelSrc?: string | undefined;
1015
- detectorModelSrc?: string | undefined;
1016
2735
  withProgress?: boolean | undefined;
1017
2736
  seed?: boolean | undefined;
1018
2737
  delegate?: {
@@ -1021,6 +2740,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1021
2740
  fallbackToLocal: boolean;
1022
2741
  forceNewConnection: boolean;
1023
2742
  timeout?: number | undefined;
2743
+ healthCheckTimeout?: number | undefined;
1024
2744
  } | undefined;
1025
2745
  } | {
1026
2746
  type: "loadModel";
@@ -1030,16 +2750,29 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1030
2750
  langList?: string[] | undefined;
1031
2751
  useGPU?: boolean | undefined;
1032
2752
  timeout?: number | undefined;
2753
+ pipelineMode?: "easyocr" | "doctr" | undefined;
1033
2754
  magRatio?: number | undefined;
1034
2755
  defaultRotationAngles?: number[] | undefined;
1035
2756
  contrastRetry?: boolean | undefined;
1036
2757
  lowConfidenceThreshold?: number | undefined;
1037
2758
  recognizerBatchSize?: number | undefined;
2759
+ decodingMethod?: "attention" | "ctc" | undefined;
2760
+ straightenPages?: boolean | undefined;
2761
+ detectorModelSrc?: string | {
2762
+ src: string;
2763
+ name?: string | undefined;
2764
+ modelId?: string | undefined;
2765
+ registryPath?: string | undefined;
2766
+ registrySource?: string | undefined;
2767
+ blobCoreKey?: string | undefined;
2768
+ blobIndex?: number | undefined;
2769
+ engine?: string | undefined;
2770
+ expectedSize?: number | undefined;
2771
+ sha256Checksum?: string | undefined;
2772
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "parakeet" | "tts" | "ocr" | "vad" | undefined;
2773
+ } | undefined;
1038
2774
  };
1039
2775
  modelName?: string | undefined;
1040
- projectionModelSrc?: string | undefined;
1041
- vadModelSrc?: string | undefined;
1042
- detectorModelSrc?: string | undefined;
1043
2776
  withProgress?: boolean | undefined;
1044
2777
  seed?: boolean | undefined;
1045
2778
  delegate?: {
@@ -1048,15 +2781,13 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1048
2781
  fallbackToLocal: boolean;
1049
2782
  forceNewConnection: boolean;
1050
2783
  timeout?: number | undefined;
2784
+ healthCheckTimeout?: number | undefined;
1051
2785
  } | undefined;
1052
2786
  } | {
1053
2787
  type: "loadModel";
1054
2788
  modelSrc: string;
1055
2789
  modelType: string;
1056
2790
  modelName?: string | undefined;
1057
- projectionModelSrc?: string | undefined;
1058
- vadModelSrc?: string | undefined;
1059
- detectorModelSrc?: string | undefined;
1060
2791
  withProgress?: boolean | undefined;
1061
2792
  seed?: boolean | undefined;
1062
2793
  delegate?: {
@@ -1065,6 +2796,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1065
2796
  fallbackToLocal: boolean;
1066
2797
  forceNewConnection: boolean;
1067
2798
  timeout?: number | undefined;
2799
+ healthCheckTimeout?: number | undefined;
1068
2800
  } | undefined;
1069
2801
  modelConfig?: Record<string, unknown> | undefined;
1070
2802
  }>>, z.ZodUnion<readonly [z.ZodObject<{
@@ -1117,7 +2849,6 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1117
2849
  logprob_thold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1118
2850
  greedy_best_of: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1119
2851
  beam_search_beam_size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1120
- vad_model_path: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1121
2852
  vad_params: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1122
2853
  threshold: z.ZodOptional<z.ZodNumber>;
1123
2854
  min_speech_duration_ms: z.ZodOptional<z.ZodNumber>;
@@ -1139,6 +2870,34 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1139
2870
  miscConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1140
2871
  caption_enabled: z.ZodOptional<z.ZodBoolean>;
1141
2872
  }, z.core.$strip>>>;
2873
+ vadModelSrc: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2874
+ src: z.ZodString;
2875
+ name: z.ZodOptional<z.ZodString>;
2876
+ modelId: z.ZodOptional<z.ZodString>;
2877
+ registryPath: z.ZodOptional<z.ZodString>;
2878
+ registrySource: z.ZodOptional<z.ZodString>;
2879
+ blobCoreKey: z.ZodOptional<z.ZodString>;
2880
+ blobIndex: z.ZodOptional<z.ZodNumber>;
2881
+ engine: z.ZodOptional<z.ZodString>;
2882
+ expectedSize: z.ZodOptional<z.ZodNumber>;
2883
+ sha256Checksum: z.ZodOptional<z.ZodString>;
2884
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2885
+ "llamacpp-completion": "llamacpp-completion";
2886
+ "whispercpp-transcription": "whispercpp-transcription";
2887
+ "llamacpp-embedding": "llamacpp-embedding";
2888
+ "nmtcpp-translation": "nmtcpp-translation";
2889
+ "onnx-tts": "onnx-tts";
2890
+ "parakeet-transcription": "parakeet-transcription";
2891
+ "onnx-ocr": "onnx-ocr";
2892
+ llm: "llm";
2893
+ whisper: "whisper";
2894
+ embeddings: "embeddings";
2895
+ nmt: "nmt";
2896
+ parakeet: "parakeet";
2897
+ tts: "tts";
2898
+ ocr: "ocr";
2899
+ }>, z.ZodLiteral<"vad">]>>;
2900
+ }, z.core.$strip>]>>>;
1142
2901
  }, z.core.$strip>;
1143
2902
  }, z.core.$strip>]>]>, z.ZodPipe<z.ZodObject<{
1144
2903
  type: z.ZodLiteral<"downloadAsset">;
@@ -1187,6 +2946,16 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1187
2946
  }, z.core.$strip>>>;
1188
2947
  stream: z.ZodBoolean;
1189
2948
  kvCache: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2949
+ generationParams: z.ZodOptional<z.ZodObject<{
2950
+ temp: z.ZodOptional<z.ZodNumber>;
2951
+ top_p: z.ZodOptional<z.ZodNumber>;
2952
+ top_k: z.ZodOptional<z.ZodNumber>;
2953
+ predict: z.ZodOptional<z.ZodNumber>;
2954
+ seed: z.ZodOptional<z.ZodNumber>;
2955
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
2956
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
2957
+ repeat_penalty: z.ZodOptional<z.ZodNumber>;
2958
+ }, z.core.$strict>>;
1190
2959
  type: z.ZodLiteral<"completionStream">;
1191
2960
  }, z.core.$strip>, z.ZodObject<{
1192
2961
  modelId: z.ZodString;
@@ -1246,6 +3015,12 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1246
3015
  operation: z.ZodLiteral<"downloadAsset">;
1247
3016
  downloadKey: z.ZodString;
1248
3017
  clearCache: z.ZodOptional<z.ZodBoolean>;
3018
+ delegate: z.ZodOptional<z.ZodObject<{
3019
+ topic: z.ZodString;
3020
+ providerPublicKey: z.ZodString;
3021
+ timeout: z.ZodOptional<z.ZodNumber>;
3022
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
3023
+ }, z.core.$strip>>;
1249
3024
  }, z.core.$strip>, z.ZodObject<{
1250
3025
  operation: z.ZodLiteral<"rag">;
1251
3026
  workspace: z.ZodOptional<z.ZodString>;
@@ -1399,6 +3174,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1399
3174
  whisper: "whisper";
1400
3175
  embeddings: "embeddings";
1401
3176
  nmt: "nmt";
3177
+ parakeet: "parakeet";
1402
3178
  tts: "tts";
1403
3179
  ocr: "ocr";
1404
3180
  vad: "vad";
@@ -1410,7 +3186,7 @@ export declare const requestSchema: z.ZodUnion<readonly [z.ZodObject<{
1410
3186
  registrySource: z.ZodString;
1411
3187
  }, z.core.$strip>]>;
1412
3188
  export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1413
- type: z.ZodLiteral<"pong">;
3189
+ type: z.ZodLiteral<"heartbeat">;
1414
3190
  number: z.ZodNumber;
1415
3191
  }, z.core.$strip>, z.ZodObject<{
1416
3192
  type: z.ZodLiteral<"loadModel">;
@@ -1659,6 +3435,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1659
3435
  whisper: "whisper";
1660
3436
  embeddings: "embeddings";
1661
3437
  nmt: "nmt";
3438
+ parakeet: "parakeet";
1662
3439
  tts: "tts";
1663
3440
  ocr: "ocr";
1664
3441
  vad: "vad";
@@ -1721,6 +3498,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1721
3498
  whisper: "whisper";
1722
3499
  embeddings: "embeddings";
1723
3500
  nmt: "nmt";
3501
+ parakeet: "parakeet";
1724
3502
  tts: "tts";
1725
3503
  ocr: "ocr";
1726
3504
  vad: "vad";
@@ -1734,6 +3512,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1734
3512
  "llamacpp-embedding": "llamacpp-embedding";
1735
3513
  "nmtcpp-translation": "nmtcpp-translation";
1736
3514
  "onnx-tts": "onnx-tts";
3515
+ "parakeet-transcription": "parakeet-transcription";
1737
3516
  "onnx-ocr": "onnx-ocr";
1738
3517
  "onnx-vad": "onnx-vad";
1739
3518
  }>;
@@ -1758,6 +3537,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1758
3537
  whisper: "whisper";
1759
3538
  embeddings: "embeddings";
1760
3539
  nmt: "nmt";
3540
+ parakeet: "parakeet";
1761
3541
  tts: "tts";
1762
3542
  ocr: "ocr";
1763
3543
  vad: "vad";
@@ -1771,6 +3551,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1771
3551
  "llamacpp-embedding": "llamacpp-embedding";
1772
3552
  "nmtcpp-translation": "nmtcpp-translation";
1773
3553
  "onnx-tts": "onnx-tts";
3554
+ "parakeet-transcription": "parakeet-transcription";
1774
3555
  "onnx-ocr": "onnx-ocr";
1775
3556
  "onnx-vad": "onnx-vad";
1776
3557
  }>;
@@ -1795,6 +3576,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1795
3576
  whisper: "whisper";
1796
3577
  embeddings: "embeddings";
1797
3578
  nmt: "nmt";
3579
+ parakeet: "parakeet";
1798
3580
  tts: "tts";
1799
3581
  ocr: "ocr";
1800
3582
  vad: "vad";
@@ -1808,6 +3590,7 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1808
3590
  "llamacpp-embedding": "llamacpp-embedding";
1809
3591
  "nmtcpp-translation": "nmtcpp-translation";
1810
3592
  "onnx-tts": "onnx-tts";
3593
+ "parakeet-transcription": "parakeet-transcription";
1811
3594
  "onnx-ocr": "onnx-ocr";
1812
3595
  "onnx-vad": "onnx-vad";
1813
3596
  }>;
@@ -1818,7 +3601,16 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1818
3601
  }, z.core.$strip>], "type">;
1819
3602
  export declare const rpcOptionsSchema: z.ZodObject<{
1820
3603
  timeout: z.ZodOptional<z.ZodNumber>;
3604
+ healthCheckTimeout: z.ZodOptional<z.ZodNumber>;
1821
3605
  forceNewConnection: z.ZodOptional<z.ZodBoolean>;
3606
+ profiling: z.ZodOptional<z.ZodObject<{
3607
+ enabled: z.ZodOptional<z.ZodBoolean>;
3608
+ includeServerBreakdown: z.ZodOptional<z.ZodBoolean>;
3609
+ mode: z.ZodOptional<z.ZodEnum<{
3610
+ summary: "summary";
3611
+ verbose: "verbose";
3612
+ }>>;
3613
+ }, z.core.$strip>>;
1822
3614
  }, z.core.$strip>;
1823
3615
  export type Request = z.infer<typeof requestSchema>;
1824
3616
  export type Response = z.infer<typeof responseSchema>;