react-native-nobodywho 2.4.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/cpp/nobodywho.cpp +902 -328
- package/generated/cpp/nobodywho.hpp +106 -27
- package/generated/ts/nobodywho-ffi.ts +48 -29
- package/generated/ts/nobodywho.ts +693 -164
- package/package.json +1 -1
- package/src/chat.ts +19 -0
- package/src/encoder.ts +5 -0
- package/src/model.ts +6 -1
- package/src/{stt.ts → speech_to_text.ts} +17 -9
- package/src/text_to_speech.ts +87 -0
- package/src/vad.ts +104 -0
- package/src/wrapper.ts +8 -5
- package/src/tts.ts +0 -78
|
@@ -119,7 +119,7 @@ void uniffi_nobodywho_uniffi_fn_free_rustchat(
|
|
|
119
119
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rustchat_new(
|
|
120
120
|
/*handle*/ uint64_t model, RustBuffer system_prompt, uint32_t context_size,
|
|
121
121
|
RustBuffer template_variables, RustBuffer tools, RustBuffer sampler,
|
|
122
|
-
RustCallStatus *uniffi_out_err);
|
|
122
|
+
RustBuffer mtp, RustBuffer thread_count, RustCallStatus *uniffi_out_err);
|
|
123
123
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
|
|
124
124
|
/*handle*/ uint64_t ptr, RustBuffer message,
|
|
125
125
|
RustCallStatus *uniffi_out_err);
|
|
@@ -141,6 +141,9 @@ uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt(
|
|
|
141
141
|
/*handle*/ uint64_t
|
|
142
142
|
uniffi_nobodywho_uniffi_fn_method_rustchat_get_template_variables(
|
|
143
143
|
/*handle*/ uint64_t ptr);
|
|
144
|
+
/*handle*/ uint64_t
|
|
145
|
+
uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
|
|
146
|
+
/*handle*/ uint64_t ptr);
|
|
144
147
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_reset_context(
|
|
145
148
|
/*handle*/ uint64_t ptr, RustBuffer system_prompt, RustBuffer tools);
|
|
146
149
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_reset_history(
|
|
@@ -187,32 +190,53 @@ void uniffi_nobodywho_uniffi_fn_free_rustencoder(
|
|
|
187
190
|
RustCallStatus *uniffi_out_err);
|
|
188
191
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
189
192
|
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
193
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
194
|
+
/*handle*/ uint64_t ptr, RustBuffer texts);
|
|
190
195
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
191
196
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
192
197
|
void uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
193
198
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
194
199
|
uint32_t uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
195
200
|
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
196
|
-
/*handle*/ uint64_t
|
|
201
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
197
202
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
198
|
-
void
|
|
203
|
+
void uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
199
204
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
200
|
-
/*handle*/ uint64_t
|
|
205
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
201
206
|
RustBuffer source, RustBuffer language, RustBuffer quantization,
|
|
202
207
|
RustCallStatus *uniffi_out_err);
|
|
203
|
-
/*handle*/ uint64_t
|
|
208
|
+
/*handle*/ uint64_t
|
|
209
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
204
210
|
/*handle*/ uint64_t ptr, RustBuffer path, RustCallStatus *uniffi_out_err);
|
|
205
|
-
/*handle*/ uint64_t
|
|
211
|
+
/*handle*/ uint64_t
|
|
212
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
206
213
|
/*handle*/ uint64_t ptr, RustBuffer samples, uint32_t sample_rate,
|
|
207
214
|
RustCallStatus *uniffi_out_err);
|
|
208
|
-
/*handle*/ uint64_t
|
|
215
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
209
216
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
210
|
-
void
|
|
217
|
+
void uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
211
218
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
212
|
-
/*handle*/ uint64_t
|
|
219
|
+
/*handle*/ uint64_t
|
|
220
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
213
221
|
/*handle*/ uint64_t ptr);
|
|
214
|
-
/*handle*/ uint64_t
|
|
222
|
+
/*handle*/ uint64_t
|
|
223
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
215
224
|
/*handle*/ uint64_t ptr);
|
|
225
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
226
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
227
|
+
void uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
228
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
229
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
230
|
+
RustBuffer source, RustBuffer architecture, RustBuffer voice,
|
|
231
|
+
RustBuffer language, RustBuffer speed, RustBuffer steps,
|
|
232
|
+
RustBuffer silence_duration, RustBuffer precision, RustBuffer temperature,
|
|
233
|
+
RustBuffer huggingface_token, RustBuffer device,
|
|
234
|
+
RustCallStatus *uniffi_out_err);
|
|
235
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
236
|
+
/*handle*/ uint64_t ptr, RustBuffer text, RustCallStatus *uniffi_out_err);
|
|
237
|
+
/*handle*/ uint64_t
|
|
238
|
+
uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
239
|
+
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
216
240
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(
|
|
217
241
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
218
242
|
void uniffi_nobodywho_uniffi_fn_free_rusttokenstream(
|
|
@@ -240,19 +264,23 @@ uniffi_nobodywho_uniffi_fn_method_rusttool_next_pending_call(
|
|
|
240
264
|
void uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
|
|
241
265
|
/*handle*/ uint64_t ptr, RustBuffer call_id, RustBuffer result,
|
|
242
266
|
RustCallStatus *uniffi_out_err);
|
|
243
|
-
/*handle*/ uint64_t
|
|
267
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
244
268
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
245
|
-
void
|
|
269
|
+
void uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
246
270
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
247
|
-
/*handle*/ uint64_t
|
|
248
|
-
|
|
249
|
-
RustBuffer
|
|
250
|
-
RustBuffer
|
|
271
|
+
/*handle*/ uint64_t
|
|
272
|
+
uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
273
|
+
RustBuffer source, uint32_t sample_rate, RustBuffer threshold,
|
|
274
|
+
RustBuffer min_silence_duration_ms, RustBuffer min_speech_duration_ms,
|
|
275
|
+
RustBuffer preroll_duration_ms, RustBuffer device,
|
|
276
|
+
RustCallStatus *uniffi_out_err);
|
|
277
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
278
|
+
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
279
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
280
|
+
/*handle*/ uint64_t ptr, RustBuffer chunk, RustCallStatus *uniffi_out_err);
|
|
281
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
282
|
+
/*handle*/ uint64_t ptr, RustBuffer samples,
|
|
251
283
|
RustCallStatus *uniffi_out_err);
|
|
252
|
-
RustBuffer uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
|
|
253
|
-
/*handle*/ uint64_t ptr, RustBuffer text, RustCallStatus *uniffi_out_err);
|
|
254
|
-
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
|
|
255
|
-
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
256
284
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
|
|
257
285
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
258
286
|
void uniffi_nobodywho_uniffi_fn_free_samplerbuilder(
|
|
@@ -321,11 +349,19 @@ RustBuffer uniffi_nobodywho_uniffi_fn_func_get_cached_models(
|
|
|
321
349
|
RustCallStatus *uniffi_out_err);
|
|
322
350
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
323
351
|
RustBuffer model_path, int8_t use_gpu, RustBuffer projection_model_path,
|
|
324
|
-
RustBuffer on_download_progress);
|
|
325
|
-
/*handle*/ uint64_t
|
|
352
|
+
RustBuffer draft_model_path, RustBuffer on_download_progress);
|
|
353
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
354
|
+
RustBuffer source, RustBuffer language, RustBuffer quantization);
|
|
355
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
326
356
|
RustBuffer source, RustBuffer architecture, RustBuffer voice,
|
|
327
357
|
RustBuffer language, RustBuffer speed, RustBuffer steps,
|
|
328
|
-
RustBuffer silence_duration, RustBuffer
|
|
358
|
+
RustBuffer silence_duration, RustBuffer precision, RustBuffer temperature,
|
|
359
|
+
RustBuffer huggingface_token, RustBuffer device);
|
|
360
|
+
/*handle*/ uint64_t
|
|
361
|
+
uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
362
|
+
RustBuffer source, uint32_t sample_rate, RustBuffer threshold,
|
|
363
|
+
RustBuffer min_silence_duration_ms, RustBuffer min_speech_duration_ms,
|
|
364
|
+
RustBuffer preroll_duration_ms, RustBuffer device);
|
|
329
365
|
/*handle*/ uint64_t
|
|
330
366
|
uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
|
|
331
367
|
RustBuffer grammar, RustCallStatus *uniffi_out_err);
|
|
@@ -474,7 +510,9 @@ uint16_t uniffi_nobodywho_uniffi_checksum_func_cosine_similarity();
|
|
|
474
510
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_download_model();
|
|
475
511
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_get_cached_models();
|
|
476
512
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_model();
|
|
477
|
-
uint16_t
|
|
513
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text();
|
|
514
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech();
|
|
515
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection();
|
|
478
516
|
uint16_t
|
|
479
517
|
uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_grammar();
|
|
480
518
|
uint16_t
|
|
@@ -500,6 +538,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats();
|
|
|
500
538
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_prompt();
|
|
501
539
|
uint16_t
|
|
502
540
|
uniffi_nobodywho_uniffi_checksum_method_rustchat_get_template_variables();
|
|
541
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate();
|
|
503
542
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_context();
|
|
504
543
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_history();
|
|
505
544
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_chat_history();
|
|
@@ -516,19 +555,31 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank();
|
|
|
516
555
|
uint16_t
|
|
517
556
|
uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json();
|
|
518
557
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode();
|
|
558
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch();
|
|
519
559
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx();
|
|
520
|
-
uint16_t
|
|
521
|
-
|
|
522
|
-
uint16_t
|
|
523
|
-
|
|
560
|
+
uint16_t
|
|
561
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file();
|
|
562
|
+
uint16_t
|
|
563
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm();
|
|
564
|
+
uint16_t
|
|
565
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed();
|
|
566
|
+
uint16_t
|
|
567
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token();
|
|
568
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize();
|
|
569
|
+
uint16_t
|
|
570
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async();
|
|
524
571
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed();
|
|
525
572
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_token();
|
|
526
573
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_get_schema_json();
|
|
527
574
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_next_pending_call();
|
|
528
575
|
uint16_t
|
|
529
576
|
uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call();
|
|
530
|
-
uint16_t
|
|
531
|
-
|
|
577
|
+
uint16_t
|
|
578
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish();
|
|
579
|
+
uint16_t
|
|
580
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push();
|
|
581
|
+
uint16_t
|
|
582
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment();
|
|
532
583
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist();
|
|
533
584
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry();
|
|
534
585
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar();
|
|
@@ -547,10 +598,12 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerconfig_to_json();
|
|
|
547
598
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustchat_new();
|
|
548
599
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustcrossencoder_new();
|
|
549
600
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new();
|
|
550
|
-
uint16_t
|
|
601
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new();
|
|
602
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new();
|
|
551
603
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new();
|
|
552
604
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async();
|
|
553
|
-
uint16_t
|
|
605
|
+
uint16_t
|
|
606
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new();
|
|
554
607
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new();
|
|
555
608
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerconfig_from_json();
|
|
556
609
|
uint16_t
|
|
@@ -2734,7 +2787,7 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2734
2787
|
rt,
|
|
2735
2788
|
jsi::PropNameID::forAscii(
|
|
2736
2789
|
rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new"),
|
|
2737
|
-
|
|
2790
|
+
8,
|
|
2738
2791
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2739
2792
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2740
2793
|
return this
|
|
@@ -2836,6 +2889,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2836
2889
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_template_variables(
|
|
2837
2890
|
rt, thisVal, args, count);
|
|
2838
2891
|
});
|
|
2892
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate"] =
|
|
2893
|
+
jsi::Function::createFromHostFunction(
|
|
2894
|
+
rt,
|
|
2895
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
2896
|
+
"method_rustchat_mtp_acceptance_rate"),
|
|
2897
|
+
1,
|
|
2898
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2899
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2900
|
+
return this
|
|
2901
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
|
|
2902
|
+
rt, thisVal, args, count);
|
|
2903
|
+
});
|
|
2839
2904
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_reset_context"] =
|
|
2840
2905
|
jsi::Function::createFromHostFunction(
|
|
2841
2906
|
rt,
|
|
@@ -3064,6 +3129,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3064
3129
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
3065
3130
|
rt, thisVal, args, count);
|
|
3066
3131
|
});
|
|
3132
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch"] =
|
|
3133
|
+
jsi::Function::createFromHostFunction(
|
|
3134
|
+
rt,
|
|
3135
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3136
|
+
"method_rustencoder_encode_batch"),
|
|
3137
|
+
2,
|
|
3138
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3139
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3140
|
+
return this
|
|
3141
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
3142
|
+
rt, thisVal, args, count);
|
|
3143
|
+
});
|
|
3067
3144
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustmodel"] =
|
|
3068
3145
|
jsi::Function::createFromHostFunction(
|
|
3069
3146
|
rt,
|
|
@@ -3098,112 +3175,172 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3098
3175
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
3099
3176
|
rt, thisVal, args, count);
|
|
3100
3177
|
});
|
|
3101
|
-
props["
|
|
3178
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext"] =
|
|
3102
3179
|
jsi::Function::createFromHostFunction(
|
|
3103
3180
|
rt,
|
|
3104
3181
|
jsi::PropNameID::forAscii(
|
|
3105
|
-
rt, "
|
|
3182
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext"),
|
|
3106
3183
|
1,
|
|
3107
3184
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3108
3185
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3109
|
-
return this->
|
|
3186
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
3110
3187
|
rt, thisVal, args, count);
|
|
3111
3188
|
});
|
|
3112
|
-
props["
|
|
3189
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext"] =
|
|
3113
3190
|
jsi::Function::createFromHostFunction(
|
|
3114
3191
|
rt,
|
|
3115
3192
|
jsi::PropNameID::forAscii(
|
|
3116
|
-
rt, "
|
|
3193
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext"),
|
|
3117
3194
|
1,
|
|
3118
3195
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3119
3196
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3120
|
-
return this->
|
|
3197
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
3121
3198
|
rt, thisVal, args, count);
|
|
3122
3199
|
});
|
|
3123
|
-
props["
|
|
3200
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new"] =
|
|
3124
3201
|
jsi::Function::createFromHostFunction(
|
|
3125
3202
|
rt,
|
|
3126
|
-
jsi::PropNameID::forAscii(
|
|
3127
|
-
|
|
3203
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3204
|
+
"constructor_rustspeechtotext_new"),
|
|
3128
3205
|
3,
|
|
3129
3206
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3130
3207
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3131
|
-
return this
|
|
3132
|
-
|
|
3208
|
+
return this
|
|
3209
|
+
->cpp_uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
3210
|
+
rt, thisVal, args, count);
|
|
3133
3211
|
});
|
|
3134
|
-
props["
|
|
3212
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_"
|
|
3213
|
+
"file"] = jsi::Function::createFromHostFunction(
|
|
3214
|
+
rt,
|
|
3215
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3216
|
+
"rustspeechtotext_transcribe_file"),
|
|
3217
|
+
2,
|
|
3218
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3219
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3220
|
+
return this
|
|
3221
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
3222
|
+
rt, thisVal, args, count);
|
|
3223
|
+
});
|
|
3224
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_"
|
|
3225
|
+
"pcm"] = jsi::Function::createFromHostFunction(
|
|
3226
|
+
rt,
|
|
3227
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3228
|
+
"rustspeechtotext_transcribe_pcm"),
|
|
3229
|
+
3,
|
|
3230
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3231
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3232
|
+
return this
|
|
3233
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
3234
|
+
rt, thisVal, args, count);
|
|
3235
|
+
});
|
|
3236
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream"] =
|
|
3135
3237
|
jsi::Function::createFromHostFunction(
|
|
3136
3238
|
rt,
|
|
3137
3239
|
jsi::PropNameID::forAscii(
|
|
3138
3240
|
rt,
|
|
3139
|
-
"
|
|
3140
|
-
|
|
3241
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream"),
|
|
3242
|
+
1,
|
|
3141
3243
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3142
3244
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3143
3245
|
return this
|
|
3144
|
-
->
|
|
3246
|
+
->cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
3145
3247
|
rt, thisVal, args, count);
|
|
3146
3248
|
});
|
|
3147
|
-
props["
|
|
3249
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream"] =
|
|
3148
3250
|
jsi::Function::createFromHostFunction(
|
|
3149
3251
|
rt,
|
|
3150
3252
|
jsi::PropNameID::forAscii(
|
|
3151
3253
|
rt,
|
|
3152
|
-
"
|
|
3153
|
-
|
|
3254
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream"),
|
|
3255
|
+
1,
|
|
3154
3256
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3155
3257
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3156
3258
|
return this
|
|
3157
|
-
->
|
|
3259
|
+
->cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
3158
3260
|
rt, thisVal, args, count);
|
|
3159
3261
|
});
|
|
3160
|
-
props["
|
|
3262
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_"
|
|
3263
|
+
"completed"] = jsi::Function::createFromHostFunction(
|
|
3264
|
+
rt,
|
|
3265
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3266
|
+
"rustspeechtotextstream_completed"),
|
|
3267
|
+
1,
|
|
3268
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3269
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3270
|
+
return this
|
|
3271
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
3272
|
+
rt, thisVal, args, count);
|
|
3273
|
+
});
|
|
3274
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_"
|
|
3275
|
+
"token"] = jsi::Function::createFromHostFunction(
|
|
3276
|
+
rt,
|
|
3277
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3278
|
+
"rustspeechtotextstream_next_token"),
|
|
3279
|
+
1,
|
|
3280
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3281
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3282
|
+
return this
|
|
3283
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
3284
|
+
rt, thisVal, args, count);
|
|
3285
|
+
});
|
|
3286
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech"] =
|
|
3161
3287
|
jsi::Function::createFromHostFunction(
|
|
3162
3288
|
rt,
|
|
3163
3289
|
jsi::PropNameID::forAscii(
|
|
3164
|
-
rt, "
|
|
3290
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech"),
|
|
3165
3291
|
1,
|
|
3166
3292
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3167
3293
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3168
|
-
return this->
|
|
3294
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
3169
3295
|
rt, thisVal, args, count);
|
|
3170
3296
|
});
|
|
3171
|
-
props["
|
|
3297
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech"] =
|
|
3172
3298
|
jsi::Function::createFromHostFunction(
|
|
3173
3299
|
rt,
|
|
3174
3300
|
jsi::PropNameID::forAscii(
|
|
3175
|
-
rt, "
|
|
3301
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech"),
|
|
3176
3302
|
1,
|
|
3177
3303
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3178
3304
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3179
|
-
return this->
|
|
3305
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
3180
3306
|
rt, thisVal, args, count);
|
|
3181
3307
|
});
|
|
3182
|
-
props["
|
|
3308
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new"] =
|
|
3183
3309
|
jsi::Function::createFromHostFunction(
|
|
3184
3310
|
rt,
|
|
3185
|
-
jsi::PropNameID::forAscii(
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
1,
|
|
3311
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3312
|
+
"constructor_rusttexttospeech_new"),
|
|
3313
|
+
11,
|
|
3189
3314
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3190
3315
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3191
3316
|
return this
|
|
3192
|
-
->
|
|
3317
|
+
->cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
3193
3318
|
rt, thisVal, args, count);
|
|
3194
3319
|
});
|
|
3195
|
-
props["
|
|
3320
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize"] =
|
|
3196
3321
|
jsi::Function::createFromHostFunction(
|
|
3197
3322
|
rt,
|
|
3198
3323
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3199
|
-
"
|
|
3200
|
-
|
|
3324
|
+
"method_rusttexttospeech_synthesize"),
|
|
3325
|
+
2,
|
|
3201
3326
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3202
3327
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3203
3328
|
return this
|
|
3204
|
-
->
|
|
3329
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
3205
3330
|
rt, thisVal, args, count);
|
|
3206
3331
|
});
|
|
3332
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_"
|
|
3333
|
+
"async"] = jsi::Function::createFromHostFunction(
|
|
3334
|
+
rt,
|
|
3335
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3336
|
+
"rusttexttospeech_synthesize_async"),
|
|
3337
|
+
2,
|
|
3338
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3339
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3340
|
+
return this
|
|
3341
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
3342
|
+
rt, thisVal, args, count);
|
|
3343
|
+
});
|
|
3207
3344
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream"] =
|
|
3208
3345
|
jsi::Function::createFromHostFunction(
|
|
3209
3346
|
rt,
|
|
@@ -3333,63 +3470,79 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3333
3470
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
|
|
3334
3471
|
rt, thisVal, args, count);
|
|
3335
3472
|
});
|
|
3336
|
-
props["
|
|
3337
|
-
jsi::Function::createFromHostFunction(
|
|
3338
|
-
rt,
|
|
3339
|
-
jsi::PropNameID::forAscii(
|
|
3340
|
-
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttts"),
|
|
3341
|
-
1,
|
|
3342
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3343
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3344
|
-
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
3345
|
-
rt, thisVal, args, count);
|
|
3346
|
-
});
|
|
3347
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rusttts"] =
|
|
3473
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection"] =
|
|
3348
3474
|
jsi::Function::createFromHostFunction(
|
|
3349
3475
|
rt,
|
|
3350
|
-
jsi::PropNameID::forAscii(
|
|
3351
|
-
|
|
3476
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_"
|
|
3477
|
+
"rustvoiceactivitydetection"),
|
|
3352
3478
|
1,
|
|
3353
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3354
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3355
|
-
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
3356
|
-
rt, thisVal, args, count);
|
|
3357
|
-
});
|
|
3358
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"] =
|
|
3359
|
-
jsi::Function::createFromHostFunction(
|
|
3360
|
-
rt,
|
|
3361
|
-
jsi::PropNameID::forAscii(
|
|
3362
|
-
rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"),
|
|
3363
|
-
8,
|
|
3364
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3365
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3366
|
-
return this->cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
|
|
3367
|
-
rt, thisVal, args, count);
|
|
3368
|
-
});
|
|
3369
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"] =
|
|
3370
|
-
jsi::Function::createFromHostFunction(
|
|
3371
|
-
rt,
|
|
3372
|
-
jsi::PropNameID::forAscii(
|
|
3373
|
-
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"),
|
|
3374
|
-
2,
|
|
3375
3479
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3376
3480
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3377
3481
|
return this
|
|
3378
|
-
->
|
|
3482
|
+
->cpp_uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
3379
3483
|
rt, thisVal, args, count);
|
|
3380
3484
|
});
|
|
3381
|
-
props["
|
|
3485
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection"] =
|
|
3382
3486
|
jsi::Function::createFromHostFunction(
|
|
3383
3487
|
rt,
|
|
3384
|
-
jsi::PropNameID::forAscii(rt, "
|
|
3385
|
-
"
|
|
3386
|
-
|
|
3488
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_"
|
|
3489
|
+
"rustvoiceactivitydetection"),
|
|
3490
|
+
1,
|
|
3387
3491
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3388
3492
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3389
3493
|
return this
|
|
3390
|
-
->
|
|
3494
|
+
->cpp_uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
3391
3495
|
rt, thisVal, args, count);
|
|
3392
3496
|
});
|
|
3497
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_"
|
|
3498
|
+
"rustvoiceactivitydetection_new"] = jsi::Function::createFromHostFunction(
|
|
3499
|
+
rt,
|
|
3500
|
+
jsi::PropNameID::forAscii(rt,
|
|
3501
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_constructor_"
|
|
3502
|
+
"rustvoiceactivitydetection_new"),
|
|
3503
|
+
7,
|
|
3504
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3505
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3506
|
+
return this
|
|
3507
|
+
->cpp_uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
3508
|
+
rt, thisVal, args, count);
|
|
3509
|
+
});
|
|
3510
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_"
|
|
3511
|
+
"finish"] = jsi::Function::createFromHostFunction(
|
|
3512
|
+
rt,
|
|
3513
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3514
|
+
"rustvoiceactivitydetection_finish"),
|
|
3515
|
+
1,
|
|
3516
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3517
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3518
|
+
return this
|
|
3519
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
3520
|
+
rt, thisVal, args, count);
|
|
3521
|
+
});
|
|
3522
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_"
|
|
3523
|
+
"push"] = jsi::Function::createFromHostFunction(
|
|
3524
|
+
rt,
|
|
3525
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3526
|
+
"rustvoiceactivitydetection_push"),
|
|
3527
|
+
2,
|
|
3528
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3529
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3530
|
+
return this
|
|
3531
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
3532
|
+
rt, thisVal, args, count);
|
|
3533
|
+
});
|
|
3534
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_"
|
|
3535
|
+
"segment"] = jsi::Function::createFromHostFunction(
|
|
3536
|
+
rt,
|
|
3537
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3538
|
+
"rustvoiceactivitydetection_segment"),
|
|
3539
|
+
2,
|
|
3540
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3541
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3542
|
+
return this
|
|
3543
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
3544
|
+
rt, thisVal, args, count);
|
|
3545
|
+
});
|
|
3393
3546
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder"] =
|
|
3394
3547
|
jsi::Function::createFromHostFunction(
|
|
3395
3548
|
rt,
|
|
@@ -3708,22 +3861,47 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3708
3861
|
rt,
|
|
3709
3862
|
jsi::PropNameID::forAscii(
|
|
3710
3863
|
rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_model"),
|
|
3711
|
-
|
|
3864
|
+
5,
|
|
3712
3865
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3713
3866
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3714
3867
|
return this->cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
3715
3868
|
rt, thisVal, args, count);
|
|
3716
3869
|
});
|
|
3717
|
-
props["
|
|
3870
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text"] =
|
|
3718
3871
|
jsi::Function::createFromHostFunction(
|
|
3719
3872
|
rt,
|
|
3720
3873
|
jsi::PropNameID::forAscii(
|
|
3721
|
-
rt, "
|
|
3722
|
-
|
|
3874
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text"),
|
|
3875
|
+
3,
|
|
3723
3876
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3724
3877
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3725
|
-
return this
|
|
3726
|
-
|
|
3878
|
+
return this
|
|
3879
|
+
->cpp_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
3880
|
+
rt, thisVal, args, count);
|
|
3881
|
+
});
|
|
3882
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech"] =
|
|
3883
|
+
jsi::Function::createFromHostFunction(
|
|
3884
|
+
rt,
|
|
3885
|
+
jsi::PropNameID::forAscii(
|
|
3886
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech"),
|
|
3887
|
+
11,
|
|
3888
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3889
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3890
|
+
return this
|
|
3891
|
+
->cpp_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
3892
|
+
rt, thisVal, args, count);
|
|
3893
|
+
});
|
|
3894
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection"] =
|
|
3895
|
+
jsi::Function::createFromHostFunction(
|
|
3896
|
+
rt,
|
|
3897
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_"
|
|
3898
|
+
"load_voice_activity_detection"),
|
|
3899
|
+
7,
|
|
3900
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3901
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3902
|
+
return this
|
|
3903
|
+
->cpp_uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
3904
|
+
rt, thisVal, args, count);
|
|
3727
3905
|
});
|
|
3728
3906
|
props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_"
|
|
3729
3907
|
"grammar"] = jsi::Function::createFromHostFunction(
|
|
@@ -4438,17 +4616,44 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4438
4616
|
return this->cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
4439
4617
|
rt, thisVal, args, count);
|
|
4440
4618
|
});
|
|
4441
|
-
props["
|
|
4619
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text"] =
|
|
4442
4620
|
jsi::Function::createFromHostFunction(
|
|
4443
4621
|
rt,
|
|
4444
4622
|
jsi::PropNameID::forAscii(
|
|
4445
|
-
rt,
|
|
4623
|
+
rt,
|
|
4624
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text"),
|
|
4446
4625
|
0,
|
|
4447
4626
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4448
4627
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4449
|
-
return this
|
|
4450
|
-
|
|
4628
|
+
return this
|
|
4629
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text(
|
|
4630
|
+
rt, thisVal, args, count);
|
|
4631
|
+
});
|
|
4632
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech"] =
|
|
4633
|
+
jsi::Function::createFromHostFunction(
|
|
4634
|
+
rt,
|
|
4635
|
+
jsi::PropNameID::forAscii(
|
|
4636
|
+
rt,
|
|
4637
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech"),
|
|
4638
|
+
0,
|
|
4639
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4640
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4641
|
+
return this
|
|
4642
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech(
|
|
4643
|
+
rt, thisVal, args, count);
|
|
4451
4644
|
});
|
|
4645
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_"
|
|
4646
|
+
"detection"] = jsi::Function::createFromHostFunction(
|
|
4647
|
+
rt,
|
|
4648
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4649
|
+
"func_load_voice_activity_detection"),
|
|
4650
|
+
0,
|
|
4651
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4652
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4653
|
+
return this
|
|
4654
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection(
|
|
4655
|
+
rt, thisVal, args, count);
|
|
4656
|
+
});
|
|
4452
4657
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_"
|
|
4453
4658
|
"with_grammar"] = jsi::Function::createFromHostFunction(
|
|
4454
4659
|
rt,
|
|
@@ -4681,6 +4886,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4681
4886
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_template_variables(
|
|
4682
4887
|
rt, thisVal, args, count);
|
|
4683
4888
|
});
|
|
4889
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_"
|
|
4890
|
+
"rate"] = jsi::Function::createFromHostFunction(
|
|
4891
|
+
rt,
|
|
4892
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4893
|
+
"method_rustchat_mtp_acceptance_rate"),
|
|
4894
|
+
0,
|
|
4895
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4896
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4897
|
+
return this
|
|
4898
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate(
|
|
4899
|
+
rt, thisVal, args, count);
|
|
4900
|
+
});
|
|
4684
4901
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_context"] =
|
|
4685
4902
|
jsi::Function::createFromHostFunction(
|
|
4686
4903
|
rt,
|
|
@@ -4839,6 +5056,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4839
5056
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
4840
5057
|
rt, thisVal, args, count);
|
|
4841
5058
|
});
|
|
5059
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_"
|
|
5060
|
+
"batch"] = jsi::Function::createFromHostFunction(
|
|
5061
|
+
rt,
|
|
5062
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5063
|
+
"method_rustencoder_encode_batch"),
|
|
5064
|
+
0,
|
|
5065
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5066
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5067
|
+
return this
|
|
5068
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch(
|
|
5069
|
+
rt, thisVal, args, count);
|
|
5070
|
+
});
|
|
4842
5071
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx"] =
|
|
4843
5072
|
jsi::Function::createFromHostFunction(
|
|
4844
5073
|
rt,
|
|
@@ -4852,88 +5081,112 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4852
5081
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
4853
5082
|
rt, thisVal, args, count);
|
|
4854
5083
|
});
|
|
4855
|
-
props["
|
|
4856
|
-
"
|
|
5084
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_"
|
|
5085
|
+
"transcribe_file"] = jsi::Function::createFromHostFunction(
|
|
4857
5086
|
rt,
|
|
4858
5087
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4859
|
-
"
|
|
5088
|
+
"method_rustspeechtotext_transcribe_file"),
|
|
4860
5089
|
0,
|
|
4861
5090
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4862
5091
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4863
5092
|
return this
|
|
4864
|
-
->
|
|
5093
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file(
|
|
4865
5094
|
rt, thisVal, args, count);
|
|
4866
5095
|
});
|
|
4867
|
-
props["
|
|
4868
|
-
|
|
4869
|
-
rt,
|
|
4870
|
-
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4871
|
-
"method_ruststt_transcribe_pcm"),
|
|
4872
|
-
0,
|
|
4873
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4874
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4875
|
-
return this
|
|
4876
|
-
->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm(
|
|
4877
|
-
rt, thisVal, args, count);
|
|
4878
|
-
});
|
|
4879
|
-
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_"
|
|
4880
|
-
"completed"] = jsi::Function::createFromHostFunction(
|
|
5096
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_"
|
|
5097
|
+
"transcribe_pcm"] = jsi::Function::createFromHostFunction(
|
|
4881
5098
|
rt,
|
|
4882
5099
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4883
|
-
"
|
|
5100
|
+
"method_rustspeechtotext_transcribe_pcm"),
|
|
4884
5101
|
0,
|
|
4885
5102
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4886
5103
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4887
5104
|
return this
|
|
4888
|
-
->
|
|
5105
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm(
|
|
4889
5106
|
rt, thisVal, args, count);
|
|
4890
5107
|
});
|
|
4891
|
-
props["
|
|
4892
|
-
"
|
|
5108
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_"
|
|
5109
|
+
"completed"] = jsi::Function::createFromHostFunction(
|
|
4893
5110
|
rt,
|
|
4894
5111
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4895
|
-
"
|
|
5112
|
+
"method_rustspeechtotextstream_completed"),
|
|
4896
5113
|
0,
|
|
4897
5114
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4898
5115
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4899
5116
|
return this
|
|
4900
|
-
->
|
|
5117
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed(
|
|
4901
5118
|
rt, thisVal, args, count);
|
|
4902
5119
|
});
|
|
4903
|
-
props["
|
|
4904
|
-
"
|
|
5120
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_"
|
|
5121
|
+
"next_token"] = jsi::Function::createFromHostFunction(
|
|
4905
5122
|
rt,
|
|
4906
5123
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4907
|
-
"
|
|
5124
|
+
"method_rustspeechtotextstream_next_token"),
|
|
4908
5125
|
0,
|
|
4909
5126
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4910
5127
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4911
5128
|
return this
|
|
4912
|
-
->
|
|
5129
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token(
|
|
4913
5130
|
rt, thisVal, args, count);
|
|
4914
5131
|
});
|
|
4915
|
-
props["
|
|
4916
|
-
"
|
|
5132
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_"
|
|
5133
|
+
"synthesize"] = jsi::Function::createFromHostFunction(
|
|
4917
5134
|
rt,
|
|
4918
5135
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4919
|
-
"
|
|
5136
|
+
"method_rusttexttospeech_synthesize"),
|
|
4920
5137
|
0,
|
|
4921
5138
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4922
5139
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4923
5140
|
return this
|
|
4924
|
-
->
|
|
5141
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize(
|
|
4925
5142
|
rt, thisVal, args, count);
|
|
4926
5143
|
});
|
|
4927
|
-
props["
|
|
4928
|
-
"
|
|
5144
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_"
|
|
5145
|
+
"synthesize_async"] = jsi::Function::createFromHostFunction(
|
|
4929
5146
|
rt,
|
|
4930
5147
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4931
|
-
"
|
|
5148
|
+
"method_rusttexttospeech_synthesize_async"),
|
|
4932
5149
|
0,
|
|
4933
5150
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4934
5151
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4935
5152
|
return this
|
|
4936
|
-
->
|
|
5153
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async(
|
|
5154
|
+
rt, thisVal, args, count);
|
|
5155
|
+
});
|
|
5156
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_"
|
|
5157
|
+
"completed"] = jsi::Function::createFromHostFunction(
|
|
5158
|
+
rt,
|
|
5159
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5160
|
+
"method_rusttokenstream_completed"),
|
|
5161
|
+
0,
|
|
5162
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5163
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5164
|
+
return this
|
|
5165
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed(
|
|
5166
|
+
rt, thisVal, args, count);
|
|
5167
|
+
});
|
|
5168
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_"
|
|
5169
|
+
"token"] = jsi::Function::createFromHostFunction(
|
|
5170
|
+
rt,
|
|
5171
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5172
|
+
"method_rusttokenstream_next_token"),
|
|
5173
|
+
0,
|
|
5174
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5175
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5176
|
+
return this
|
|
5177
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_token(
|
|
5178
|
+
rt, thisVal, args, count);
|
|
5179
|
+
});
|
|
5180
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttool_get_schema_"
|
|
5181
|
+
"json"] = jsi::Function::createFromHostFunction(
|
|
5182
|
+
rt,
|
|
5183
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5184
|
+
"method_rusttool_get_schema_json"),
|
|
5185
|
+
0,
|
|
5186
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5187
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5188
|
+
return this
|
|
5189
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttool_get_schema_json(
|
|
4937
5190
|
rt, thisVal, args, count);
|
|
4938
5191
|
});
|
|
4939
5192
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttool_next_pending_"
|
|
@@ -4960,30 +5213,46 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4960
5213
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call(
|
|
4961
5214
|
rt, thisVal, args, count);
|
|
4962
5215
|
});
|
|
4963
|
-
props["
|
|
5216
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5217
|
+
"rustvoiceactivitydetection_finish"] =
|
|
4964
5218
|
jsi::Function::createFromHostFunction(
|
|
4965
5219
|
rt,
|
|
4966
|
-
jsi::PropNameID::forAscii(rt,
|
|
4967
|
-
|
|
5220
|
+
jsi::PropNameID::forAscii(rt,
|
|
5221
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5222
|
+
"method_rustvoiceactivitydetection_finish"),
|
|
4968
5223
|
0,
|
|
4969
5224
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4970
5225
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4971
5226
|
return this
|
|
4972
|
-
->
|
|
5227
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish(
|
|
4973
5228
|
rt, thisVal, args, count);
|
|
4974
5229
|
});
|
|
4975
|
-
props["
|
|
4976
|
-
"
|
|
5230
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5231
|
+
"rustvoiceactivitydetection_push"] = jsi::Function::createFromHostFunction(
|
|
4977
5232
|
rt,
|
|
4978
5233
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4979
|
-
"
|
|
5234
|
+
"method_rustvoiceactivitydetection_push"),
|
|
4980
5235
|
0,
|
|
4981
5236
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4982
5237
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4983
5238
|
return this
|
|
4984
|
-
->
|
|
5239
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push(
|
|
4985
5240
|
rt, thisVal, args, count);
|
|
4986
5241
|
});
|
|
5242
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5243
|
+
"rustvoiceactivitydetection_segment"] =
|
|
5244
|
+
jsi::Function::createFromHostFunction(
|
|
5245
|
+
rt,
|
|
5246
|
+
jsi::PropNameID::forAscii(
|
|
5247
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5248
|
+
"rustvoiceactivitydetection_segment"),
|
|
5249
|
+
0,
|
|
5250
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5251
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5252
|
+
return this
|
|
5253
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment(
|
|
5254
|
+
rt, thisVal, args, count);
|
|
5255
|
+
});
|
|
4987
5256
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist"] =
|
|
4988
5257
|
jsi::Function::createFromHostFunction(
|
|
4989
5258
|
rt,
|
|
@@ -5201,19 +5470,30 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5201
5470
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new(
|
|
5202
5471
|
rt, thisVal, args, count);
|
|
5203
5472
|
});
|
|
5204
|
-
props["
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5473
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_"
|
|
5474
|
+
"new"] = jsi::Function::createFromHostFunction(
|
|
5475
|
+
rt,
|
|
5476
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5477
|
+
"constructor_rustspeechtotext_new"),
|
|
5478
|
+
0,
|
|
5479
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5480
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5481
|
+
return this
|
|
5482
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new(
|
|
5483
|
+
rt, thisVal, args, count);
|
|
5484
|
+
});
|
|
5485
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_"
|
|
5486
|
+
"new"] = jsi::Function::createFromHostFunction(
|
|
5487
|
+
rt,
|
|
5488
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5489
|
+
"constructor_rusttexttospeech_new"),
|
|
5490
|
+
0,
|
|
5491
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5492
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5493
|
+
return this
|
|
5494
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new(
|
|
5495
|
+
rt, thisVal, args, count);
|
|
5496
|
+
});
|
|
5217
5497
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new"] =
|
|
5218
5498
|
jsi::Function::createFromHostFunction(
|
|
5219
5499
|
rt,
|
|
@@ -5239,19 +5519,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5239
5519
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async(
|
|
5240
5520
|
rt, thisVal, args, count);
|
|
5241
5521
|
});
|
|
5242
|
-
props["
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5522
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_"
|
|
5523
|
+
"rustvoiceactivitydetection_new"] = jsi::Function::createFromHostFunction(
|
|
5524
|
+
rt,
|
|
5525
|
+
jsi::PropNameID::forAscii(rt,
|
|
5526
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5527
|
+
"constructor_rustvoiceactivitydetection_new"),
|
|
5528
|
+
0,
|
|
5529
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5530
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5531
|
+
return this
|
|
5532
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new(
|
|
5533
|
+
rt, thisVal, args, count);
|
|
5534
|
+
});
|
|
5255
5535
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_"
|
|
5256
5536
|
"new"] = jsi::Function::createFromHostFunction(
|
|
5257
5537
|
rt,
|
|
@@ -5363,28 +5643,41 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5363
5643
|
->cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
5364
5644
|
rt, thisVal, args, count);
|
|
5365
5645
|
});
|
|
5366
|
-
props["
|
|
5646
|
+
props["ubrn_uniffi_internal_fn_method_rustspeechtotext_ffi__bless_pointer"] =
|
|
5367
5647
|
jsi::Function::createFromHostFunction(
|
|
5368
5648
|
rt,
|
|
5369
|
-
jsi::PropNameID::forAscii(
|
|
5370
|
-
|
|
5649
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_"
|
|
5650
|
+
"rustspeechtotext_ffi__bless_pointer"),
|
|
5371
5651
|
1,
|
|
5372
5652
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5373
5653
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5374
5654
|
return this
|
|
5375
|
-
->
|
|
5655
|
+
->cpp_uniffi_internal_fn_method_rustspeechtotext_ffi__bless_pointer(
|
|
5376
5656
|
rt, thisVal, args, count);
|
|
5377
5657
|
});
|
|
5378
|
-
props["
|
|
5658
|
+
props["ubrn_uniffi_internal_fn_method_rustspeechtotextstream_ffi__bless_"
|
|
5659
|
+
"pointer"] = jsi::Function::createFromHostFunction(
|
|
5660
|
+
rt,
|
|
5661
|
+
jsi::PropNameID::forAscii(rt,
|
|
5662
|
+
"ubrn_uniffi_internal_fn_method_"
|
|
5663
|
+
"rustspeechtotextstream_ffi__bless_pointer"),
|
|
5664
|
+
1,
|
|
5665
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5666
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5667
|
+
return this
|
|
5668
|
+
->cpp_uniffi_internal_fn_method_rustspeechtotextstream_ffi__bless_pointer(
|
|
5669
|
+
rt, thisVal, args, count);
|
|
5670
|
+
});
|
|
5671
|
+
props["ubrn_uniffi_internal_fn_method_rusttexttospeech_ffi__bless_pointer"] =
|
|
5379
5672
|
jsi::Function::createFromHostFunction(
|
|
5380
5673
|
rt,
|
|
5381
5674
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_"
|
|
5382
|
-
"
|
|
5675
|
+
"rusttexttospeech_ffi__bless_pointer"),
|
|
5383
5676
|
1,
|
|
5384
5677
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5385
5678
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5386
5679
|
return this
|
|
5387
|
-
->
|
|
5680
|
+
->cpp_uniffi_internal_fn_method_rusttexttospeech_ffi__bless_pointer(
|
|
5388
5681
|
rt, thisVal, args, count);
|
|
5389
5682
|
});
|
|
5390
5683
|
props["ubrn_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer"] =
|
|
@@ -5411,18 +5704,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5411
5704
|
->cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
5412
5705
|
rt, thisVal, args, count);
|
|
5413
5706
|
});
|
|
5414
|
-
props["
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5707
|
+
props["ubrn_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__bless_"
|
|
5708
|
+
"pointer"] = jsi::Function::createFromHostFunction(
|
|
5709
|
+
rt,
|
|
5710
|
+
jsi::PropNameID::forAscii(
|
|
5711
|
+
rt, "ubrn_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__"
|
|
5712
|
+
"bless_pointer"),
|
|
5713
|
+
1,
|
|
5714
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5715
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5716
|
+
return this
|
|
5717
|
+
->cpp_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__bless_pointer(
|
|
5718
|
+
rt, thisVal, args, count);
|
|
5719
|
+
});
|
|
5426
5720
|
props["ubrn_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer"] =
|
|
5427
5721
|
jsi::Function::createFromHostFunction(
|
|
5428
5722
|
rt,
|
|
@@ -5585,30 +5879,45 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
|
5585
5879
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5586
5880
|
return jsi::Value(rt, obj);
|
|
5587
5881
|
}
|
|
5588
|
-
jsi::Value
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5882
|
+
jsi::Value NativeNobodywho::
|
|
5883
|
+
cpp_uniffi_internal_fn_method_rustspeechtotext_ffi__bless_pointer(
|
|
5884
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5885
|
+
size_t count) {
|
|
5592
5886
|
auto pointer =
|
|
5593
5887
|
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5594
5888
|
auto static destructor = [](uint64_t p) {
|
|
5595
5889
|
RustCallStatus status = {0};
|
|
5596
|
-
|
|
5890
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(p, &status);
|
|
5597
5891
|
};
|
|
5598
5892
|
auto ptrObj =
|
|
5599
5893
|
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
5600
5894
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5601
5895
|
return jsi::Value(rt, obj);
|
|
5602
5896
|
}
|
|
5603
|
-
jsi::Value
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5897
|
+
jsi::Value NativeNobodywho::
|
|
5898
|
+
cpp_uniffi_internal_fn_method_rustspeechtotextstream_ffi__bless_pointer(
|
|
5899
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5900
|
+
size_t count) {
|
|
5607
5901
|
auto pointer =
|
|
5608
5902
|
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5609
5903
|
auto static destructor = [](uint64_t p) {
|
|
5610
5904
|
RustCallStatus status = {0};
|
|
5611
|
-
|
|
5905
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(p, &status);
|
|
5906
|
+
};
|
|
5907
|
+
auto ptrObj =
|
|
5908
|
+
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
5909
|
+
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5910
|
+
return jsi::Value(rt, obj);
|
|
5911
|
+
}
|
|
5912
|
+
jsi::Value NativeNobodywho::
|
|
5913
|
+
cpp_uniffi_internal_fn_method_rusttexttospeech_ffi__bless_pointer(
|
|
5914
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5915
|
+
size_t count) {
|
|
5916
|
+
auto pointer =
|
|
5917
|
+
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5918
|
+
auto static destructor = [](uint64_t p) {
|
|
5919
|
+
RustCallStatus status = {0};
|
|
5920
|
+
uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(p, &status);
|
|
5612
5921
|
};
|
|
5613
5922
|
auto ptrObj =
|
|
5614
5923
|
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
@@ -5645,15 +5954,15 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
|
5645
5954
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5646
5955
|
return jsi::Value(rt, obj);
|
|
5647
5956
|
}
|
|
5648
|
-
jsi::Value
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5957
|
+
jsi::Value NativeNobodywho::
|
|
5958
|
+
cpp_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__bless_pointer(
|
|
5959
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5960
|
+
size_t count) {
|
|
5652
5961
|
auto pointer =
|
|
5653
5962
|
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5654
5963
|
auto static destructor = [](uint64_t p) {
|
|
5655
5964
|
RustCallStatus status = {0};
|
|
5656
|
-
|
|
5965
|
+
uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(p, &status);
|
|
5657
5966
|
};
|
|
5658
5967
|
auto ptrObj =
|
|
5659
5968
|
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
@@ -5735,6 +6044,8 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new(
|
|
|
5735
6044
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
5736
6045
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
5737
6046
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
6047
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
|
|
6048
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
|
|
5738
6049
|
&status);
|
|
5739
6050
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
5740
6051
|
rt, callInvoker, status, args[count - 1]);
|
|
@@ -5849,6 +6160,17 @@ jsi::Value NativeNobodywho::
|
|
|
5849
6160
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5850
6161
|
value);
|
|
5851
6162
|
}
|
|
6163
|
+
jsi::Value NativeNobodywho::
|
|
6164
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
|
|
6165
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6166
|
+
size_t count) {
|
|
6167
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
|
|
6168
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6169
|
+
args[0]));
|
|
6170
|
+
|
|
6171
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6172
|
+
value);
|
|
6173
|
+
}
|
|
5852
6174
|
jsi::Value
|
|
5853
6175
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_reset_context(
|
|
5854
6176
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6117,6 +6439,19 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
|
6117
6439
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6118
6440
|
value);
|
|
6119
6441
|
}
|
|
6442
|
+
jsi::Value
|
|
6443
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
6444
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6445
|
+
size_t count) {
|
|
6446
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
6447
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6448
|
+
args[0]),
|
|
6449
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6450
|
+
args[1]));
|
|
6451
|
+
|
|
6452
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6453
|
+
value);
|
|
6454
|
+
}
|
|
6120
6455
|
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
6121
6456
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6122
6457
|
size_t count) {
|
|
@@ -6161,12 +6496,13 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
|
6161
6496
|
|
|
6162
6497
|
return uniffi_jsi::Bridging<uint32_t>::toJs(rt, callInvoker, value);
|
|
6163
6498
|
}
|
|
6164
|
-
jsi::Value
|
|
6499
|
+
jsi::Value
|
|
6500
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
6165
6501
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6166
6502
|
size_t count) {
|
|
6167
6503
|
RustCallStatus status =
|
|
6168
6504
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6169
|
-
auto value =
|
|
6505
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
6170
6506
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6171
6507
|
args[0]),
|
|
6172
6508
|
&status);
|
|
@@ -6176,12 +6512,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststt(
|
|
|
6176
6512
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6177
6513
|
value);
|
|
6178
6514
|
}
|
|
6179
|
-
jsi::Value
|
|
6515
|
+
jsi::Value
|
|
6516
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
6180
6517
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6181
6518
|
size_t count) {
|
|
6182
6519
|
RustCallStatus status =
|
|
6183
6520
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6184
|
-
|
|
6521
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
6185
6522
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6186
6523
|
args[0]),
|
|
6187
6524
|
&status);
|
|
@@ -6190,13 +6527,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststt(
|
|
|
6190
6527
|
|
|
6191
6528
|
return jsi::Value::undefined();
|
|
6192
6529
|
}
|
|
6193
|
-
jsi::Value
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6530
|
+
jsi::Value NativeNobodywho::
|
|
6531
|
+
cpp_uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
6532
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6533
|
+
size_t count) {
|
|
6197
6534
|
RustCallStatus status =
|
|
6198
6535
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6199
|
-
auto value =
|
|
6536
|
+
auto value = uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
6200
6537
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6201
6538
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6202
6539
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
@@ -6207,16 +6544,54 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
|
|
|
6207
6544
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6208
6545
|
value);
|
|
6209
6546
|
}
|
|
6547
|
+
jsi::Value NativeNobodywho::
|
|
6548
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
6549
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6550
|
+
size_t count) {
|
|
6551
|
+
RustCallStatus status =
|
|
6552
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6553
|
+
auto value =
|
|
6554
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
6555
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6556
|
+
args[0]),
|
|
6557
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6558
|
+
args[1]),
|
|
6559
|
+
&status);
|
|
6560
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6561
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6562
|
+
|
|
6563
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6564
|
+
value);
|
|
6565
|
+
}
|
|
6566
|
+
jsi::Value NativeNobodywho::
|
|
6567
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
6568
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6569
|
+
size_t count) {
|
|
6570
|
+
RustCallStatus status =
|
|
6571
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6572
|
+
auto value =
|
|
6573
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
6574
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6575
|
+
args[0]),
|
|
6576
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6577
|
+
args[1]),
|
|
6578
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
|
|
6579
|
+
&status);
|
|
6580
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6581
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6582
|
+
|
|
6583
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6584
|
+
value);
|
|
6585
|
+
}
|
|
6210
6586
|
jsi::Value
|
|
6211
|
-
NativeNobodywho::
|
|
6587
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
6212
6588
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6213
6589
|
size_t count) {
|
|
6214
6590
|
RustCallStatus status =
|
|
6215
6591
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6216
|
-
auto value =
|
|
6592
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
6217
6593
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6218
6594
|
args[0]),
|
|
6219
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6220
6595
|
&status);
|
|
6221
6596
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6222
6597
|
rt, callInvoker, status, args[count - 1]);
|
|
@@ -6225,29 +6600,51 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
|
|
|
6225
6600
|
value);
|
|
6226
6601
|
}
|
|
6227
6602
|
jsi::Value
|
|
6228
|
-
NativeNobodywho::
|
|
6603
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
6229
6604
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6230
6605
|
size_t count) {
|
|
6231
6606
|
RustCallStatus status =
|
|
6232
6607
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6233
|
-
|
|
6608
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
6234
6609
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6235
6610
|
args[0]),
|
|
6236
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6237
|
-
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
|
|
6238
6611
|
&status);
|
|
6239
6612
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6240
6613
|
rt, callInvoker, status, args[count - 1]);
|
|
6241
6614
|
|
|
6615
|
+
return jsi::Value::undefined();
|
|
6616
|
+
}
|
|
6617
|
+
jsi::Value NativeNobodywho::
|
|
6618
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
6619
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6620
|
+
size_t count) {
|
|
6621
|
+
auto value =
|
|
6622
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
6623
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6624
|
+
args[0]));
|
|
6625
|
+
|
|
6626
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6627
|
+
value);
|
|
6628
|
+
}
|
|
6629
|
+
jsi::Value NativeNobodywho::
|
|
6630
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
6631
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6632
|
+
size_t count) {
|
|
6633
|
+
auto value =
|
|
6634
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
6635
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6636
|
+
args[0]));
|
|
6637
|
+
|
|
6242
6638
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6243
6639
|
value);
|
|
6244
6640
|
}
|
|
6245
|
-
jsi::Value
|
|
6641
|
+
jsi::Value
|
|
6642
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
6246
6643
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6247
6644
|
size_t count) {
|
|
6248
6645
|
RustCallStatus status =
|
|
6249
6646
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6250
|
-
auto value =
|
|
6647
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
6251
6648
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6252
6649
|
args[0]),
|
|
6253
6650
|
&status);
|
|
@@ -6257,12 +6654,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
|
|
|
6257
6654
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6258
6655
|
value);
|
|
6259
6656
|
}
|
|
6260
|
-
jsi::Value
|
|
6657
|
+
jsi::Value
|
|
6658
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
6261
6659
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6262
6660
|
size_t count) {
|
|
6263
6661
|
RustCallStatus status =
|
|
6264
6662
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6265
|
-
|
|
6663
|
+
uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
6266
6664
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6267
6665
|
args[0]),
|
|
6268
6666
|
&status);
|
|
@@ -6271,24 +6669,58 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststtstream(
|
|
|
6271
6669
|
|
|
6272
6670
|
return jsi::Value::undefined();
|
|
6273
6671
|
}
|
|
6274
|
-
jsi::Value
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6672
|
+
jsi::Value NativeNobodywho::
|
|
6673
|
+
cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
6674
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6675
|
+
size_t count) {
|
|
6676
|
+
RustCallStatus status =
|
|
6677
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6678
|
+
auto value = uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
6679
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6680
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6681
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
6682
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
6683
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
6684
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
6685
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
|
|
6686
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
|
|
6687
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[8]),
|
|
6688
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[9]),
|
|
6689
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6690
|
+
args[10]),
|
|
6691
|
+
&status);
|
|
6692
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6693
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6281
6694
|
|
|
6282
6695
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6283
6696
|
value);
|
|
6284
6697
|
}
|
|
6285
|
-
jsi::Value
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6698
|
+
jsi::Value NativeNobodywho::
|
|
6699
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
6700
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6701
|
+
size_t count) {
|
|
6702
|
+
RustCallStatus status =
|
|
6703
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6704
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
6290
6705
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6291
|
-
args[0])
|
|
6706
|
+
args[0]),
|
|
6707
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6708
|
+
&status);
|
|
6709
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6710
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6711
|
+
|
|
6712
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6713
|
+
}
|
|
6714
|
+
jsi::Value NativeNobodywho::
|
|
6715
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
6716
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6717
|
+
size_t count) {
|
|
6718
|
+
auto value =
|
|
6719
|
+
uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
6720
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6721
|
+
args[0]),
|
|
6722
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6723
|
+
args[1]));
|
|
6292
6724
|
|
|
6293
6725
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6294
6726
|
value);
|
|
@@ -6452,12 +6884,13 @@ jsi::Value NativeNobodywho::
|
|
|
6452
6884
|
|
|
6453
6885
|
return jsi::Value::undefined();
|
|
6454
6886
|
}
|
|
6455
|
-
jsi::Value NativeNobodywho::
|
|
6456
|
-
|
|
6457
|
-
|
|
6887
|
+
jsi::Value NativeNobodywho::
|
|
6888
|
+
cpp_uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
6889
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6890
|
+
size_t count) {
|
|
6458
6891
|
RustCallStatus status =
|
|
6459
6892
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6460
|
-
auto value =
|
|
6893
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
6461
6894
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6462
6895
|
args[0]),
|
|
6463
6896
|
&status);
|
|
@@ -6467,12 +6900,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
|
6467
6900
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6468
6901
|
value);
|
|
6469
6902
|
}
|
|
6470
|
-
jsi::Value
|
|
6903
|
+
jsi::Value
|
|
6904
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
6471
6905
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6472
6906
|
size_t count) {
|
|
6473
6907
|
RustCallStatus status =
|
|
6474
6908
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6475
|
-
|
|
6909
|
+
uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
6476
6910
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6477
6911
|
args[0]),
|
|
6478
6912
|
&status);
|
|
@@ -6481,56 +6915,85 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
|
6481
6915
|
|
|
6482
6916
|
return jsi::Value::undefined();
|
|
6483
6917
|
}
|
|
6484
|
-
jsi::Value
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6918
|
+
jsi::Value NativeNobodywho::
|
|
6919
|
+
cpp_uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
6920
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6921
|
+
size_t count) {
|
|
6488
6922
|
RustCallStatus status =
|
|
6489
6923
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6490
|
-
auto value =
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6924
|
+
auto value =
|
|
6925
|
+
uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
6926
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6927
|
+
args[0]),
|
|
6928
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]),
|
|
6929
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6930
|
+
args[2]),
|
|
6931
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6932
|
+
args[3]),
|
|
6933
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6934
|
+
args[4]),
|
|
6935
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6936
|
+
args[5]),
|
|
6937
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6938
|
+
args[6]),
|
|
6939
|
+
&status);
|
|
6500
6940
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6501
6941
|
rt, callInvoker, status, args[count - 1]);
|
|
6502
6942
|
|
|
6503
6943
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6504
6944
|
value);
|
|
6505
6945
|
}
|
|
6506
|
-
jsi::Value
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6946
|
+
jsi::Value NativeNobodywho::
|
|
6947
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
6948
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6949
|
+
size_t count) {
|
|
6510
6950
|
RustCallStatus status =
|
|
6511
6951
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6512
|
-
auto value =
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6952
|
+
auto value =
|
|
6953
|
+
uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
6954
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6955
|
+
args[0]),
|
|
6956
|
+
&status);
|
|
6517
6957
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6518
6958
|
rt, callInvoker, status, args[count - 1]);
|
|
6519
6959
|
|
|
6520
6960
|
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6521
6961
|
}
|
|
6522
|
-
jsi::Value
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
6962
|
+
jsi::Value NativeNobodywho::
|
|
6963
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
6964
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6965
|
+
size_t count) {
|
|
6966
|
+
RustCallStatus status =
|
|
6967
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6968
|
+
auto value =
|
|
6969
|
+
uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
6970
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6971
|
+
args[0]),
|
|
6972
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6973
|
+
args[1]),
|
|
6974
|
+
&status);
|
|
6975
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6976
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6531
6977
|
|
|
6532
|
-
return
|
|
6533
|
-
|
|
6978
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6979
|
+
}
|
|
6980
|
+
jsi::Value NativeNobodywho::
|
|
6981
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
6982
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6983
|
+
size_t count) {
|
|
6984
|
+
RustCallStatus status =
|
|
6985
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6986
|
+
auto value =
|
|
6987
|
+
uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
6988
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6989
|
+
args[0]),
|
|
6990
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6991
|
+
args[1]),
|
|
6992
|
+
&status);
|
|
6993
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6994
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6995
|
+
|
|
6996
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6534
6997
|
}
|
|
6535
6998
|
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
|
|
6536
6999
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6957,16 +7420,31 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
|
6957
7420
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6958
7421
|
uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[1]),
|
|
6959
7422
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
7423
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
7424
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7425
|
+
args[4]));
|
|
7426
|
+
|
|
7427
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7428
|
+
value);
|
|
7429
|
+
}
|
|
7430
|
+
jsi::Value
|
|
7431
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
7432
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7433
|
+
size_t count) {
|
|
7434
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
7435
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
7436
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6960
7437
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6961
|
-
args[
|
|
7438
|
+
args[2]));
|
|
6962
7439
|
|
|
6963
7440
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6964
7441
|
value);
|
|
6965
7442
|
}
|
|
6966
|
-
jsi::Value
|
|
7443
|
+
jsi::Value
|
|
7444
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
6967
7445
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6968
7446
|
size_t count) {
|
|
6969
|
-
auto value =
|
|
7447
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
6970
7448
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6971
7449
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6972
7450
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
@@ -6974,8 +7452,28 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_tts(
|
|
|
6974
7452
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
6975
7453
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
6976
7454
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
|
|
7455
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
|
|
7456
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[8]),
|
|
7457
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[9]),
|
|
7458
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7459
|
+
args[10]));
|
|
7460
|
+
|
|
7461
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7462
|
+
value);
|
|
7463
|
+
}
|
|
7464
|
+
jsi::Value NativeNobodywho::
|
|
7465
|
+
cpp_uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
7466
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7467
|
+
size_t count) {
|
|
7468
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
7469
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
7470
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]),
|
|
7471
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
7472
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
7473
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
7474
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
6977
7475
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6978
|
-
args[
|
|
7476
|
+
args[6]));
|
|
6979
7477
|
|
|
6980
7478
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6981
7479
|
value);
|
|
@@ -7716,10 +8214,28 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
|
7716
8214
|
|
|
7717
8215
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7718
8216
|
}
|
|
7719
|
-
jsi::Value
|
|
8217
|
+
jsi::Value
|
|
8218
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text(
|
|
8219
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8220
|
+
size_t count) {
|
|
8221
|
+
auto value = uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text();
|
|
8222
|
+
|
|
8223
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8224
|
+
}
|
|
8225
|
+
jsi::Value
|
|
8226
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech(
|
|
7720
8227
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7721
8228
|
size_t count) {
|
|
7722
|
-
auto value =
|
|
8229
|
+
auto value = uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech();
|
|
8230
|
+
|
|
8231
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8232
|
+
}
|
|
8233
|
+
jsi::Value NativeNobodywho::
|
|
8234
|
+
cpp_uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection(
|
|
8235
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8236
|
+
size_t count) {
|
|
8237
|
+
auto value =
|
|
8238
|
+
uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection();
|
|
7723
8239
|
|
|
7724
8240
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7725
8241
|
}
|
|
@@ -7885,6 +8401,15 @@ jsi::Value NativeNobodywho::
|
|
|
7885
8401
|
|
|
7886
8402
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7887
8403
|
}
|
|
8404
|
+
jsi::Value NativeNobodywho::
|
|
8405
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate(
|
|
8406
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8407
|
+
size_t count) {
|
|
8408
|
+
auto value =
|
|
8409
|
+
uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate();
|
|
8410
|
+
|
|
8411
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8412
|
+
}
|
|
7888
8413
|
jsi::Value NativeNobodywho::
|
|
7889
8414
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_context(
|
|
7890
8415
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7996,6 +8521,15 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
|
7996
8521
|
|
|
7997
8522
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7998
8523
|
}
|
|
8524
|
+
jsi::Value NativeNobodywho::
|
|
8525
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch(
|
|
8526
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8527
|
+
size_t count) {
|
|
8528
|
+
auto value =
|
|
8529
|
+
uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch();
|
|
8530
|
+
|
|
8531
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8532
|
+
}
|
|
7999
8533
|
jsi::Value
|
|
8000
8534
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
8001
8535
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8005,37 +8539,56 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
|
8005
8539
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8006
8540
|
}
|
|
8007
8541
|
jsi::Value NativeNobodywho::
|
|
8008
|
-
|
|
8542
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file(
|
|
8543
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8544
|
+
size_t count) {
|
|
8545
|
+
auto value =
|
|
8546
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file();
|
|
8547
|
+
|
|
8548
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8549
|
+
}
|
|
8550
|
+
jsi::Value NativeNobodywho::
|
|
8551
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm(
|
|
8009
8552
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8010
8553
|
size_t count) {
|
|
8011
8554
|
auto value =
|
|
8012
|
-
|
|
8555
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm();
|
|
8013
8556
|
|
|
8014
8557
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8015
8558
|
}
|
|
8016
8559
|
jsi::Value NativeNobodywho::
|
|
8017
|
-
|
|
8560
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed(
|
|
8018
8561
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8019
8562
|
size_t count) {
|
|
8020
|
-
auto value =
|
|
8563
|
+
auto value =
|
|
8564
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed();
|
|
8021
8565
|
|
|
8022
8566
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8023
8567
|
}
|
|
8024
8568
|
jsi::Value NativeNobodywho::
|
|
8025
|
-
|
|
8569
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token(
|
|
8026
8570
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8027
8571
|
size_t count) {
|
|
8028
8572
|
auto value =
|
|
8029
|
-
|
|
8573
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token();
|
|
8030
8574
|
|
|
8031
8575
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8032
8576
|
}
|
|
8033
8577
|
jsi::Value NativeNobodywho::
|
|
8034
|
-
|
|
8578
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize(
|
|
8035
8579
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8036
8580
|
size_t count) {
|
|
8037
8581
|
auto value =
|
|
8038
|
-
|
|
8582
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize();
|
|
8583
|
+
|
|
8584
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8585
|
+
}
|
|
8586
|
+
jsi::Value NativeNobodywho::
|
|
8587
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async(
|
|
8588
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8589
|
+
size_t count) {
|
|
8590
|
+
auto value =
|
|
8591
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async();
|
|
8039
8592
|
|
|
8040
8593
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8041
8594
|
}
|
|
@@ -8084,20 +8637,30 @@ jsi::Value NativeNobodywho::
|
|
|
8084
8637
|
|
|
8085
8638
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8086
8639
|
}
|
|
8087
|
-
jsi::Value
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
auto value =
|
|
8640
|
+
jsi::Value NativeNobodywho::
|
|
8641
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish(
|
|
8642
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8643
|
+
size_t count) {
|
|
8644
|
+
auto value =
|
|
8645
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish();
|
|
8646
|
+
|
|
8647
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8648
|
+
}
|
|
8649
|
+
jsi::Value NativeNobodywho::
|
|
8650
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push(
|
|
8651
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8652
|
+
size_t count) {
|
|
8653
|
+
auto value =
|
|
8654
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push();
|
|
8092
8655
|
|
|
8093
8656
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8094
8657
|
}
|
|
8095
8658
|
jsi::Value NativeNobodywho::
|
|
8096
|
-
|
|
8659
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment(
|
|
8097
8660
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8098
8661
|
size_t count) {
|
|
8099
8662
|
auto value =
|
|
8100
|
-
|
|
8663
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment();
|
|
8101
8664
|
|
|
8102
8665
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8103
8666
|
}
|
|
@@ -8251,11 +8814,21 @@ jsi::Value NativeNobodywho::
|
|
|
8251
8814
|
|
|
8252
8815
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8253
8816
|
}
|
|
8254
|
-
jsi::Value
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
auto value =
|
|
8817
|
+
jsi::Value NativeNobodywho::
|
|
8818
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new(
|
|
8819
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8820
|
+
size_t count) {
|
|
8821
|
+
auto value =
|
|
8822
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new();
|
|
8823
|
+
|
|
8824
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8825
|
+
}
|
|
8826
|
+
jsi::Value NativeNobodywho::
|
|
8827
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new(
|
|
8828
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8829
|
+
size_t count) {
|
|
8830
|
+
auto value =
|
|
8831
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new();
|
|
8259
8832
|
|
|
8260
8833
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8261
8834
|
}
|
|
@@ -8276,11 +8849,12 @@ jsi::Value NativeNobodywho::
|
|
|
8276
8849
|
|
|
8277
8850
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8278
8851
|
}
|
|
8279
|
-
jsi::Value
|
|
8280
|
-
|
|
8281
|
-
|
|
8282
|
-
|
|
8283
|
-
auto value =
|
|
8852
|
+
jsi::Value NativeNobodywho::
|
|
8853
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new(
|
|
8854
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8855
|
+
size_t count) {
|
|
8856
|
+
auto value =
|
|
8857
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new();
|
|
8284
8858
|
|
|
8285
8859
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8286
8860
|
}
|