react-native-nobodywho 2.5.0 → 4.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/README.md +113 -7
- package/android/build.gradle +5 -1
- package/generated/cpp/nobodywho.cpp +1050 -315
- package/generated/cpp/nobodywho.hpp +127 -27
- package/generated/ts/nobodywho-ffi.ts +52 -27
- package/generated/ts/nobodywho.ts +1240 -499
- package/package.json +7 -3
- package/src/chat.ts +35 -0
- package/src/encoder.ts +5 -0
- package/src/message.ts +91 -24
- package/src/prompt.ts +8 -8
- package/src/{stt.ts → speech_to_text.ts} +17 -9
- package/src/{tts.ts → text_to_speech.ts} +20 -20
- package/src/vad.ts +104 -0
- package/src/wrapper.ts +11 -8
|
@@ -128,6 +128,9 @@ uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
|
|
|
128
128
|
/*handle*/ uint64_t ptr, RustBuffer json, RustCallStatus *uniffi_out_err);
|
|
129
129
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
|
|
130
130
|
/*handle*/ uint64_t ptr, RustBuffer parts, RustCallStatus *uniffi_out_err);
|
|
131
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_complete(
|
|
132
|
+
/*handle*/ uint64_t ptr, RustBuffer messages, RustBuffer options,
|
|
133
|
+
RustCallStatus *uniffi_out_err);
|
|
131
134
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_get_chat_history(
|
|
132
135
|
/*handle*/ uint64_t ptr);
|
|
133
136
|
/*handle*/ uint64_t
|
|
@@ -190,32 +193,53 @@ void uniffi_nobodywho_uniffi_fn_free_rustencoder(
|
|
|
190
193
|
RustCallStatus *uniffi_out_err);
|
|
191
194
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
192
195
|
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
196
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
197
|
+
/*handle*/ uint64_t ptr, RustBuffer texts);
|
|
193
198
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
194
199
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
195
200
|
void uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
196
201
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
197
202
|
uint32_t uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
198
203
|
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
199
|
-
/*handle*/ uint64_t
|
|
204
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
200
205
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
201
|
-
void
|
|
206
|
+
void uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
202
207
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
203
|
-
/*handle*/ uint64_t
|
|
208
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
204
209
|
RustBuffer source, RustBuffer language, RustBuffer quantization,
|
|
205
210
|
RustCallStatus *uniffi_out_err);
|
|
206
|
-
/*handle*/ uint64_t
|
|
211
|
+
/*handle*/ uint64_t
|
|
212
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
207
213
|
/*handle*/ uint64_t ptr, RustBuffer path, RustCallStatus *uniffi_out_err);
|
|
208
|
-
/*handle*/ uint64_t
|
|
214
|
+
/*handle*/ uint64_t
|
|
215
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
209
216
|
/*handle*/ uint64_t ptr, RustBuffer samples, uint32_t sample_rate,
|
|
210
217
|
RustCallStatus *uniffi_out_err);
|
|
211
|
-
/*handle*/ uint64_t
|
|
218
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
212
219
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
213
|
-
void
|
|
220
|
+
void uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
214
221
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
215
|
-
/*handle*/ uint64_t
|
|
222
|
+
/*handle*/ uint64_t
|
|
223
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
216
224
|
/*handle*/ uint64_t ptr);
|
|
217
|
-
/*handle*/ uint64_t
|
|
225
|
+
/*handle*/ uint64_t
|
|
226
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
218
227
|
/*handle*/ uint64_t ptr);
|
|
228
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
229
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
230
|
+
void uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
231
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
232
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
233
|
+
RustBuffer source, RustBuffer architecture, RustBuffer voice,
|
|
234
|
+
RustBuffer language, RustBuffer speed, RustBuffer steps,
|
|
235
|
+
RustBuffer silence_duration, RustBuffer precision, RustBuffer temperature,
|
|
236
|
+
RustBuffer huggingface_token, RustBuffer device,
|
|
237
|
+
RustCallStatus *uniffi_out_err);
|
|
238
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
239
|
+
/*handle*/ uint64_t ptr, RustBuffer text, RustCallStatus *uniffi_out_err);
|
|
240
|
+
/*handle*/ uint64_t
|
|
241
|
+
uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
242
|
+
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
219
243
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(
|
|
220
244
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
221
245
|
void uniffi_nobodywho_uniffi_fn_free_rusttokenstream(
|
|
@@ -243,20 +267,23 @@ uniffi_nobodywho_uniffi_fn_method_rusttool_next_pending_call(
|
|
|
243
267
|
void uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
|
|
244
268
|
/*handle*/ uint64_t ptr, RustBuffer call_id, RustBuffer result,
|
|
245
269
|
RustCallStatus *uniffi_out_err);
|
|
246
|
-
/*handle*/ uint64_t
|
|
270
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
247
271
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
248
|
-
void
|
|
272
|
+
void uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
249
273
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
250
|
-
/*handle*/ uint64_t
|
|
251
|
-
|
|
252
|
-
RustBuffer
|
|
253
|
-
RustBuffer
|
|
254
|
-
RustBuffer
|
|
274
|
+
/*handle*/ uint64_t
|
|
275
|
+
uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
276
|
+
RustBuffer source, uint32_t sample_rate, RustBuffer threshold,
|
|
277
|
+
RustBuffer min_silence_duration_ms, RustBuffer min_speech_duration_ms,
|
|
278
|
+
RustBuffer preroll_duration_ms, RustBuffer device,
|
|
279
|
+
RustCallStatus *uniffi_out_err);
|
|
280
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
281
|
+
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
282
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
283
|
+
/*handle*/ uint64_t ptr, RustBuffer chunk, RustCallStatus *uniffi_out_err);
|
|
284
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
285
|
+
/*handle*/ uint64_t ptr, RustBuffer samples,
|
|
255
286
|
RustCallStatus *uniffi_out_err);
|
|
256
|
-
RustBuffer uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
|
|
257
|
-
/*handle*/ uint64_t ptr, RustBuffer text, RustCallStatus *uniffi_out_err);
|
|
258
|
-
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
|
|
259
|
-
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
260
287
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
|
|
261
288
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
262
289
|
void uniffi_nobodywho_uniffi_fn_free_samplerbuilder(
|
|
@@ -269,11 +296,17 @@ void uniffi_nobodywho_uniffi_fn_free_samplerbuilder(
|
|
|
269
296
|
/*handle*/ uint64_t ptr, float multiplier, float base,
|
|
270
297
|
int32_t allowed_length, int32_t penalty_last_n, RustBuffer seq_breakers,
|
|
271
298
|
RustCallStatus *uniffi_out_err);
|
|
299
|
+
/*handle*/ uint64_t
|
|
300
|
+
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
|
|
301
|
+
/*handle*/ uint64_t ptr, float temperature, float delta, float exponent,
|
|
302
|
+
RustCallStatus *uniffi_out_err);
|
|
272
303
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar(
|
|
273
304
|
/*handle*/ uint64_t ptr, RustBuffer grammar, RustBuffer trigger_on,
|
|
274
305
|
RustBuffer root, RustCallStatus *uniffi_out_err);
|
|
275
306
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
|
|
276
307
|
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
308
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias(
|
|
309
|
+
/*handle*/ uint64_t ptr, RustBuffer biases, RustCallStatus *uniffi_out_err);
|
|
277
310
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_min_p(
|
|
278
311
|
/*handle*/ uint64_t ptr, float min_p, uint32_t min_keep,
|
|
279
312
|
RustCallStatus *uniffi_out_err);
|
|
@@ -295,6 +328,9 @@ uniffi_nobodywho_uniffi_fn_method_samplerbuilder_temperature(
|
|
|
295
328
|
/*handle*/ uint64_t ptr, float temperature, RustCallStatus *uniffi_out_err);
|
|
296
329
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_k(
|
|
297
330
|
/*handle*/ uint64_t ptr, int32_t top_k, RustCallStatus *uniffi_out_err);
|
|
331
|
+
/*handle*/ uint64_t
|
|
332
|
+
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma(
|
|
333
|
+
/*handle*/ uint64_t ptr, float n, RustCallStatus *uniffi_out_err);
|
|
298
334
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_p(
|
|
299
335
|
/*handle*/ uint64_t ptr, float top_p, uint32_t min_keep,
|
|
300
336
|
RustCallStatus *uniffi_out_err);
|
|
@@ -326,12 +362,19 @@ RustBuffer uniffi_nobodywho_uniffi_fn_func_get_cached_models(
|
|
|
326
362
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
327
363
|
RustBuffer model_path, int8_t use_gpu, RustBuffer projection_model_path,
|
|
328
364
|
RustBuffer draft_model_path, RustBuffer on_download_progress);
|
|
329
|
-
/*handle*/ uint64_t
|
|
365
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
366
|
+
RustBuffer source, RustBuffer language, RustBuffer quantization);
|
|
367
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
330
368
|
RustBuffer source, RustBuffer architecture, RustBuffer voice,
|
|
331
369
|
RustBuffer language, RustBuffer speed, RustBuffer steps,
|
|
332
370
|
RustBuffer silence_duration, RustBuffer precision, RustBuffer temperature,
|
|
333
371
|
RustBuffer huggingface_token, RustBuffer device);
|
|
334
372
|
/*handle*/ uint64_t
|
|
373
|
+
uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
374
|
+
RustBuffer source, uint32_t sample_rate, RustBuffer threshold,
|
|
375
|
+
RustBuffer min_silence_duration_ms, RustBuffer min_speech_duration_ms,
|
|
376
|
+
RustBuffer preroll_duration_ms, RustBuffer device);
|
|
377
|
+
/*handle*/ uint64_t
|
|
335
378
|
uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
|
|
336
379
|
RustBuffer grammar, RustCallStatus *uniffi_out_err);
|
|
337
380
|
/*handle*/ uint64_t
|
|
@@ -479,7 +522,9 @@ uint16_t uniffi_nobodywho_uniffi_checksum_func_cosine_similarity();
|
|
|
479
522
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_download_model();
|
|
480
523
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_get_cached_models();
|
|
481
524
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_model();
|
|
482
|
-
uint16_t
|
|
525
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text();
|
|
526
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech();
|
|
527
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection();
|
|
483
528
|
uint16_t
|
|
484
529
|
uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_grammar();
|
|
485
530
|
uint16_t
|
|
@@ -498,6 +543,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask();
|
|
|
498
543
|
uint16_t
|
|
499
544
|
uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt();
|
|
500
545
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt();
|
|
546
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_complete();
|
|
501
547
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_history();
|
|
502
548
|
uint16_t
|
|
503
549
|
uniffi_nobodywho_uniffi_checksum_method_rustchat_get_sampler_config_json();
|
|
@@ -522,23 +568,38 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank();
|
|
|
522
568
|
uint16_t
|
|
523
569
|
uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json();
|
|
524
570
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode();
|
|
571
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch();
|
|
525
572
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx();
|
|
526
|
-
uint16_t
|
|
527
|
-
|
|
528
|
-
uint16_t
|
|
529
|
-
|
|
573
|
+
uint16_t
|
|
574
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file();
|
|
575
|
+
uint16_t
|
|
576
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm();
|
|
577
|
+
uint16_t
|
|
578
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed();
|
|
579
|
+
uint16_t
|
|
580
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token();
|
|
581
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize();
|
|
582
|
+
uint16_t
|
|
583
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async();
|
|
530
584
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed();
|
|
531
585
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_token();
|
|
532
586
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_get_schema_json();
|
|
533
587
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_next_pending_call();
|
|
534
588
|
uint16_t
|
|
535
589
|
uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call();
|
|
536
|
-
uint16_t
|
|
537
|
-
|
|
590
|
+
uint16_t
|
|
591
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish();
|
|
592
|
+
uint16_t
|
|
593
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push();
|
|
594
|
+
uint16_t
|
|
595
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment();
|
|
538
596
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist();
|
|
539
597
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry();
|
|
598
|
+
uint16_t
|
|
599
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature();
|
|
540
600
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar();
|
|
541
601
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy();
|
|
602
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_bias();
|
|
542
603
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_min_p();
|
|
543
604
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_mirostat_v1();
|
|
544
605
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_mirostat_v2();
|
|
@@ -546,6 +607,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_penalties();
|
|
|
546
607
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_seed();
|
|
547
608
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_temperature();
|
|
548
609
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_k();
|
|
610
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_sigma();
|
|
549
611
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_p();
|
|
550
612
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_typical_p();
|
|
551
613
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_xtc();
|
|
@@ -553,10 +615,12 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerconfig_to_json();
|
|
|
553
615
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustchat_new();
|
|
554
616
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustcrossencoder_new();
|
|
555
617
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new();
|
|
556
|
-
uint16_t
|
|
618
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new();
|
|
619
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new();
|
|
557
620
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new();
|
|
558
621
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async();
|
|
559
|
-
uint16_t
|
|
622
|
+
uint16_t
|
|
623
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new();
|
|
560
624
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new();
|
|
561
625
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerconfig_from_json();
|
|
562
626
|
uint16_t
|
|
@@ -2782,6 +2846,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2782
2846
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
|
|
2783
2847
|
rt, thisVal, args, count);
|
|
2784
2848
|
});
|
|
2849
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_complete"] =
|
|
2850
|
+
jsi::Function::createFromHostFunction(
|
|
2851
|
+
rt,
|
|
2852
|
+
jsi::PropNameID::forAscii(
|
|
2853
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_complete"),
|
|
2854
|
+
3,
|
|
2855
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2856
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2857
|
+
return this
|
|
2858
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_complete(
|
|
2859
|
+
rt, thisVal, args, count);
|
|
2860
|
+
});
|
|
2785
2861
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_get_chat_history"] =
|
|
2786
2862
|
jsi::Function::createFromHostFunction(
|
|
2787
2863
|
rt,
|
|
@@ -3082,6 +3158,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3082
3158
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
3083
3159
|
rt, thisVal, args, count);
|
|
3084
3160
|
});
|
|
3161
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch"] =
|
|
3162
|
+
jsi::Function::createFromHostFunction(
|
|
3163
|
+
rt,
|
|
3164
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3165
|
+
"method_rustencoder_encode_batch"),
|
|
3166
|
+
2,
|
|
3167
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3168
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3169
|
+
return this
|
|
3170
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
3171
|
+
rt, thisVal, args, count);
|
|
3172
|
+
});
|
|
3085
3173
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustmodel"] =
|
|
3086
3174
|
jsi::Function::createFromHostFunction(
|
|
3087
3175
|
rt,
|
|
@@ -3116,112 +3204,172 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3116
3204
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
3117
3205
|
rt, thisVal, args, count);
|
|
3118
3206
|
});
|
|
3119
|
-
props["
|
|
3207
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext"] =
|
|
3120
3208
|
jsi::Function::createFromHostFunction(
|
|
3121
3209
|
rt,
|
|
3122
3210
|
jsi::PropNameID::forAscii(
|
|
3123
|
-
rt, "
|
|
3211
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext"),
|
|
3124
3212
|
1,
|
|
3125
3213
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3126
3214
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3127
|
-
return this->
|
|
3215
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
3128
3216
|
rt, thisVal, args, count);
|
|
3129
3217
|
});
|
|
3130
|
-
props["
|
|
3218
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext"] =
|
|
3131
3219
|
jsi::Function::createFromHostFunction(
|
|
3132
3220
|
rt,
|
|
3133
3221
|
jsi::PropNameID::forAscii(
|
|
3134
|
-
rt, "
|
|
3222
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext"),
|
|
3135
3223
|
1,
|
|
3136
3224
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3137
3225
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3138
|
-
return this->
|
|
3226
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
3139
3227
|
rt, thisVal, args, count);
|
|
3140
3228
|
});
|
|
3141
|
-
props["
|
|
3229
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new"] =
|
|
3142
3230
|
jsi::Function::createFromHostFunction(
|
|
3143
3231
|
rt,
|
|
3144
|
-
jsi::PropNameID::forAscii(
|
|
3145
|
-
|
|
3232
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3233
|
+
"constructor_rustspeechtotext_new"),
|
|
3146
3234
|
3,
|
|
3147
3235
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3148
3236
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3149
|
-
return this
|
|
3150
|
-
|
|
3237
|
+
return this
|
|
3238
|
+
->cpp_uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
3239
|
+
rt, thisVal, args, count);
|
|
3151
3240
|
});
|
|
3152
|
-
props["
|
|
3241
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_"
|
|
3242
|
+
"file"] = jsi::Function::createFromHostFunction(
|
|
3243
|
+
rt,
|
|
3244
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3245
|
+
"rustspeechtotext_transcribe_file"),
|
|
3246
|
+
2,
|
|
3247
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3248
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3249
|
+
return this
|
|
3250
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
3251
|
+
rt, thisVal, args, count);
|
|
3252
|
+
});
|
|
3253
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_"
|
|
3254
|
+
"pcm"] = jsi::Function::createFromHostFunction(
|
|
3255
|
+
rt,
|
|
3256
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3257
|
+
"rustspeechtotext_transcribe_pcm"),
|
|
3258
|
+
3,
|
|
3259
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3260
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3261
|
+
return this
|
|
3262
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
3263
|
+
rt, thisVal, args, count);
|
|
3264
|
+
});
|
|
3265
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream"] =
|
|
3153
3266
|
jsi::Function::createFromHostFunction(
|
|
3154
3267
|
rt,
|
|
3155
3268
|
jsi::PropNameID::forAscii(
|
|
3156
3269
|
rt,
|
|
3157
|
-
"
|
|
3158
|
-
|
|
3270
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream"),
|
|
3271
|
+
1,
|
|
3159
3272
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3160
3273
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3161
3274
|
return this
|
|
3162
|
-
->
|
|
3275
|
+
->cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
3163
3276
|
rt, thisVal, args, count);
|
|
3164
3277
|
});
|
|
3165
|
-
props["
|
|
3278
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream"] =
|
|
3166
3279
|
jsi::Function::createFromHostFunction(
|
|
3167
3280
|
rt,
|
|
3168
3281
|
jsi::PropNameID::forAscii(
|
|
3169
3282
|
rt,
|
|
3170
|
-
"
|
|
3171
|
-
|
|
3283
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream"),
|
|
3284
|
+
1,
|
|
3172
3285
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3173
3286
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3174
3287
|
return this
|
|
3175
|
-
->
|
|
3288
|
+
->cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
3176
3289
|
rt, thisVal, args, count);
|
|
3177
3290
|
});
|
|
3178
|
-
props["
|
|
3291
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_"
|
|
3292
|
+
"completed"] = jsi::Function::createFromHostFunction(
|
|
3293
|
+
rt,
|
|
3294
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3295
|
+
"rustspeechtotextstream_completed"),
|
|
3296
|
+
1,
|
|
3297
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3298
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3299
|
+
return this
|
|
3300
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
3301
|
+
rt, thisVal, args, count);
|
|
3302
|
+
});
|
|
3303
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_"
|
|
3304
|
+
"token"] = jsi::Function::createFromHostFunction(
|
|
3305
|
+
rt,
|
|
3306
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3307
|
+
"rustspeechtotextstream_next_token"),
|
|
3308
|
+
1,
|
|
3309
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3310
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3311
|
+
return this
|
|
3312
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
3313
|
+
rt, thisVal, args, count);
|
|
3314
|
+
});
|
|
3315
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech"] =
|
|
3179
3316
|
jsi::Function::createFromHostFunction(
|
|
3180
3317
|
rt,
|
|
3181
3318
|
jsi::PropNameID::forAscii(
|
|
3182
|
-
rt, "
|
|
3319
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech"),
|
|
3183
3320
|
1,
|
|
3184
3321
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3185
3322
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3186
|
-
return this->
|
|
3323
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
3187
3324
|
rt, thisVal, args, count);
|
|
3188
3325
|
});
|
|
3189
|
-
props["
|
|
3326
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech"] =
|
|
3190
3327
|
jsi::Function::createFromHostFunction(
|
|
3191
3328
|
rt,
|
|
3192
3329
|
jsi::PropNameID::forAscii(
|
|
3193
|
-
rt, "
|
|
3330
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech"),
|
|
3194
3331
|
1,
|
|
3195
3332
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3196
3333
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3197
|
-
return this->
|
|
3334
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
3198
3335
|
rt, thisVal, args, count);
|
|
3199
3336
|
});
|
|
3200
|
-
props["
|
|
3337
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new"] =
|
|
3201
3338
|
jsi::Function::createFromHostFunction(
|
|
3202
3339
|
rt,
|
|
3203
|
-
jsi::PropNameID::forAscii(
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
1,
|
|
3340
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3341
|
+
"constructor_rusttexttospeech_new"),
|
|
3342
|
+
11,
|
|
3207
3343
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3208
3344
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3209
3345
|
return this
|
|
3210
|
-
->
|
|
3346
|
+
->cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
3211
3347
|
rt, thisVal, args, count);
|
|
3212
3348
|
});
|
|
3213
|
-
props["
|
|
3349
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize"] =
|
|
3214
3350
|
jsi::Function::createFromHostFunction(
|
|
3215
3351
|
rt,
|
|
3216
3352
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3217
|
-
"
|
|
3218
|
-
|
|
3353
|
+
"method_rusttexttospeech_synthesize"),
|
|
3354
|
+
2,
|
|
3219
3355
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3220
3356
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3221
3357
|
return this
|
|
3222
|
-
->
|
|
3358
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
3223
3359
|
rt, thisVal, args, count);
|
|
3224
3360
|
});
|
|
3361
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_"
|
|
3362
|
+
"async"] = jsi::Function::createFromHostFunction(
|
|
3363
|
+
rt,
|
|
3364
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3365
|
+
"rusttexttospeech_synthesize_async"),
|
|
3366
|
+
2,
|
|
3367
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3368
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3369
|
+
return this
|
|
3370
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
3371
|
+
rt, thisVal, args, count);
|
|
3372
|
+
});
|
|
3225
3373
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream"] =
|
|
3226
3374
|
jsi::Function::createFromHostFunction(
|
|
3227
3375
|
rt,
|
|
@@ -3351,63 +3499,79 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3351
3499
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
|
|
3352
3500
|
rt, thisVal, args, count);
|
|
3353
3501
|
});
|
|
3354
|
-
props["
|
|
3355
|
-
jsi::Function::createFromHostFunction(
|
|
3356
|
-
rt,
|
|
3357
|
-
jsi::PropNameID::forAscii(
|
|
3358
|
-
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttts"),
|
|
3359
|
-
1,
|
|
3360
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3361
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3362
|
-
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
3363
|
-
rt, thisVal, args, count);
|
|
3364
|
-
});
|
|
3365
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rusttts"] =
|
|
3502
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection"] =
|
|
3366
3503
|
jsi::Function::createFromHostFunction(
|
|
3367
3504
|
rt,
|
|
3368
|
-
jsi::PropNameID::forAscii(
|
|
3369
|
-
|
|
3505
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_"
|
|
3506
|
+
"rustvoiceactivitydetection"),
|
|
3370
3507
|
1,
|
|
3371
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3372
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3373
|
-
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
3374
|
-
rt, thisVal, args, count);
|
|
3375
|
-
});
|
|
3376
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"] =
|
|
3377
|
-
jsi::Function::createFromHostFunction(
|
|
3378
|
-
rt,
|
|
3379
|
-
jsi::PropNameID::forAscii(
|
|
3380
|
-
rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"),
|
|
3381
|
-
11,
|
|
3382
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3383
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3384
|
-
return this->cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
|
|
3385
|
-
rt, thisVal, args, count);
|
|
3386
|
-
});
|
|
3387
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"] =
|
|
3388
|
-
jsi::Function::createFromHostFunction(
|
|
3389
|
-
rt,
|
|
3390
|
-
jsi::PropNameID::forAscii(
|
|
3391
|
-
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"),
|
|
3392
|
-
2,
|
|
3393
3508
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3394
3509
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3395
3510
|
return this
|
|
3396
|
-
->
|
|
3511
|
+
->cpp_uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
3397
3512
|
rt, thisVal, args, count);
|
|
3398
3513
|
});
|
|
3399
|
-
props["
|
|
3514
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection"] =
|
|
3400
3515
|
jsi::Function::createFromHostFunction(
|
|
3401
3516
|
rt,
|
|
3402
|
-
jsi::PropNameID::forAscii(rt, "
|
|
3403
|
-
"
|
|
3404
|
-
|
|
3517
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_"
|
|
3518
|
+
"rustvoiceactivitydetection"),
|
|
3519
|
+
1,
|
|
3405
3520
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3406
3521
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3407
3522
|
return this
|
|
3408
|
-
->
|
|
3523
|
+
->cpp_uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
3409
3524
|
rt, thisVal, args, count);
|
|
3410
3525
|
});
|
|
3526
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_"
|
|
3527
|
+
"rustvoiceactivitydetection_new"] = jsi::Function::createFromHostFunction(
|
|
3528
|
+
rt,
|
|
3529
|
+
jsi::PropNameID::forAscii(rt,
|
|
3530
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_constructor_"
|
|
3531
|
+
"rustvoiceactivitydetection_new"),
|
|
3532
|
+
7,
|
|
3533
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3534
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3535
|
+
return this
|
|
3536
|
+
->cpp_uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
3537
|
+
rt, thisVal, args, count);
|
|
3538
|
+
});
|
|
3539
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_"
|
|
3540
|
+
"finish"] = jsi::Function::createFromHostFunction(
|
|
3541
|
+
rt,
|
|
3542
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3543
|
+
"rustvoiceactivitydetection_finish"),
|
|
3544
|
+
1,
|
|
3545
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3546
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3547
|
+
return this
|
|
3548
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
3549
|
+
rt, thisVal, args, count);
|
|
3550
|
+
});
|
|
3551
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_"
|
|
3552
|
+
"push"] = jsi::Function::createFromHostFunction(
|
|
3553
|
+
rt,
|
|
3554
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3555
|
+
"rustvoiceactivitydetection_push"),
|
|
3556
|
+
2,
|
|
3557
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3558
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3559
|
+
return this
|
|
3560
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
3561
|
+
rt, thisVal, args, count);
|
|
3562
|
+
});
|
|
3563
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_"
|
|
3564
|
+
"segment"] = jsi::Function::createFromHostFunction(
|
|
3565
|
+
rt,
|
|
3566
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3567
|
+
"rustvoiceactivitydetection_segment"),
|
|
3568
|
+
2,
|
|
3569
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3570
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3571
|
+
return this
|
|
3572
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
3573
|
+
rt, thisVal, args, count);
|
|
3574
|
+
});
|
|
3411
3575
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder"] =
|
|
3412
3576
|
jsi::Function::createFromHostFunction(
|
|
3413
3577
|
rt,
|
|
@@ -3467,6 +3631,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3467
3631
|
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dry(
|
|
3468
3632
|
rt, thisVal, args, count);
|
|
3469
3633
|
});
|
|
3634
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_"
|
|
3635
|
+
"temperature"] = jsi::Function::createFromHostFunction(
|
|
3636
|
+
rt,
|
|
3637
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3638
|
+
"samplerbuilder_dynamic_temperature"),
|
|
3639
|
+
4,
|
|
3640
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3641
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3642
|
+
return this
|
|
3643
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
|
|
3644
|
+
rt, thisVal, args, count);
|
|
3645
|
+
});
|
|
3470
3646
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar"] =
|
|
3471
3647
|
jsi::Function::createFromHostFunction(
|
|
3472
3648
|
rt,
|
|
@@ -3493,6 +3669,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3493
3669
|
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
|
|
3494
3670
|
rt, thisVal, args, count);
|
|
3495
3671
|
});
|
|
3672
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias"] =
|
|
3673
|
+
jsi::Function::createFromHostFunction(
|
|
3674
|
+
rt,
|
|
3675
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3676
|
+
"method_samplerbuilder_logit_bias"),
|
|
3677
|
+
2,
|
|
3678
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3679
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3680
|
+
return this
|
|
3681
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias(
|
|
3682
|
+
rt, thisVal, args, count);
|
|
3683
|
+
});
|
|
3496
3684
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_min_p"] =
|
|
3497
3685
|
jsi::Function::createFromHostFunction(
|
|
3498
3686
|
rt,
|
|
@@ -3579,6 +3767,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3579
3767
|
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_k(
|
|
3580
3768
|
rt, thisVal, args, count);
|
|
3581
3769
|
});
|
|
3770
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma"] =
|
|
3771
|
+
jsi::Function::createFromHostFunction(
|
|
3772
|
+
rt,
|
|
3773
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3774
|
+
"method_samplerbuilder_top_n_sigma"),
|
|
3775
|
+
2,
|
|
3776
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3777
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3778
|
+
return this
|
|
3779
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma(
|
|
3780
|
+
rt, thisVal, args, count);
|
|
3781
|
+
});
|
|
3582
3782
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_p"] =
|
|
3583
3783
|
jsi::Function::createFromHostFunction(
|
|
3584
3784
|
rt,
|
|
@@ -3732,16 +3932,41 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3732
3932
|
return this->cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
3733
3933
|
rt, thisVal, args, count);
|
|
3734
3934
|
});
|
|
3735
|
-
props["
|
|
3935
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text"] =
|
|
3936
|
+
jsi::Function::createFromHostFunction(
|
|
3937
|
+
rt,
|
|
3938
|
+
jsi::PropNameID::forAscii(
|
|
3939
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text"),
|
|
3940
|
+
3,
|
|
3941
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3942
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3943
|
+
return this
|
|
3944
|
+
->cpp_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
3945
|
+
rt, thisVal, args, count);
|
|
3946
|
+
});
|
|
3947
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech"] =
|
|
3736
3948
|
jsi::Function::createFromHostFunction(
|
|
3737
3949
|
rt,
|
|
3738
3950
|
jsi::PropNameID::forAscii(
|
|
3739
|
-
rt, "
|
|
3951
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech"),
|
|
3740
3952
|
11,
|
|
3741
3953
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3742
3954
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3743
|
-
return this
|
|
3744
|
-
|
|
3955
|
+
return this
|
|
3956
|
+
->cpp_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
3957
|
+
rt, thisVal, args, count);
|
|
3958
|
+
});
|
|
3959
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection"] =
|
|
3960
|
+
jsi::Function::createFromHostFunction(
|
|
3961
|
+
rt,
|
|
3962
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_"
|
|
3963
|
+
"load_voice_activity_detection"),
|
|
3964
|
+
7,
|
|
3965
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3966
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3967
|
+
return this
|
|
3968
|
+
->cpp_uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
3969
|
+
rt, thisVal, args, count);
|
|
3745
3970
|
});
|
|
3746
3971
|
props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_"
|
|
3747
3972
|
"grammar"] = jsi::Function::createFromHostFunction(
|
|
@@ -4456,17 +4681,44 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4456
4681
|
return this->cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
4457
4682
|
rt, thisVal, args, count);
|
|
4458
4683
|
});
|
|
4459
|
-
props["
|
|
4684
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text"] =
|
|
4460
4685
|
jsi::Function::createFromHostFunction(
|
|
4461
4686
|
rt,
|
|
4462
4687
|
jsi::PropNameID::forAscii(
|
|
4463
|
-
rt,
|
|
4688
|
+
rt,
|
|
4689
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text"),
|
|
4464
4690
|
0,
|
|
4465
4691
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4466
4692
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4467
|
-
return this
|
|
4468
|
-
|
|
4693
|
+
return this
|
|
4694
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text(
|
|
4695
|
+
rt, thisVal, args, count);
|
|
4696
|
+
});
|
|
4697
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech"] =
|
|
4698
|
+
jsi::Function::createFromHostFunction(
|
|
4699
|
+
rt,
|
|
4700
|
+
jsi::PropNameID::forAscii(
|
|
4701
|
+
rt,
|
|
4702
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech"),
|
|
4703
|
+
0,
|
|
4704
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4705
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4706
|
+
return this
|
|
4707
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech(
|
|
4708
|
+
rt, thisVal, args, count);
|
|
4469
4709
|
});
|
|
4710
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_"
|
|
4711
|
+
"detection"] = jsi::Function::createFromHostFunction(
|
|
4712
|
+
rt,
|
|
4713
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4714
|
+
"func_load_voice_activity_detection"),
|
|
4715
|
+
0,
|
|
4716
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4717
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4718
|
+
return this
|
|
4719
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection(
|
|
4720
|
+
rt, thisVal, args, count);
|
|
4721
|
+
});
|
|
4470
4722
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_"
|
|
4471
4723
|
"with_grammar"] = jsi::Function::createFromHostFunction(
|
|
4472
4724
|
rt,
|
|
@@ -4639,6 +4891,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4639
4891
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt(
|
|
4640
4892
|
rt, thisVal, args, count);
|
|
4641
4893
|
});
|
|
4894
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_complete"] =
|
|
4895
|
+
jsi::Function::createFromHostFunction(
|
|
4896
|
+
rt,
|
|
4897
|
+
jsi::PropNameID::forAscii(
|
|
4898
|
+
rt,
|
|
4899
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_complete"),
|
|
4900
|
+
0,
|
|
4901
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4902
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4903
|
+
return this
|
|
4904
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_complete(
|
|
4905
|
+
rt, thisVal, args, count);
|
|
4906
|
+
});
|
|
4642
4907
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_"
|
|
4643
4908
|
"history"] = jsi::Function::createFromHostFunction(
|
|
4644
4909
|
rt,
|
|
@@ -4869,9 +5134,21 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4869
5134
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
4870
5135
|
rt, thisVal, args, count);
|
|
4871
5136
|
});
|
|
4872
|
-
props["
|
|
4873
|
-
|
|
4874
|
-
|
|
5137
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_"
|
|
5138
|
+
"batch"] = jsi::Function::createFromHostFunction(
|
|
5139
|
+
rt,
|
|
5140
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5141
|
+
"method_rustencoder_encode_batch"),
|
|
5142
|
+
0,
|
|
5143
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5144
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5145
|
+
return this
|
|
5146
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch(
|
|
5147
|
+
rt, thisVal, args, count);
|
|
5148
|
+
});
|
|
5149
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx"] =
|
|
5150
|
+
jsi::Function::createFromHostFunction(
|
|
5151
|
+
rt,
|
|
4875
5152
|
jsi::PropNameID::forAscii(
|
|
4876
5153
|
rt,
|
|
4877
5154
|
"ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx"),
|
|
@@ -4882,52 +5159,76 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4882
5159
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
4883
5160
|
rt, thisVal, args, count);
|
|
4884
5161
|
});
|
|
4885
|
-
props["
|
|
4886
|
-
"
|
|
5162
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_"
|
|
5163
|
+
"transcribe_file"] = jsi::Function::createFromHostFunction(
|
|
4887
5164
|
rt,
|
|
4888
5165
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4889
|
-
"
|
|
5166
|
+
"method_rustspeechtotext_transcribe_file"),
|
|
4890
5167
|
0,
|
|
4891
5168
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4892
5169
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4893
5170
|
return this
|
|
4894
|
-
->
|
|
5171
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file(
|
|
4895
5172
|
rt, thisVal, args, count);
|
|
4896
5173
|
});
|
|
4897
|
-
props["
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
props["
|
|
5174
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_"
|
|
5175
|
+
"transcribe_pcm"] = jsi::Function::createFromHostFunction(
|
|
5176
|
+
rt,
|
|
5177
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5178
|
+
"method_rustspeechtotext_transcribe_pcm"),
|
|
5179
|
+
0,
|
|
5180
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5181
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5182
|
+
return this
|
|
5183
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm(
|
|
5184
|
+
rt, thisVal, args, count);
|
|
5185
|
+
});
|
|
5186
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_"
|
|
4910
5187
|
"completed"] = jsi::Function::createFromHostFunction(
|
|
4911
5188
|
rt,
|
|
4912
5189
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4913
|
-
"
|
|
5190
|
+
"method_rustspeechtotextstream_completed"),
|
|
4914
5191
|
0,
|
|
4915
5192
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4916
5193
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4917
5194
|
return this
|
|
4918
|
-
->
|
|
5195
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed(
|
|
4919
5196
|
rt, thisVal, args, count);
|
|
4920
5197
|
});
|
|
4921
|
-
props["
|
|
4922
|
-
"
|
|
5198
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_"
|
|
5199
|
+
"next_token"] = jsi::Function::createFromHostFunction(
|
|
4923
5200
|
rt,
|
|
4924
5201
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4925
|
-
"
|
|
5202
|
+
"method_rustspeechtotextstream_next_token"),
|
|
4926
5203
|
0,
|
|
4927
5204
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4928
5205
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4929
5206
|
return this
|
|
4930
|
-
->
|
|
5207
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token(
|
|
5208
|
+
rt, thisVal, args, count);
|
|
5209
|
+
});
|
|
5210
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_"
|
|
5211
|
+
"synthesize"] = jsi::Function::createFromHostFunction(
|
|
5212
|
+
rt,
|
|
5213
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5214
|
+
"method_rusttexttospeech_synthesize"),
|
|
5215
|
+
0,
|
|
5216
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5217
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5218
|
+
return this
|
|
5219
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize(
|
|
5220
|
+
rt, thisVal, args, count);
|
|
5221
|
+
});
|
|
5222
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_"
|
|
5223
|
+
"synthesize_async"] = jsi::Function::createFromHostFunction(
|
|
5224
|
+
rt,
|
|
5225
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5226
|
+
"method_rusttexttospeech_synthesize_async"),
|
|
5227
|
+
0,
|
|
5228
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5229
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5230
|
+
return this
|
|
5231
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async(
|
|
4931
5232
|
rt, thisVal, args, count);
|
|
4932
5233
|
});
|
|
4933
5234
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_"
|
|
@@ -4990,30 +5291,46 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4990
5291
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call(
|
|
4991
5292
|
rt, thisVal, args, count);
|
|
4992
5293
|
});
|
|
4993
|
-
props["
|
|
5294
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5295
|
+
"rustvoiceactivitydetection_finish"] =
|
|
4994
5296
|
jsi::Function::createFromHostFunction(
|
|
4995
5297
|
rt,
|
|
4996
|
-
jsi::PropNameID::forAscii(rt,
|
|
4997
|
-
|
|
5298
|
+
jsi::PropNameID::forAscii(rt,
|
|
5299
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5300
|
+
"method_rustvoiceactivitydetection_finish"),
|
|
4998
5301
|
0,
|
|
4999
5302
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5000
5303
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5001
5304
|
return this
|
|
5002
|
-
->
|
|
5305
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish(
|
|
5003
5306
|
rt, thisVal, args, count);
|
|
5004
5307
|
});
|
|
5005
|
-
props["
|
|
5006
|
-
"
|
|
5308
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5309
|
+
"rustvoiceactivitydetection_push"] = jsi::Function::createFromHostFunction(
|
|
5007
5310
|
rt,
|
|
5008
5311
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5009
|
-
"
|
|
5312
|
+
"method_rustvoiceactivitydetection_push"),
|
|
5010
5313
|
0,
|
|
5011
5314
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5012
5315
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5013
5316
|
return this
|
|
5014
|
-
->
|
|
5317
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push(
|
|
5015
5318
|
rt, thisVal, args, count);
|
|
5016
5319
|
});
|
|
5320
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5321
|
+
"rustvoiceactivitydetection_segment"] =
|
|
5322
|
+
jsi::Function::createFromHostFunction(
|
|
5323
|
+
rt,
|
|
5324
|
+
jsi::PropNameID::forAscii(
|
|
5325
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5326
|
+
"rustvoiceactivitydetection_segment"),
|
|
5327
|
+
0,
|
|
5328
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5329
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5330
|
+
return this
|
|
5331
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment(
|
|
5332
|
+
rt, thisVal, args, count);
|
|
5333
|
+
});
|
|
5017
5334
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist"] =
|
|
5018
5335
|
jsi::Function::createFromHostFunction(
|
|
5019
5336
|
rt,
|
|
@@ -5038,6 +5355,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5038
5355
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry(
|
|
5039
5356
|
rt, thisVal, args, count);
|
|
5040
5357
|
});
|
|
5358
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_"
|
|
5359
|
+
"temperature"] = jsi::Function::createFromHostFunction(
|
|
5360
|
+
rt,
|
|
5361
|
+
jsi::PropNameID::forAscii(rt,
|
|
5362
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5363
|
+
"samplerbuilder_dynamic_temperature"),
|
|
5364
|
+
0,
|
|
5365
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5366
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5367
|
+
return this
|
|
5368
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature(
|
|
5369
|
+
rt, thisVal, args, count);
|
|
5370
|
+
});
|
|
5041
5371
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar"] =
|
|
5042
5372
|
jsi::Function::createFromHostFunction(
|
|
5043
5373
|
rt,
|
|
@@ -5062,6 +5392,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5062
5392
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy(
|
|
5063
5393
|
rt, thisVal, args, count);
|
|
5064
5394
|
});
|
|
5395
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_"
|
|
5396
|
+
"bias"] = jsi::Function::createFromHostFunction(
|
|
5397
|
+
rt,
|
|
5398
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5399
|
+
"method_samplerbuilder_logit_bias"),
|
|
5400
|
+
0,
|
|
5401
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5402
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5403
|
+
return this
|
|
5404
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_bias(
|
|
5405
|
+
rt, thisVal, args, count);
|
|
5406
|
+
});
|
|
5065
5407
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_min_p"] =
|
|
5066
5408
|
jsi::Function::createFromHostFunction(
|
|
5067
5409
|
rt,
|
|
@@ -5146,6 +5488,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5146
5488
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_k(
|
|
5147
5489
|
rt, thisVal, args, count);
|
|
5148
5490
|
});
|
|
5491
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_"
|
|
5492
|
+
"sigma"] = jsi::Function::createFromHostFunction(
|
|
5493
|
+
rt,
|
|
5494
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5495
|
+
"method_samplerbuilder_top_n_sigma"),
|
|
5496
|
+
0,
|
|
5497
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5498
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5499
|
+
return this
|
|
5500
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_sigma(
|
|
5501
|
+
rt, thisVal, args, count);
|
|
5502
|
+
});
|
|
5149
5503
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_p"] =
|
|
5150
5504
|
jsi::Function::createFromHostFunction(
|
|
5151
5505
|
rt,
|
|
@@ -5231,19 +5585,30 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5231
5585
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new(
|
|
5232
5586
|
rt, thisVal, args, count);
|
|
5233
5587
|
});
|
|
5234
|
-
props["
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5588
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_"
|
|
5589
|
+
"new"] = jsi::Function::createFromHostFunction(
|
|
5590
|
+
rt,
|
|
5591
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5592
|
+
"constructor_rustspeechtotext_new"),
|
|
5593
|
+
0,
|
|
5594
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5595
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5596
|
+
return this
|
|
5597
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new(
|
|
5598
|
+
rt, thisVal, args, count);
|
|
5599
|
+
});
|
|
5600
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_"
|
|
5601
|
+
"new"] = jsi::Function::createFromHostFunction(
|
|
5602
|
+
rt,
|
|
5603
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5604
|
+
"constructor_rusttexttospeech_new"),
|
|
5605
|
+
0,
|
|
5606
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5607
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5608
|
+
return this
|
|
5609
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new(
|
|
5610
|
+
rt, thisVal, args, count);
|
|
5611
|
+
});
|
|
5247
5612
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new"] =
|
|
5248
5613
|
jsi::Function::createFromHostFunction(
|
|
5249
5614
|
rt,
|
|
@@ -5269,19 +5634,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5269
5634
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async(
|
|
5270
5635
|
rt, thisVal, args, count);
|
|
5271
5636
|
});
|
|
5272
|
-
props["
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5637
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_"
|
|
5638
|
+
"rustvoiceactivitydetection_new"] = jsi::Function::createFromHostFunction(
|
|
5639
|
+
rt,
|
|
5640
|
+
jsi::PropNameID::forAscii(rt,
|
|
5641
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5642
|
+
"constructor_rustvoiceactivitydetection_new"),
|
|
5643
|
+
0,
|
|
5644
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5645
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5646
|
+
return this
|
|
5647
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new(
|
|
5648
|
+
rt, thisVal, args, count);
|
|
5649
|
+
});
|
|
5285
5650
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_"
|
|
5286
5651
|
"new"] = jsi::Function::createFromHostFunction(
|
|
5287
5652
|
rt,
|
|
@@ -5393,28 +5758,41 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5393
5758
|
->cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
5394
5759
|
rt, thisVal, args, count);
|
|
5395
5760
|
});
|
|
5396
|
-
props["
|
|
5761
|
+
props["ubrn_uniffi_internal_fn_method_rustspeechtotext_ffi__bless_pointer"] =
|
|
5397
5762
|
jsi::Function::createFromHostFunction(
|
|
5398
5763
|
rt,
|
|
5399
|
-
jsi::PropNameID::forAscii(
|
|
5400
|
-
|
|
5764
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_"
|
|
5765
|
+
"rustspeechtotext_ffi__bless_pointer"),
|
|
5401
5766
|
1,
|
|
5402
5767
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5403
5768
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5404
5769
|
return this
|
|
5405
|
-
->
|
|
5770
|
+
->cpp_uniffi_internal_fn_method_rustspeechtotext_ffi__bless_pointer(
|
|
5406
5771
|
rt, thisVal, args, count);
|
|
5407
5772
|
});
|
|
5408
|
-
props["
|
|
5773
|
+
props["ubrn_uniffi_internal_fn_method_rustspeechtotextstream_ffi__bless_"
|
|
5774
|
+
"pointer"] = jsi::Function::createFromHostFunction(
|
|
5775
|
+
rt,
|
|
5776
|
+
jsi::PropNameID::forAscii(rt,
|
|
5777
|
+
"ubrn_uniffi_internal_fn_method_"
|
|
5778
|
+
"rustspeechtotextstream_ffi__bless_pointer"),
|
|
5779
|
+
1,
|
|
5780
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5781
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5782
|
+
return this
|
|
5783
|
+
->cpp_uniffi_internal_fn_method_rustspeechtotextstream_ffi__bless_pointer(
|
|
5784
|
+
rt, thisVal, args, count);
|
|
5785
|
+
});
|
|
5786
|
+
props["ubrn_uniffi_internal_fn_method_rusttexttospeech_ffi__bless_pointer"] =
|
|
5409
5787
|
jsi::Function::createFromHostFunction(
|
|
5410
5788
|
rt,
|
|
5411
5789
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_"
|
|
5412
|
-
"
|
|
5790
|
+
"rusttexttospeech_ffi__bless_pointer"),
|
|
5413
5791
|
1,
|
|
5414
5792
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5415
5793
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5416
5794
|
return this
|
|
5417
|
-
->
|
|
5795
|
+
->cpp_uniffi_internal_fn_method_rusttexttospeech_ffi__bless_pointer(
|
|
5418
5796
|
rt, thisVal, args, count);
|
|
5419
5797
|
});
|
|
5420
5798
|
props["ubrn_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer"] =
|
|
@@ -5441,18 +5819,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5441
5819
|
->cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
5442
5820
|
rt, thisVal, args, count);
|
|
5443
5821
|
});
|
|
5444
|
-
props["
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5822
|
+
props["ubrn_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__bless_"
|
|
5823
|
+
"pointer"] = jsi::Function::createFromHostFunction(
|
|
5824
|
+
rt,
|
|
5825
|
+
jsi::PropNameID::forAscii(
|
|
5826
|
+
rt, "ubrn_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__"
|
|
5827
|
+
"bless_pointer"),
|
|
5828
|
+
1,
|
|
5829
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5830
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5831
|
+
return this
|
|
5832
|
+
->cpp_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__bless_pointer(
|
|
5833
|
+
rt, thisVal, args, count);
|
|
5834
|
+
});
|
|
5456
5835
|
props["ubrn_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer"] =
|
|
5457
5836
|
jsi::Function::createFromHostFunction(
|
|
5458
5837
|
rt,
|
|
@@ -5615,30 +5994,45 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
|
5615
5994
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5616
5995
|
return jsi::Value(rt, obj);
|
|
5617
5996
|
}
|
|
5618
|
-
jsi::Value
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5997
|
+
jsi::Value NativeNobodywho::
|
|
5998
|
+
cpp_uniffi_internal_fn_method_rustspeechtotext_ffi__bless_pointer(
|
|
5999
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6000
|
+
size_t count) {
|
|
5622
6001
|
auto pointer =
|
|
5623
6002
|
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5624
6003
|
auto static destructor = [](uint64_t p) {
|
|
5625
6004
|
RustCallStatus status = {0};
|
|
5626
|
-
|
|
6005
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(p, &status);
|
|
5627
6006
|
};
|
|
5628
6007
|
auto ptrObj =
|
|
5629
6008
|
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
5630
6009
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5631
6010
|
return jsi::Value(rt, obj);
|
|
5632
6011
|
}
|
|
5633
|
-
jsi::Value
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
6012
|
+
jsi::Value NativeNobodywho::
|
|
6013
|
+
cpp_uniffi_internal_fn_method_rustspeechtotextstream_ffi__bless_pointer(
|
|
6014
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6015
|
+
size_t count) {
|
|
5637
6016
|
auto pointer =
|
|
5638
6017
|
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5639
6018
|
auto static destructor = [](uint64_t p) {
|
|
5640
6019
|
RustCallStatus status = {0};
|
|
5641
|
-
|
|
6020
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(p, &status);
|
|
6021
|
+
};
|
|
6022
|
+
auto ptrObj =
|
|
6023
|
+
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
6024
|
+
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
6025
|
+
return jsi::Value(rt, obj);
|
|
6026
|
+
}
|
|
6027
|
+
jsi::Value NativeNobodywho::
|
|
6028
|
+
cpp_uniffi_internal_fn_method_rusttexttospeech_ffi__bless_pointer(
|
|
6029
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6030
|
+
size_t count) {
|
|
6031
|
+
auto pointer =
|
|
6032
|
+
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
6033
|
+
auto static destructor = [](uint64_t p) {
|
|
6034
|
+
RustCallStatus status = {0};
|
|
6035
|
+
uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(p, &status);
|
|
5642
6036
|
};
|
|
5643
6037
|
auto ptrObj =
|
|
5644
6038
|
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
@@ -5675,15 +6069,15 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
|
5675
6069
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5676
6070
|
return jsi::Value(rt, obj);
|
|
5677
6071
|
}
|
|
5678
|
-
jsi::Value
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
6072
|
+
jsi::Value NativeNobodywho::
|
|
6073
|
+
cpp_uniffi_internal_fn_method_rustvoiceactivitydetection_ffi__bless_pointer(
|
|
6074
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6075
|
+
size_t count) {
|
|
5682
6076
|
auto pointer =
|
|
5683
6077
|
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5684
6078
|
auto static destructor = [](uint64_t p) {
|
|
5685
6079
|
RustCallStatus status = {0};
|
|
5686
|
-
|
|
6080
|
+
uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(p, &status);
|
|
5687
6081
|
};
|
|
5688
6082
|
auto ptrObj =
|
|
5689
6083
|
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
@@ -5824,6 +6218,24 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
|
|
|
5824
6218
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5825
6219
|
value);
|
|
5826
6220
|
}
|
|
6221
|
+
jsi::Value
|
|
6222
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_complete(
|
|
6223
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6224
|
+
size_t count) {
|
|
6225
|
+
RustCallStatus status =
|
|
6226
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6227
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_complete(
|
|
6228
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6229
|
+
args[0]),
|
|
6230
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6231
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
6232
|
+
&status);
|
|
6233
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6234
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6235
|
+
|
|
6236
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6237
|
+
value);
|
|
6238
|
+
}
|
|
5827
6239
|
jsi::Value NativeNobodywho::
|
|
5828
6240
|
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_chat_history(
|
|
5829
6241
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6160,6 +6572,19 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
|
6160
6572
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6161
6573
|
value);
|
|
6162
6574
|
}
|
|
6575
|
+
jsi::Value
|
|
6576
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
6577
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6578
|
+
size_t count) {
|
|
6579
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustencoder_encode_batch(
|
|
6580
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6581
|
+
args[0]),
|
|
6582
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6583
|
+
args[1]));
|
|
6584
|
+
|
|
6585
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6586
|
+
value);
|
|
6587
|
+
}
|
|
6163
6588
|
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
6164
6589
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6165
6590
|
size_t count) {
|
|
@@ -6204,12 +6629,13 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
|
6204
6629
|
|
|
6205
6630
|
return uniffi_jsi::Bridging<uint32_t>::toJs(rt, callInvoker, value);
|
|
6206
6631
|
}
|
|
6207
|
-
jsi::Value
|
|
6632
|
+
jsi::Value
|
|
6633
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
6208
6634
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6209
6635
|
size_t count) {
|
|
6210
6636
|
RustCallStatus status =
|
|
6211
6637
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6212
|
-
auto value =
|
|
6638
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
6213
6639
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6214
6640
|
args[0]),
|
|
6215
6641
|
&status);
|
|
@@ -6219,12 +6645,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststt(
|
|
|
6219
6645
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6220
6646
|
value);
|
|
6221
6647
|
}
|
|
6222
|
-
jsi::Value
|
|
6648
|
+
jsi::Value
|
|
6649
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
6223
6650
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6224
6651
|
size_t count) {
|
|
6225
6652
|
RustCallStatus status =
|
|
6226
6653
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6227
|
-
|
|
6654
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
6228
6655
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6229
6656
|
args[0]),
|
|
6230
6657
|
&status);
|
|
@@ -6233,13 +6660,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststt(
|
|
|
6233
6660
|
|
|
6234
6661
|
return jsi::Value::undefined();
|
|
6235
6662
|
}
|
|
6236
|
-
jsi::Value
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6663
|
+
jsi::Value NativeNobodywho::
|
|
6664
|
+
cpp_uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
6665
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6666
|
+
size_t count) {
|
|
6240
6667
|
RustCallStatus status =
|
|
6241
6668
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6242
|
-
auto value =
|
|
6669
|
+
auto value = uniffi_nobodywho_uniffi_fn_constructor_rustspeechtotext_new(
|
|
6243
6670
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6244
6671
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6245
6672
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
@@ -6250,16 +6677,54 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
|
|
|
6250
6677
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6251
6678
|
value);
|
|
6252
6679
|
}
|
|
6680
|
+
jsi::Value NativeNobodywho::
|
|
6681
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
6682
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6683
|
+
size_t count) {
|
|
6684
|
+
RustCallStatus status =
|
|
6685
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6686
|
+
auto value =
|
|
6687
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_file(
|
|
6688
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6689
|
+
args[0]),
|
|
6690
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6691
|
+
args[1]),
|
|
6692
|
+
&status);
|
|
6693
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6694
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6695
|
+
|
|
6696
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6697
|
+
value);
|
|
6698
|
+
}
|
|
6699
|
+
jsi::Value NativeNobodywho::
|
|
6700
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
6701
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6702
|
+
size_t count) {
|
|
6703
|
+
RustCallStatus status =
|
|
6704
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6705
|
+
auto value =
|
|
6706
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotext_transcribe_pcm(
|
|
6707
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6708
|
+
args[0]),
|
|
6709
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6710
|
+
args[1]),
|
|
6711
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
|
|
6712
|
+
&status);
|
|
6713
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6714
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6715
|
+
|
|
6716
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6717
|
+
value);
|
|
6718
|
+
}
|
|
6253
6719
|
jsi::Value
|
|
6254
|
-
NativeNobodywho::
|
|
6720
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
6255
6721
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6256
6722
|
size_t count) {
|
|
6257
6723
|
RustCallStatus status =
|
|
6258
6724
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6259
|
-
auto value =
|
|
6725
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustspeechtotextstream(
|
|
6260
6726
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6261
6727
|
args[0]),
|
|
6262
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6263
6728
|
&status);
|
|
6264
6729
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6265
6730
|
rt, callInvoker, status, args[count - 1]);
|
|
@@ -6268,29 +6733,51 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
|
|
|
6268
6733
|
value);
|
|
6269
6734
|
}
|
|
6270
6735
|
jsi::Value
|
|
6271
|
-
NativeNobodywho::
|
|
6736
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
6272
6737
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6273
6738
|
size_t count) {
|
|
6274
6739
|
RustCallStatus status =
|
|
6275
6740
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6276
|
-
|
|
6741
|
+
uniffi_nobodywho_uniffi_fn_free_rustspeechtotextstream(
|
|
6277
6742
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6278
6743
|
args[0]),
|
|
6279
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6280
|
-
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
|
|
6281
6744
|
&status);
|
|
6282
6745
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6283
6746
|
rt, callInvoker, status, args[count - 1]);
|
|
6284
6747
|
|
|
6748
|
+
return jsi::Value::undefined();
|
|
6749
|
+
}
|
|
6750
|
+
jsi::Value NativeNobodywho::
|
|
6751
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
6752
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6753
|
+
size_t count) {
|
|
6754
|
+
auto value =
|
|
6755
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_completed(
|
|
6756
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6757
|
+
args[0]));
|
|
6758
|
+
|
|
6759
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6760
|
+
value);
|
|
6761
|
+
}
|
|
6762
|
+
jsi::Value NativeNobodywho::
|
|
6763
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
6764
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6765
|
+
size_t count) {
|
|
6766
|
+
auto value =
|
|
6767
|
+
uniffi_nobodywho_uniffi_fn_method_rustspeechtotextstream_next_token(
|
|
6768
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6769
|
+
args[0]));
|
|
6770
|
+
|
|
6285
6771
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6286
6772
|
value);
|
|
6287
6773
|
}
|
|
6288
|
-
jsi::Value
|
|
6774
|
+
jsi::Value
|
|
6775
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
6289
6776
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6290
6777
|
size_t count) {
|
|
6291
6778
|
RustCallStatus status =
|
|
6292
6779
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6293
|
-
auto value =
|
|
6780
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rusttexttospeech(
|
|
6294
6781
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6295
6782
|
args[0]),
|
|
6296
6783
|
&status);
|
|
@@ -6300,12 +6787,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
|
|
|
6300
6787
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6301
6788
|
value);
|
|
6302
6789
|
}
|
|
6303
|
-
jsi::Value
|
|
6790
|
+
jsi::Value
|
|
6791
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
6304
6792
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6305
6793
|
size_t count) {
|
|
6306
6794
|
RustCallStatus status =
|
|
6307
6795
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6308
|
-
|
|
6796
|
+
uniffi_nobodywho_uniffi_fn_free_rusttexttospeech(
|
|
6309
6797
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6310
6798
|
args[0]),
|
|
6311
6799
|
&status);
|
|
@@ -6314,24 +6802,58 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststtstream(
|
|
|
6314
6802
|
|
|
6315
6803
|
return jsi::Value::undefined();
|
|
6316
6804
|
}
|
|
6317
|
-
jsi::Value
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6805
|
+
jsi::Value NativeNobodywho::
|
|
6806
|
+
cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
6807
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6808
|
+
size_t count) {
|
|
6809
|
+
RustCallStatus status =
|
|
6810
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6811
|
+
auto value = uniffi_nobodywho_uniffi_fn_constructor_rusttexttospeech_new(
|
|
6812
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6813
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6814
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
6815
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
6816
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
6817
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
6818
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
|
|
6819
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
|
|
6820
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[8]),
|
|
6821
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[9]),
|
|
6822
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6823
|
+
args[10]),
|
|
6824
|
+
&status);
|
|
6825
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6826
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6324
6827
|
|
|
6325
6828
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6326
6829
|
value);
|
|
6327
6830
|
}
|
|
6328
|
-
jsi::Value
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6831
|
+
jsi::Value NativeNobodywho::
|
|
6832
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
6833
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6834
|
+
size_t count) {
|
|
6835
|
+
RustCallStatus status =
|
|
6836
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6837
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize(
|
|
6333
6838
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6334
|
-
args[0])
|
|
6839
|
+
args[0]),
|
|
6840
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6841
|
+
&status);
|
|
6842
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6843
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6844
|
+
|
|
6845
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6846
|
+
}
|
|
6847
|
+
jsi::Value NativeNobodywho::
|
|
6848
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
6849
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6850
|
+
size_t count) {
|
|
6851
|
+
auto value =
|
|
6852
|
+
uniffi_nobodywho_uniffi_fn_method_rusttexttospeech_synthesize_async(
|
|
6853
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6854
|
+
args[0]),
|
|
6855
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6856
|
+
args[1]));
|
|
6335
6857
|
|
|
6336
6858
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6337
6859
|
value);
|
|
@@ -6495,12 +7017,13 @@ jsi::Value NativeNobodywho::
|
|
|
6495
7017
|
|
|
6496
7018
|
return jsi::Value::undefined();
|
|
6497
7019
|
}
|
|
6498
|
-
jsi::Value NativeNobodywho::
|
|
6499
|
-
|
|
6500
|
-
|
|
7020
|
+
jsi::Value NativeNobodywho::
|
|
7021
|
+
cpp_uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
7022
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7023
|
+
size_t count) {
|
|
6501
7024
|
RustCallStatus status =
|
|
6502
7025
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6503
|
-
auto value =
|
|
7026
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustvoiceactivitydetection(
|
|
6504
7027
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6505
7028
|
args[0]),
|
|
6506
7029
|
&status);
|
|
@@ -6510,12 +7033,13 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
|
6510
7033
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6511
7034
|
value);
|
|
6512
7035
|
}
|
|
6513
|
-
jsi::Value
|
|
7036
|
+
jsi::Value
|
|
7037
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
6514
7038
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6515
7039
|
size_t count) {
|
|
6516
7040
|
RustCallStatus status =
|
|
6517
7041
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6518
|
-
|
|
7042
|
+
uniffi_nobodywho_uniffi_fn_free_rustvoiceactivitydetection(
|
|
6519
7043
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6520
7044
|
args[0]),
|
|
6521
7045
|
&status);
|
|
@@ -6524,60 +7048,85 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
|
6524
7048
|
|
|
6525
7049
|
return jsi::Value::undefined();
|
|
6526
7050
|
}
|
|
6527
|
-
jsi::Value
|
|
6528
|
-
|
|
6529
|
-
|
|
6530
|
-
|
|
7051
|
+
jsi::Value NativeNobodywho::
|
|
7052
|
+
cpp_uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
7053
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7054
|
+
size_t count) {
|
|
6531
7055
|
RustCallStatus status =
|
|
6532
7056
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6533
|
-
auto value =
|
|
6534
|
-
|
|
6535
|
-
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
7057
|
+
auto value =
|
|
7058
|
+
uniffi_nobodywho_uniffi_fn_constructor_rustvoiceactivitydetection_new(
|
|
7059
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7060
|
+
args[0]),
|
|
7061
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]),
|
|
7062
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7063
|
+
args[2]),
|
|
7064
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7065
|
+
args[3]),
|
|
7066
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7067
|
+
args[4]),
|
|
7068
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7069
|
+
args[5]),
|
|
7070
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7071
|
+
args[6]),
|
|
7072
|
+
&status);
|
|
6547
7073
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6548
7074
|
rt, callInvoker, status, args[count - 1]);
|
|
6549
7075
|
|
|
6550
7076
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6551
7077
|
value);
|
|
6552
7078
|
}
|
|
6553
|
-
jsi::Value
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
7079
|
+
jsi::Value NativeNobodywho::
|
|
7080
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
7081
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7082
|
+
size_t count) {
|
|
6557
7083
|
RustCallStatus status =
|
|
6558
7084
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6559
|
-
auto value =
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
7085
|
+
auto value =
|
|
7086
|
+
uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_finish(
|
|
7087
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7088
|
+
args[0]),
|
|
7089
|
+
&status);
|
|
6564
7090
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6565
7091
|
rt, callInvoker, status, args[count - 1]);
|
|
6566
7092
|
|
|
6567
7093
|
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6568
7094
|
}
|
|
6569
|
-
jsi::Value
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
7095
|
+
jsi::Value NativeNobodywho::
|
|
7096
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
7097
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7098
|
+
size_t count) {
|
|
7099
|
+
RustCallStatus status =
|
|
7100
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7101
|
+
auto value =
|
|
7102
|
+
uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_push(
|
|
7103
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7104
|
+
args[0]),
|
|
7105
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7106
|
+
args[1]),
|
|
7107
|
+
&status);
|
|
7108
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7109
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6578
7110
|
|
|
6579
|
-
return
|
|
6580
|
-
|
|
7111
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
7112
|
+
}
|
|
7113
|
+
jsi::Value NativeNobodywho::
|
|
7114
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
7115
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7116
|
+
size_t count) {
|
|
7117
|
+
RustCallStatus status =
|
|
7118
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7119
|
+
auto value =
|
|
7120
|
+
uniffi_nobodywho_uniffi_fn_method_rustvoiceactivitydetection_segment(
|
|
7121
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7122
|
+
args[0]),
|
|
7123
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7124
|
+
args[1]),
|
|
7125
|
+
&status);
|
|
7126
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7127
|
+
rt, callInvoker, status, args[count - 1]);
|
|
7128
|
+
|
|
7129
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6581
7130
|
}
|
|
6582
7131
|
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
|
|
6583
7132
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6659,6 +7208,26 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dry(
|
|
|
6659
7208
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6660
7209
|
value);
|
|
6661
7210
|
}
|
|
7211
|
+
jsi::Value NativeNobodywho::
|
|
7212
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
|
|
7213
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7214
|
+
size_t count) {
|
|
7215
|
+
RustCallStatus status =
|
|
7216
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7217
|
+
auto value =
|
|
7218
|
+
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
|
|
7219
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7220
|
+
args[0]),
|
|
7221
|
+
uniffi_jsi::Bridging<float>::fromJs(rt, callInvoker, args[1]),
|
|
7222
|
+
uniffi_jsi::Bridging<float>::fromJs(rt, callInvoker, args[2]),
|
|
7223
|
+
uniffi_jsi::Bridging<float>::fromJs(rt, callInvoker, args[3]),
|
|
7224
|
+
&status);
|
|
7225
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7226
|
+
rt, callInvoker, status, args[count - 1]);
|
|
7227
|
+
|
|
7228
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7229
|
+
value);
|
|
7230
|
+
}
|
|
6662
7231
|
jsi::Value
|
|
6663
7232
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar(
|
|
6664
7233
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6694,6 +7263,23 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
|
|
|
6694
7263
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6695
7264
|
value);
|
|
6696
7265
|
}
|
|
7266
|
+
jsi::Value NativeNobodywho::
|
|
7267
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias(
|
|
7268
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7269
|
+
size_t count) {
|
|
7270
|
+
RustCallStatus status =
|
|
7271
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7272
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias(
|
|
7273
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7274
|
+
args[0]),
|
|
7275
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
7276
|
+
&status);
|
|
7277
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7278
|
+
rt, callInvoker, status, args[count - 1]);
|
|
7279
|
+
|
|
7280
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7281
|
+
value);
|
|
7282
|
+
}
|
|
6697
7283
|
jsi::Value
|
|
6698
7284
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_min_p(
|
|
6699
7285
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6815,6 +7401,22 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_k(
|
|
|
6815
7401
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6816
7402
|
value);
|
|
6817
7403
|
}
|
|
7404
|
+
jsi::Value NativeNobodywho::
|
|
7405
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma(
|
|
7406
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7407
|
+
size_t count) {
|
|
7408
|
+
RustCallStatus status =
|
|
7409
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7410
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma(
|
|
7411
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7412
|
+
args[0]),
|
|
7413
|
+
uniffi_jsi::Bridging<float>::fromJs(rt, callInvoker, args[1]), &status);
|
|
7414
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7415
|
+
rt, callInvoker, status, args[count - 1]);
|
|
7416
|
+
|
|
7417
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7418
|
+
value);
|
|
7419
|
+
}
|
|
6818
7420
|
jsi::Value
|
|
6819
7421
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_p(
|
|
6820
7422
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7011,10 +7613,24 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
|
7011
7613
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7012
7614
|
value);
|
|
7013
7615
|
}
|
|
7014
|
-
jsi::Value
|
|
7616
|
+
jsi::Value
|
|
7617
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
7618
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7619
|
+
size_t count) {
|
|
7620
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_speech_to_text(
|
|
7621
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
7622
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
7623
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7624
|
+
args[2]));
|
|
7625
|
+
|
|
7626
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7627
|
+
value);
|
|
7628
|
+
}
|
|
7629
|
+
jsi::Value
|
|
7630
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
7015
7631
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7016
7632
|
size_t count) {
|
|
7017
|
-
auto value =
|
|
7633
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_text_to_speech(
|
|
7018
7634
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
7019
7635
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
7020
7636
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
@@ -7031,6 +7647,23 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_tts(
|
|
|
7031
7647
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7032
7648
|
value);
|
|
7033
7649
|
}
|
|
7650
|
+
jsi::Value NativeNobodywho::
|
|
7651
|
+
cpp_uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
7652
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7653
|
+
size_t count) {
|
|
7654
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_voice_activity_detection(
|
|
7655
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
7656
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]),
|
|
7657
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
7658
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
7659
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
7660
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
7661
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7662
|
+
args[6]));
|
|
7663
|
+
|
|
7664
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7665
|
+
value);
|
|
7666
|
+
}
|
|
7034
7667
|
jsi::Value NativeNobodywho::
|
|
7035
7668
|
cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
|
|
7036
7669
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7767,10 +8400,28 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
|
7767
8400
|
|
|
7768
8401
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7769
8402
|
}
|
|
7770
|
-
jsi::Value
|
|
8403
|
+
jsi::Value
|
|
8404
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text(
|
|
8405
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8406
|
+
size_t count) {
|
|
8407
|
+
auto value = uniffi_nobodywho_uniffi_checksum_func_load_speech_to_text();
|
|
8408
|
+
|
|
8409
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8410
|
+
}
|
|
8411
|
+
jsi::Value
|
|
8412
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech(
|
|
7771
8413
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7772
8414
|
size_t count) {
|
|
7773
|
-
auto value =
|
|
8415
|
+
auto value = uniffi_nobodywho_uniffi_checksum_func_load_text_to_speech();
|
|
8416
|
+
|
|
8417
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8418
|
+
}
|
|
8419
|
+
jsi::Value NativeNobodywho::
|
|
8420
|
+
cpp_uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection(
|
|
8421
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8422
|
+
size_t count) {
|
|
8423
|
+
auto value =
|
|
8424
|
+
uniffi_nobodywho_uniffi_checksum_func_load_voice_activity_detection();
|
|
7774
8425
|
|
|
7775
8426
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7776
8427
|
}
|
|
@@ -7892,6 +8543,14 @@ jsi::Value NativeNobodywho::
|
|
|
7892
8543
|
|
|
7893
8544
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7894
8545
|
}
|
|
8546
|
+
jsi::Value
|
|
8547
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_complete(
|
|
8548
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8549
|
+
size_t count) {
|
|
8550
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_rustchat_complete();
|
|
8551
|
+
|
|
8552
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8553
|
+
}
|
|
7895
8554
|
jsi::Value NativeNobodywho::
|
|
7896
8555
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_history(
|
|
7897
8556
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8056,6 +8715,15 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
|
8056
8715
|
|
|
8057
8716
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8058
8717
|
}
|
|
8718
|
+
jsi::Value NativeNobodywho::
|
|
8719
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch(
|
|
8720
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8721
|
+
size_t count) {
|
|
8722
|
+
auto value =
|
|
8723
|
+
uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch();
|
|
8724
|
+
|
|
8725
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8726
|
+
}
|
|
8059
8727
|
jsi::Value
|
|
8060
8728
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
8061
8729
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8065,37 +8733,56 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
|
8065
8733
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8066
8734
|
}
|
|
8067
8735
|
jsi::Value NativeNobodywho::
|
|
8068
|
-
|
|
8736
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file(
|
|
8737
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8738
|
+
size_t count) {
|
|
8739
|
+
auto value =
|
|
8740
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file();
|
|
8741
|
+
|
|
8742
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8743
|
+
}
|
|
8744
|
+
jsi::Value NativeNobodywho::
|
|
8745
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm(
|
|
8069
8746
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8070
8747
|
size_t count) {
|
|
8071
8748
|
auto value =
|
|
8072
|
-
|
|
8749
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_pcm();
|
|
8073
8750
|
|
|
8074
8751
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8075
8752
|
}
|
|
8076
8753
|
jsi::Value NativeNobodywho::
|
|
8077
|
-
|
|
8754
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed(
|
|
8078
8755
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8079
8756
|
size_t count) {
|
|
8080
|
-
auto value =
|
|
8757
|
+
auto value =
|
|
8758
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_completed();
|
|
8759
|
+
|
|
8760
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8761
|
+
}
|
|
8762
|
+
jsi::Value NativeNobodywho::
|
|
8763
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token(
|
|
8764
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8765
|
+
size_t count) {
|
|
8766
|
+
auto value =
|
|
8767
|
+
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotextstream_next_token();
|
|
8081
8768
|
|
|
8082
8769
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8083
8770
|
}
|
|
8084
8771
|
jsi::Value NativeNobodywho::
|
|
8085
|
-
|
|
8772
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize(
|
|
8086
8773
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8087
8774
|
size_t count) {
|
|
8088
8775
|
auto value =
|
|
8089
|
-
|
|
8776
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize();
|
|
8090
8777
|
|
|
8091
8778
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8092
8779
|
}
|
|
8093
8780
|
jsi::Value NativeNobodywho::
|
|
8094
|
-
|
|
8781
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async(
|
|
8095
8782
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8096
8783
|
size_t count) {
|
|
8097
8784
|
auto value =
|
|
8098
|
-
|
|
8785
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttexttospeech_synthesize_async();
|
|
8099
8786
|
|
|
8100
8787
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8101
8788
|
}
|
|
@@ -8144,20 +8831,30 @@ jsi::Value NativeNobodywho::
|
|
|
8144
8831
|
|
|
8145
8832
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8146
8833
|
}
|
|
8147
|
-
jsi::Value
|
|
8148
|
-
|
|
8149
|
-
|
|
8150
|
-
|
|
8151
|
-
auto value =
|
|
8834
|
+
jsi::Value NativeNobodywho::
|
|
8835
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish(
|
|
8836
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8837
|
+
size_t count) {
|
|
8838
|
+
auto value =
|
|
8839
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_finish();
|
|
8840
|
+
|
|
8841
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8842
|
+
}
|
|
8843
|
+
jsi::Value NativeNobodywho::
|
|
8844
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push(
|
|
8845
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8846
|
+
size_t count) {
|
|
8847
|
+
auto value =
|
|
8848
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push();
|
|
8152
8849
|
|
|
8153
8850
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8154
8851
|
}
|
|
8155
8852
|
jsi::Value NativeNobodywho::
|
|
8156
|
-
|
|
8853
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment(
|
|
8157
8854
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8158
8855
|
size_t count) {
|
|
8159
8856
|
auto value =
|
|
8160
|
-
|
|
8857
|
+
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment();
|
|
8161
8858
|
|
|
8162
8859
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8163
8860
|
}
|
|
@@ -8177,6 +8874,15 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry(
|
|
|
8177
8874
|
|
|
8178
8875
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8179
8876
|
}
|
|
8877
|
+
jsi::Value NativeNobodywho::
|
|
8878
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature(
|
|
8879
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8880
|
+
size_t count) {
|
|
8881
|
+
auto value =
|
|
8882
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature();
|
|
8883
|
+
|
|
8884
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8885
|
+
}
|
|
8180
8886
|
jsi::Value NativeNobodywho::
|
|
8181
8887
|
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar(
|
|
8182
8888
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8193,6 +8899,15 @@ jsi::Value NativeNobodywho::
|
|
|
8193
8899
|
|
|
8194
8900
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8195
8901
|
}
|
|
8902
|
+
jsi::Value NativeNobodywho::
|
|
8903
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_bias(
|
|
8904
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8905
|
+
size_t count) {
|
|
8906
|
+
auto value =
|
|
8907
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_bias();
|
|
8908
|
+
|
|
8909
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8910
|
+
}
|
|
8196
8911
|
jsi::Value NativeNobodywho::
|
|
8197
8912
|
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_min_p(
|
|
8198
8913
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8253,6 +8968,15 @@ jsi::Value NativeNobodywho::
|
|
|
8253
8968
|
|
|
8254
8969
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8255
8970
|
}
|
|
8971
|
+
jsi::Value NativeNobodywho::
|
|
8972
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_sigma(
|
|
8973
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8974
|
+
size_t count) {
|
|
8975
|
+
auto value =
|
|
8976
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_sigma();
|
|
8977
|
+
|
|
8978
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8979
|
+
}
|
|
8256
8980
|
jsi::Value NativeNobodywho::
|
|
8257
8981
|
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_p(
|
|
8258
8982
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8311,11 +9035,21 @@ jsi::Value NativeNobodywho::
|
|
|
8311
9035
|
|
|
8312
9036
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8313
9037
|
}
|
|
8314
|
-
jsi::Value
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
auto value =
|
|
9038
|
+
jsi::Value NativeNobodywho::
|
|
9039
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new(
|
|
9040
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
9041
|
+
size_t count) {
|
|
9042
|
+
auto value =
|
|
9043
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rustspeechtotext_new();
|
|
9044
|
+
|
|
9045
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9046
|
+
}
|
|
9047
|
+
jsi::Value NativeNobodywho::
|
|
9048
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new(
|
|
9049
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
9050
|
+
size_t count) {
|
|
9051
|
+
auto value =
|
|
9052
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rusttexttospeech_new();
|
|
8319
9053
|
|
|
8320
9054
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8321
9055
|
}
|
|
@@ -8336,11 +9070,12 @@ jsi::Value NativeNobodywho::
|
|
|
8336
9070
|
|
|
8337
9071
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8338
9072
|
}
|
|
8339
|
-
jsi::Value
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
|
|
8343
|
-
auto value =
|
|
9073
|
+
jsi::Value NativeNobodywho::
|
|
9074
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new(
|
|
9075
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
9076
|
+
size_t count) {
|
|
9077
|
+
auto value =
|
|
9078
|
+
uniffi_nobodywho_uniffi_checksum_constructor_rustvoiceactivitydetection_new();
|
|
8344
9079
|
|
|
8345
9080
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8346
9081
|
}
|