react-native-nobodywho 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/cpp/nobodywho.cpp +1093 -28
- package/generated/cpp/nobodywho.hpp +131 -0
- package/generated/ts/nobodywho-ffi.ts +41 -0
- package/generated/ts/nobodywho.ts +935 -22
- package/package.json +1 -1
- package/src/chat.ts +19 -1
- package/src/message.ts +1 -1
- package/src/model.ts +8 -0
- package/src/prompt.ts +15 -1
- package/src/stt.ts +69 -0
- package/src/tts.ts +78 -0
- package/src/wrapper.ts +58 -4
|
@@ -123,6 +123,9 @@ void uniffi_nobodywho_uniffi_fn_free_rustchat(
|
|
|
123
123
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
|
|
124
124
|
/*handle*/ uint64_t ptr, RustBuffer message,
|
|
125
125
|
RustCallStatus *uniffi_out_err);
|
|
126
|
+
/*handle*/ uint64_t
|
|
127
|
+
uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
|
|
128
|
+
/*handle*/ uint64_t ptr, RustBuffer json, RustCallStatus *uniffi_out_err);
|
|
126
129
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
|
|
127
130
|
/*handle*/ uint64_t ptr, RustBuffer parts, RustCallStatus *uniffi_out_err);
|
|
128
131
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_get_chat_history(
|
|
@@ -130,6 +133,8 @@ void uniffi_nobodywho_uniffi_fn_free_rustchat(
|
|
|
130
133
|
/*handle*/ uint64_t
|
|
131
134
|
uniffi_nobodywho_uniffi_fn_method_rustchat_get_sampler_config_json(
|
|
132
135
|
/*handle*/ uint64_t ptr);
|
|
136
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats(
|
|
137
|
+
/*handle*/ uint64_t ptr);
|
|
133
138
|
/*handle*/ uint64_t
|
|
134
139
|
uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt(
|
|
135
140
|
/*handle*/ uint64_t ptr);
|
|
@@ -156,6 +161,11 @@ uniffi_nobodywho_uniffi_fn_method_rustchat_set_template_variable(
|
|
|
156
161
|
/*handle*/ uint64_t ptr, RustBuffer tools);
|
|
157
162
|
void uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(
|
|
158
163
|
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
164
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize(
|
|
165
|
+
/*handle*/ uint64_t ptr, RustBuffer message);
|
|
166
|
+
/*handle*/ uint64_t
|
|
167
|
+
uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_prompt(
|
|
168
|
+
/*handle*/ uint64_t ptr, RustBuffer parts);
|
|
159
169
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder(
|
|
160
170
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
161
171
|
void uniffi_nobodywho_uniffi_fn_free_rustcrossencoder(
|
|
@@ -181,6 +191,28 @@ void uniffi_nobodywho_uniffi_fn_free_rustencoder(
|
|
|
181
191
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
182
192
|
void uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
183
193
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
194
|
+
uint32_t uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
195
|
+
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
196
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_ruststt(
|
|
197
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
198
|
+
void uniffi_nobodywho_uniffi_fn_free_ruststt(
|
|
199
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
200
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
|
|
201
|
+
RustBuffer source, RustBuffer language, RustBuffer quantization,
|
|
202
|
+
RustCallStatus *uniffi_out_err);
|
|
203
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
|
|
204
|
+
/*handle*/ uint64_t ptr, RustBuffer path, RustCallStatus *uniffi_out_err);
|
|
205
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
|
|
206
|
+
/*handle*/ uint64_t ptr, RustBuffer samples, uint32_t sample_rate,
|
|
207
|
+
RustCallStatus *uniffi_out_err);
|
|
208
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
|
|
209
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
210
|
+
void uniffi_nobodywho_uniffi_fn_free_ruststtstream(
|
|
211
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
212
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed(
|
|
213
|
+
/*handle*/ uint64_t ptr);
|
|
214
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token(
|
|
215
|
+
/*handle*/ uint64_t ptr);
|
|
184
216
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(
|
|
185
217
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
186
218
|
void uniffi_nobodywho_uniffi_fn_free_rusttokenstream(
|
|
@@ -208,6 +240,19 @@ uniffi_nobodywho_uniffi_fn_method_rusttool_next_pending_call(
|
|
|
208
240
|
void uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
|
|
209
241
|
/*handle*/ uint64_t ptr, RustBuffer call_id, RustBuffer result,
|
|
210
242
|
RustCallStatus *uniffi_out_err);
|
|
243
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
244
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
245
|
+
void uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
246
|
+
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
247
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
|
|
248
|
+
RustBuffer source, RustBuffer architecture, RustBuffer voice,
|
|
249
|
+
RustBuffer language, RustBuffer speed, RustBuffer steps,
|
|
250
|
+
RustBuffer silence_duration, RustBuffer device,
|
|
251
|
+
RustCallStatus *uniffi_out_err);
|
|
252
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
|
|
253
|
+
/*handle*/ uint64_t ptr, RustBuffer text, RustCallStatus *uniffi_out_err);
|
|
254
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
|
|
255
|
+
/*handle*/ uint64_t ptr, RustBuffer text);
|
|
211
256
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
|
|
212
257
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
213
258
|
void uniffi_nobodywho_uniffi_fn_free_samplerbuilder(
|
|
@@ -239,6 +284,8 @@ uniffi_nobodywho_uniffi_fn_method_samplerbuilder_mirostat_v2(
|
|
|
239
284
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_penalties(
|
|
240
285
|
/*handle*/ uint64_t ptr, int32_t penalty_last_n, float penalty_repeat,
|
|
241
286
|
float penalty_freq, float penalty_present, RustCallStatus *uniffi_out_err);
|
|
287
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_seed(
|
|
288
|
+
/*handle*/ uint64_t ptr, uint32_t seed, RustCallStatus *uniffi_out_err);
|
|
242
289
|
/*handle*/ uint64_t
|
|
243
290
|
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_temperature(
|
|
244
291
|
/*handle*/ uint64_t ptr, float temperature, RustCallStatus *uniffi_out_err);
|
|
@@ -270,9 +317,15 @@ float uniffi_nobodywho_uniffi_fn_func_cosine_similarity(
|
|
|
270
317
|
RustBuffer a, RustBuffer b, RustCallStatus *uniffi_out_err);
|
|
271
318
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_download_model(
|
|
272
319
|
RustBuffer model_path, RustBuffer headers, RustBuffer on_download_progress);
|
|
320
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_func_get_cached_models(
|
|
321
|
+
RustCallStatus *uniffi_out_err);
|
|
273
322
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
274
323
|
RustBuffer model_path, int8_t use_gpu, RustBuffer projection_model_path,
|
|
275
324
|
RustBuffer on_download_progress);
|
|
325
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_tts(
|
|
326
|
+
RustBuffer source, RustBuffer architecture, RustBuffer voice,
|
|
327
|
+
RustBuffer language, RustBuffer speed, RustBuffer steps,
|
|
328
|
+
RustBuffer silence_duration, RustBuffer device);
|
|
276
329
|
/*handle*/ uint64_t
|
|
277
330
|
uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
|
|
278
331
|
RustBuffer grammar, RustCallStatus *uniffi_out_err);
|
|
@@ -419,7 +472,9 @@ void ffi_nobodywho_uniffi_rust_future_complete_void(
|
|
|
419
472
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
420
473
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_cosine_similarity();
|
|
421
474
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_download_model();
|
|
475
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_get_cached_models();
|
|
422
476
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_model();
|
|
477
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_tts();
|
|
423
478
|
uint16_t
|
|
424
479
|
uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_grammar();
|
|
425
480
|
uint16_t
|
|
@@ -435,10 +490,13 @@ uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_temperature();
|
|
|
435
490
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_top_k();
|
|
436
491
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_top_p();
|
|
437
492
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask();
|
|
493
|
+
uint16_t
|
|
494
|
+
uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt();
|
|
438
495
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt();
|
|
439
496
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_history();
|
|
440
497
|
uint16_t
|
|
441
498
|
uniffi_nobodywho_uniffi_checksum_method_rustchat_get_sampler_config_json();
|
|
499
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats();
|
|
442
500
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_prompt();
|
|
443
501
|
uint16_t
|
|
444
502
|
uniffi_nobodywho_uniffi_checksum_method_rustchat_get_template_variables();
|
|
@@ -451,16 +509,26 @@ uint16_t
|
|
|
451
509
|
uniffi_nobodywho_uniffi_checksum_method_rustchat_set_template_variable();
|
|
452
510
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_tools();
|
|
453
511
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_stop_generation();
|
|
512
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize();
|
|
513
|
+
uint16_t
|
|
514
|
+
uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_prompt();
|
|
454
515
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank();
|
|
455
516
|
uint16_t
|
|
456
517
|
uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json();
|
|
457
518
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode();
|
|
519
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx();
|
|
520
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_file();
|
|
521
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm();
|
|
522
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_ruststtstream_completed();
|
|
523
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_token();
|
|
458
524
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed();
|
|
459
525
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_token();
|
|
460
526
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_get_schema_json();
|
|
461
527
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_next_pending_call();
|
|
462
528
|
uint16_t
|
|
463
529
|
uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call();
|
|
530
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize();
|
|
531
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_async();
|
|
464
532
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist();
|
|
465
533
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry();
|
|
466
534
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar();
|
|
@@ -469,6 +537,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_min_p();
|
|
|
469
537
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_mirostat_v1();
|
|
470
538
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_mirostat_v2();
|
|
471
539
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_penalties();
|
|
540
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_seed();
|
|
472
541
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_temperature();
|
|
473
542
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_k();
|
|
474
543
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_p();
|
|
@@ -478,8 +547,10 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerconfig_to_json();
|
|
|
478
547
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustchat_new();
|
|
479
548
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustcrossencoder_new();
|
|
480
549
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new();
|
|
550
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new();
|
|
481
551
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new();
|
|
482
552
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async();
|
|
553
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new();
|
|
483
554
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new();
|
|
484
555
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerconfig_from_json();
|
|
485
556
|
uint16_t
|
|
@@ -2681,6 +2752,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2681
2752
|
return this->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
|
|
2682
2753
|
rt, thisVal, args, count);
|
|
2683
2754
|
});
|
|
2755
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_"
|
|
2756
|
+
"prompt"] = jsi::Function::createFromHostFunction(
|
|
2757
|
+
rt,
|
|
2758
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
2759
|
+
"rustchat_ask_with_json_prompt"),
|
|
2760
|
+
2,
|
|
2761
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2762
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2763
|
+
return this
|
|
2764
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
|
|
2765
|
+
rt, thisVal, args, count);
|
|
2766
|
+
});
|
|
2684
2767
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt"] =
|
|
2685
2768
|
jsi::Function::createFromHostFunction(
|
|
2686
2769
|
rt,
|
|
@@ -2717,6 +2800,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2717
2800
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_sampler_config_json(
|
|
2718
2801
|
rt, thisVal, args, count);
|
|
2719
2802
|
});
|
|
2803
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats"] =
|
|
2804
|
+
jsi::Function::createFromHostFunction(
|
|
2805
|
+
rt,
|
|
2806
|
+
jsi::PropNameID::forAscii(
|
|
2807
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats"),
|
|
2808
|
+
1,
|
|
2809
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2810
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2811
|
+
return this
|
|
2812
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats(
|
|
2813
|
+
rt, thisVal, args, count);
|
|
2814
|
+
});
|
|
2720
2815
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt"] =
|
|
2721
2816
|
jsi::Function::createFromHostFunction(
|
|
2722
2817
|
rt,
|
|
@@ -2839,6 +2934,30 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2839
2934
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(
|
|
2840
2935
|
rt, thisVal, args, count);
|
|
2841
2936
|
});
|
|
2937
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize"] =
|
|
2938
|
+
jsi::Function::createFromHostFunction(
|
|
2939
|
+
rt,
|
|
2940
|
+
jsi::PropNameID::forAscii(
|
|
2941
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize"),
|
|
2942
|
+
2,
|
|
2943
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2944
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2945
|
+
return this
|
|
2946
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize(
|
|
2947
|
+
rt, thisVal, args, count);
|
|
2948
|
+
});
|
|
2949
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_"
|
|
2950
|
+
"prompt"] = jsi::Function::createFromHostFunction(
|
|
2951
|
+
rt,
|
|
2952
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
2953
|
+
"rustchat_tokenize_with_prompt"),
|
|
2954
|
+
2,
|
|
2955
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2956
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2957
|
+
return this
|
|
2958
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_prompt(
|
|
2959
|
+
rt, thisVal, args, count);
|
|
2960
|
+
});
|
|
2842
2961
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder"] =
|
|
2843
2962
|
jsi::Function::createFromHostFunction(
|
|
2844
2963
|
rt,
|
|
@@ -2967,6 +3086,124 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2967
3086
|
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
2968
3087
|
rt, thisVal, args, count);
|
|
2969
3088
|
});
|
|
3089
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx"] =
|
|
3090
|
+
jsi::Function::createFromHostFunction(
|
|
3091
|
+
rt,
|
|
3092
|
+
jsi::PropNameID::forAscii(
|
|
3093
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx"),
|
|
3094
|
+
1,
|
|
3095
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3096
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3097
|
+
return this
|
|
3098
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
3099
|
+
rt, thisVal, args, count);
|
|
3100
|
+
});
|
|
3101
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_ruststt"] =
|
|
3102
|
+
jsi::Function::createFromHostFunction(
|
|
3103
|
+
rt,
|
|
3104
|
+
jsi::PropNameID::forAscii(
|
|
3105
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_ruststt"),
|
|
3106
|
+
1,
|
|
3107
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3108
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3109
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_ruststt(
|
|
3110
|
+
rt, thisVal, args, count);
|
|
3111
|
+
});
|
|
3112
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_ruststt"] =
|
|
3113
|
+
jsi::Function::createFromHostFunction(
|
|
3114
|
+
rt,
|
|
3115
|
+
jsi::PropNameID::forAscii(
|
|
3116
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_ruststt"),
|
|
3117
|
+
1,
|
|
3118
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3119
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3120
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_free_ruststt(
|
|
3121
|
+
rt, thisVal, args, count);
|
|
3122
|
+
});
|
|
3123
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new"] =
|
|
3124
|
+
jsi::Function::createFromHostFunction(
|
|
3125
|
+
rt,
|
|
3126
|
+
jsi::PropNameID::forAscii(
|
|
3127
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new"),
|
|
3128
|
+
3,
|
|
3129
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3130
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3131
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
|
|
3132
|
+
rt, thisVal, args, count);
|
|
3133
|
+
});
|
|
3134
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file"] =
|
|
3135
|
+
jsi::Function::createFromHostFunction(
|
|
3136
|
+
rt,
|
|
3137
|
+
jsi::PropNameID::forAscii(
|
|
3138
|
+
rt,
|
|
3139
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file"),
|
|
3140
|
+
2,
|
|
3141
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3142
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3143
|
+
return this
|
|
3144
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
|
|
3145
|
+
rt, thisVal, args, count);
|
|
3146
|
+
});
|
|
3147
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm"] =
|
|
3148
|
+
jsi::Function::createFromHostFunction(
|
|
3149
|
+
rt,
|
|
3150
|
+
jsi::PropNameID::forAscii(
|
|
3151
|
+
rt,
|
|
3152
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm"),
|
|
3153
|
+
3,
|
|
3154
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3155
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3156
|
+
return this
|
|
3157
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
|
|
3158
|
+
rt, thisVal, args, count);
|
|
3159
|
+
});
|
|
3160
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_ruststtstream"] =
|
|
3161
|
+
jsi::Function::createFromHostFunction(
|
|
3162
|
+
rt,
|
|
3163
|
+
jsi::PropNameID::forAscii(
|
|
3164
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_ruststtstream"),
|
|
3165
|
+
1,
|
|
3166
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3167
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3168
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
|
|
3169
|
+
rt, thisVal, args, count);
|
|
3170
|
+
});
|
|
3171
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_ruststtstream"] =
|
|
3172
|
+
jsi::Function::createFromHostFunction(
|
|
3173
|
+
rt,
|
|
3174
|
+
jsi::PropNameID::forAscii(
|
|
3175
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_ruststtstream"),
|
|
3176
|
+
1,
|
|
3177
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3178
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3179
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_free_ruststtstream(
|
|
3180
|
+
rt, thisVal, args, count);
|
|
3181
|
+
});
|
|
3182
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed"] =
|
|
3183
|
+
jsi::Function::createFromHostFunction(
|
|
3184
|
+
rt,
|
|
3185
|
+
jsi::PropNameID::forAscii(
|
|
3186
|
+
rt,
|
|
3187
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed"),
|
|
3188
|
+
1,
|
|
3189
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3190
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3191
|
+
return this
|
|
3192
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed(
|
|
3193
|
+
rt, thisVal, args, count);
|
|
3194
|
+
});
|
|
3195
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token"] =
|
|
3196
|
+
jsi::Function::createFromHostFunction(
|
|
3197
|
+
rt,
|
|
3198
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3199
|
+
"method_ruststtstream_next_token"),
|
|
3200
|
+
1,
|
|
3201
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3202
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3203
|
+
return this
|
|
3204
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token(
|
|
3205
|
+
rt, thisVal, args, count);
|
|
3206
|
+
});
|
|
2970
3207
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream"] =
|
|
2971
3208
|
jsi::Function::createFromHostFunction(
|
|
2972
3209
|
rt,
|
|
@@ -3096,6 +3333,63 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3096
3333
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
|
|
3097
3334
|
rt, thisVal, args, count);
|
|
3098
3335
|
});
|
|
3336
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttts"] =
|
|
3337
|
+
jsi::Function::createFromHostFunction(
|
|
3338
|
+
rt,
|
|
3339
|
+
jsi::PropNameID::forAscii(
|
|
3340
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttts"),
|
|
3341
|
+
1,
|
|
3342
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3343
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3344
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
3345
|
+
rt, thisVal, args, count);
|
|
3346
|
+
});
|
|
3347
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_free_rusttts"] =
|
|
3348
|
+
jsi::Function::createFromHostFunction(
|
|
3349
|
+
rt,
|
|
3350
|
+
jsi::PropNameID::forAscii(
|
|
3351
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_free_rusttts"),
|
|
3352
|
+
1,
|
|
3353
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3354
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3355
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
3356
|
+
rt, thisVal, args, count);
|
|
3357
|
+
});
|
|
3358
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"] =
|
|
3359
|
+
jsi::Function::createFromHostFunction(
|
|
3360
|
+
rt,
|
|
3361
|
+
jsi::PropNameID::forAscii(
|
|
3362
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new"),
|
|
3363
|
+
8,
|
|
3364
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3365
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3366
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
|
|
3367
|
+
rt, thisVal, args, count);
|
|
3368
|
+
});
|
|
3369
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"] =
|
|
3370
|
+
jsi::Function::createFromHostFunction(
|
|
3371
|
+
rt,
|
|
3372
|
+
jsi::PropNameID::forAscii(
|
|
3373
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize"),
|
|
3374
|
+
2,
|
|
3375
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3376
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3377
|
+
return this
|
|
3378
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
|
|
3379
|
+
rt, thisVal, args, count);
|
|
3380
|
+
});
|
|
3381
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async"] =
|
|
3382
|
+
jsi::Function::createFromHostFunction(
|
|
3383
|
+
rt,
|
|
3384
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
3385
|
+
"method_rusttts_synthesize_async"),
|
|
3386
|
+
2,
|
|
3387
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3388
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3389
|
+
return this
|
|
3390
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
|
|
3391
|
+
rt, thisVal, args, count);
|
|
3392
|
+
});
|
|
3099
3393
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder"] =
|
|
3100
3394
|
jsi::Function::createFromHostFunction(
|
|
3101
3395
|
rt,
|
|
@@ -3230,6 +3524,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3230
3524
|
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_penalties(
|
|
3231
3525
|
rt, thisVal, args, count);
|
|
3232
3526
|
});
|
|
3527
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_seed"] =
|
|
3528
|
+
jsi::Function::createFromHostFunction(
|
|
3529
|
+
rt,
|
|
3530
|
+
jsi::PropNameID::forAscii(
|
|
3531
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_seed"),
|
|
3532
|
+
2,
|
|
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_method_samplerbuilder_seed(
|
|
3537
|
+
rt, thisVal, args, count);
|
|
3538
|
+
});
|
|
3233
3539
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_temperature"] =
|
|
3234
3540
|
jsi::Function::createFromHostFunction(
|
|
3235
3541
|
rt,
|
|
@@ -3386,6 +3692,17 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3386
3692
|
return this->cpp_uniffi_nobodywho_uniffi_fn_func_download_model(
|
|
3387
3693
|
rt, thisVal, args, count);
|
|
3388
3694
|
});
|
|
3695
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_get_cached_models"] =
|
|
3696
|
+
jsi::Function::createFromHostFunction(
|
|
3697
|
+
rt,
|
|
3698
|
+
jsi::PropNameID::forAscii(
|
|
3699
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_get_cached_models"),
|
|
3700
|
+
0,
|
|
3701
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3702
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3703
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_func_get_cached_models(
|
|
3704
|
+
rt, thisVal, args, count);
|
|
3705
|
+
});
|
|
3389
3706
|
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_model"] =
|
|
3390
3707
|
jsi::Function::createFromHostFunction(
|
|
3391
3708
|
rt,
|
|
@@ -3397,6 +3714,17 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3397
3714
|
return this->cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
3398
3715
|
rt, thisVal, args, count);
|
|
3399
3716
|
});
|
|
3717
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_func_load_tts"] =
|
|
3718
|
+
jsi::Function::createFromHostFunction(
|
|
3719
|
+
rt,
|
|
3720
|
+
jsi::PropNameID::forAscii(
|
|
3721
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_func_load_tts"),
|
|
3722
|
+
8,
|
|
3723
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3724
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3725
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_func_load_tts(
|
|
3726
|
+
rt, thisVal, args, count);
|
|
3727
|
+
});
|
|
3400
3728
|
props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_"
|
|
3401
3729
|
"grammar"] = jsi::Function::createFromHostFunction(
|
|
3402
3730
|
rt,
|
|
@@ -4086,6 +4414,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4086
4414
|
->cpp_uniffi_nobodywho_uniffi_checksum_func_download_model(
|
|
4087
4415
|
rt, thisVal, args, count);
|
|
4088
4416
|
});
|
|
4417
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_get_cached_models"] =
|
|
4418
|
+
jsi::Function::createFromHostFunction(
|
|
4419
|
+
rt,
|
|
4420
|
+
jsi::PropNameID::forAscii(
|
|
4421
|
+
rt,
|
|
4422
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_func_get_cached_models"),
|
|
4423
|
+
0,
|
|
4424
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4425
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4426
|
+
return this
|
|
4427
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_func_get_cached_models(
|
|
4428
|
+
rt, thisVal, args, count);
|
|
4429
|
+
});
|
|
4089
4430
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_model"] =
|
|
4090
4431
|
jsi::Function::createFromHostFunction(
|
|
4091
4432
|
rt,
|
|
@@ -4097,6 +4438,17 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4097
4438
|
return this->cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
4098
4439
|
rt, thisVal, args, count);
|
|
4099
4440
|
});
|
|
4441
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_load_tts"] =
|
|
4442
|
+
jsi::Function::createFromHostFunction(
|
|
4443
|
+
rt,
|
|
4444
|
+
jsi::PropNameID::forAscii(
|
|
4445
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_checksum_func_load_tts"),
|
|
4446
|
+
0,
|
|
4447
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4448
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4449
|
+
return this->cpp_uniffi_nobodywho_uniffi_checksum_func_load_tts(
|
|
4450
|
+
rt, thisVal, args, count);
|
|
4451
|
+
});
|
|
4100
4452
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_"
|
|
4101
4453
|
"with_grammar"] = jsi::Function::createFromHostFunction(
|
|
4102
4454
|
rt,
|
|
@@ -4245,6 +4597,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4245
4597
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask(
|
|
4246
4598
|
rt, thisVal, args, count);
|
|
4247
4599
|
});
|
|
4600
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_"
|
|
4601
|
+
"prompt"] = jsi::Function::createFromHostFunction(
|
|
4602
|
+
rt,
|
|
4603
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4604
|
+
"method_rustchat_ask_with_json_prompt"),
|
|
4605
|
+
0,
|
|
4606
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4607
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4608
|
+
return this
|
|
4609
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt(
|
|
4610
|
+
rt, thisVal, args, count);
|
|
4611
|
+
});
|
|
4248
4612
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_"
|
|
4249
4613
|
"prompt"] = jsi::Function::createFromHostFunction(
|
|
4250
4614
|
rt,
|
|
@@ -4281,6 +4645,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4281
4645
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_sampler_config_json(
|
|
4282
4646
|
rt, thisVal, args, count);
|
|
4283
4647
|
});
|
|
4648
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats"] =
|
|
4649
|
+
jsi::Function::createFromHostFunction(
|
|
4650
|
+
rt,
|
|
4651
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4652
|
+
"method_rustchat_get_stats"),
|
|
4653
|
+
0,
|
|
4654
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4655
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4656
|
+
return this
|
|
4657
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats(
|
|
4658
|
+
rt, thisVal, args, count);
|
|
4659
|
+
});
|
|
4284
4660
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_"
|
|
4285
4661
|
"prompt"] = jsi::Function::createFromHostFunction(
|
|
4286
4662
|
rt,
|
|
@@ -4401,29 +4777,54 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4401
4777
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_stop_generation(
|
|
4402
4778
|
rt, thisVal, args, count);
|
|
4403
4779
|
});
|
|
4404
|
-
props["
|
|
4780
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize"] =
|
|
4405
4781
|
jsi::Function::createFromHostFunction(
|
|
4406
4782
|
rt,
|
|
4407
|
-
jsi::PropNameID::forAscii(
|
|
4408
|
-
|
|
4783
|
+
jsi::PropNameID::forAscii(
|
|
4784
|
+
rt,
|
|
4785
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize"),
|
|
4409
4786
|
0,
|
|
4410
4787
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4411
4788
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4412
4789
|
return this
|
|
4413
|
-
->
|
|
4790
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize(
|
|
4414
4791
|
rt, thisVal, args, count);
|
|
4415
4792
|
});
|
|
4416
|
-
props["
|
|
4417
|
-
"
|
|
4793
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_"
|
|
4794
|
+
"prompt"] = jsi::Function::createFromHostFunction(
|
|
4418
4795
|
rt,
|
|
4419
|
-
jsi::PropNameID::forAscii(rt,
|
|
4420
|
-
|
|
4421
|
-
"rustcrossencoder_rank_and_sort_json"),
|
|
4796
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4797
|
+
"method_rustchat_tokenize_with_prompt"),
|
|
4422
4798
|
0,
|
|
4423
4799
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4424
4800
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4425
4801
|
return this
|
|
4426
|
-
->
|
|
4802
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_prompt(
|
|
4803
|
+
rt, thisVal, args, count);
|
|
4804
|
+
});
|
|
4805
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank"] =
|
|
4806
|
+
jsi::Function::createFromHostFunction(
|
|
4807
|
+
rt,
|
|
4808
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4809
|
+
"method_rustcrossencoder_rank"),
|
|
4810
|
+
0,
|
|
4811
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4812
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4813
|
+
return this
|
|
4814
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank(
|
|
4815
|
+
rt, thisVal, args, count);
|
|
4816
|
+
});
|
|
4817
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_"
|
|
4818
|
+
"and_sort_json"] = jsi::Function::createFromHostFunction(
|
|
4819
|
+
rt,
|
|
4820
|
+
jsi::PropNameID::forAscii(rt,
|
|
4821
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
4822
|
+
"rustcrossencoder_rank_and_sort_json"),
|
|
4823
|
+
0,
|
|
4824
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4825
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4826
|
+
return this
|
|
4827
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json(
|
|
4427
4828
|
rt, thisVal, args, count);
|
|
4428
4829
|
});
|
|
4429
4830
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode"] =
|
|
@@ -4438,6 +4839,67 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4438
4839
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
4439
4840
|
rt, thisVal, args, count);
|
|
4440
4841
|
});
|
|
4842
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx"] =
|
|
4843
|
+
jsi::Function::createFromHostFunction(
|
|
4844
|
+
rt,
|
|
4845
|
+
jsi::PropNameID::forAscii(
|
|
4846
|
+
rt,
|
|
4847
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx"),
|
|
4848
|
+
0,
|
|
4849
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4850
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4851
|
+
return this
|
|
4852
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
4853
|
+
rt, thisVal, args, count);
|
|
4854
|
+
});
|
|
4855
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_"
|
|
4856
|
+
"file"] = jsi::Function::createFromHostFunction(
|
|
4857
|
+
rt,
|
|
4858
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4859
|
+
"method_ruststt_transcribe_file"),
|
|
4860
|
+
0,
|
|
4861
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4862
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4863
|
+
return this
|
|
4864
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_file(
|
|
4865
|
+
rt, thisVal, args, count);
|
|
4866
|
+
});
|
|
4867
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm"] =
|
|
4868
|
+
jsi::Function::createFromHostFunction(
|
|
4869
|
+
rt,
|
|
4870
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4871
|
+
"method_ruststt_transcribe_pcm"),
|
|
4872
|
+
0,
|
|
4873
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4874
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4875
|
+
return this
|
|
4876
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm(
|
|
4877
|
+
rt, thisVal, args, count);
|
|
4878
|
+
});
|
|
4879
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_"
|
|
4880
|
+
"completed"] = jsi::Function::createFromHostFunction(
|
|
4881
|
+
rt,
|
|
4882
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4883
|
+
"method_ruststtstream_completed"),
|
|
4884
|
+
0,
|
|
4885
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4886
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4887
|
+
return this
|
|
4888
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_completed(
|
|
4889
|
+
rt, thisVal, args, count);
|
|
4890
|
+
});
|
|
4891
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_"
|
|
4892
|
+
"token"] = jsi::Function::createFromHostFunction(
|
|
4893
|
+
rt,
|
|
4894
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4895
|
+
"method_ruststtstream_next_token"),
|
|
4896
|
+
0,
|
|
4897
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4898
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4899
|
+
return this
|
|
4900
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_token(
|
|
4901
|
+
rt, thisVal, args, count);
|
|
4902
|
+
});
|
|
4441
4903
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_"
|
|
4442
4904
|
"completed"] = jsi::Function::createFromHostFunction(
|
|
4443
4905
|
rt,
|
|
@@ -4498,6 +4960,30 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4498
4960
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call(
|
|
4499
4961
|
rt, thisVal, args, count);
|
|
4500
4962
|
});
|
|
4963
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize"] =
|
|
4964
|
+
jsi::Function::createFromHostFunction(
|
|
4965
|
+
rt,
|
|
4966
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4967
|
+
"method_rusttts_synthesize"),
|
|
4968
|
+
0,
|
|
4969
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4970
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4971
|
+
return this
|
|
4972
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize(
|
|
4973
|
+
rt, thisVal, args, count);
|
|
4974
|
+
});
|
|
4975
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_"
|
|
4976
|
+
"async"] = jsi::Function::createFromHostFunction(
|
|
4977
|
+
rt,
|
|
4978
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4979
|
+
"method_rusttts_synthesize_async"),
|
|
4980
|
+
0,
|
|
4981
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4982
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4983
|
+
return this
|
|
4984
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_async(
|
|
4985
|
+
rt, thisVal, args, count);
|
|
4986
|
+
});
|
|
4501
4987
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist"] =
|
|
4502
4988
|
jsi::Function::createFromHostFunction(
|
|
4503
4989
|
rt,
|
|
@@ -4594,6 +5080,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4594
5080
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_penalties(
|
|
4595
5081
|
rt, thisVal, args, count);
|
|
4596
5082
|
});
|
|
5083
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_seed"] =
|
|
5084
|
+
jsi::Function::createFromHostFunction(
|
|
5085
|
+
rt,
|
|
5086
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5087
|
+
"method_samplerbuilder_seed"),
|
|
5088
|
+
0,
|
|
5089
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5090
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5091
|
+
return this
|
|
5092
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_seed(
|
|
5093
|
+
rt, thisVal, args, count);
|
|
5094
|
+
});
|
|
4597
5095
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_"
|
|
4598
5096
|
"temperature"] = jsi::Function::createFromHostFunction(
|
|
4599
5097
|
rt,
|
|
@@ -4703,6 +5201,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4703
5201
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new(
|
|
4704
5202
|
rt, thisVal, args, count);
|
|
4705
5203
|
});
|
|
5204
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new"] =
|
|
5205
|
+
jsi::Function::createFromHostFunction(
|
|
5206
|
+
rt,
|
|
5207
|
+
jsi::PropNameID::forAscii(
|
|
5208
|
+
rt,
|
|
5209
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new"),
|
|
5210
|
+
0,
|
|
5211
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5212
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5213
|
+
return this
|
|
5214
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new(
|
|
5215
|
+
rt, thisVal, args, count);
|
|
5216
|
+
});
|
|
4706
5217
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new"] =
|
|
4707
5218
|
jsi::Function::createFromHostFunction(
|
|
4708
5219
|
rt,
|
|
@@ -4728,6 +5239,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4728
5239
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async(
|
|
4729
5240
|
rt, thisVal, args, count);
|
|
4730
5241
|
});
|
|
5242
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new"] =
|
|
5243
|
+
jsi::Function::createFromHostFunction(
|
|
5244
|
+
rt,
|
|
5245
|
+
jsi::PropNameID::forAscii(
|
|
5246
|
+
rt,
|
|
5247
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new"),
|
|
5248
|
+
0,
|
|
5249
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5250
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5251
|
+
return this
|
|
5252
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new(
|
|
5253
|
+
rt, thisVal, args, count);
|
|
5254
|
+
});
|
|
4731
5255
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_"
|
|
4732
5256
|
"new"] = jsi::Function::createFromHostFunction(
|
|
4733
5257
|
rt,
|
|
@@ -4839,6 +5363,30 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4839
5363
|
->cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
4840
5364
|
rt, thisVal, args, count);
|
|
4841
5365
|
});
|
|
5366
|
+
props["ubrn_uniffi_internal_fn_method_ruststt_ffi__bless_pointer"] =
|
|
5367
|
+
jsi::Function::createFromHostFunction(
|
|
5368
|
+
rt,
|
|
5369
|
+
jsi::PropNameID::forAscii(
|
|
5370
|
+
rt, "ubrn_uniffi_internal_fn_method_ruststt_ffi__bless_pointer"),
|
|
5371
|
+
1,
|
|
5372
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5373
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5374
|
+
return this
|
|
5375
|
+
->cpp_uniffi_internal_fn_method_ruststt_ffi__bless_pointer(
|
|
5376
|
+
rt, thisVal, args, count);
|
|
5377
|
+
});
|
|
5378
|
+
props["ubrn_uniffi_internal_fn_method_ruststtstream_ffi__bless_pointer"] =
|
|
5379
|
+
jsi::Function::createFromHostFunction(
|
|
5380
|
+
rt,
|
|
5381
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_method_"
|
|
5382
|
+
"ruststtstream_ffi__bless_pointer"),
|
|
5383
|
+
1,
|
|
5384
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5385
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5386
|
+
return this
|
|
5387
|
+
->cpp_uniffi_internal_fn_method_ruststtstream_ffi__bless_pointer(
|
|
5388
|
+
rt, thisVal, args, count);
|
|
5389
|
+
});
|
|
4842
5390
|
props["ubrn_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer"] =
|
|
4843
5391
|
jsi::Function::createFromHostFunction(
|
|
4844
5392
|
rt,
|
|
@@ -4863,6 +5411,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4863
5411
|
->cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
4864
5412
|
rt, thisVal, args, count);
|
|
4865
5413
|
});
|
|
5414
|
+
props["ubrn_uniffi_internal_fn_method_rusttts_ffi__bless_pointer"] =
|
|
5415
|
+
jsi::Function::createFromHostFunction(
|
|
5416
|
+
rt,
|
|
5417
|
+
jsi::PropNameID::forAscii(
|
|
5418
|
+
rt, "ubrn_uniffi_internal_fn_method_rusttts_ffi__bless_pointer"),
|
|
5419
|
+
1,
|
|
5420
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5421
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5422
|
+
return this
|
|
5423
|
+
->cpp_uniffi_internal_fn_method_rusttts_ffi__bless_pointer(
|
|
5424
|
+
rt, thisVal, args, count);
|
|
5425
|
+
});
|
|
4866
5426
|
props["ubrn_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer"] =
|
|
4867
5427
|
jsi::Function::createFromHostFunction(
|
|
4868
5428
|
rt,
|
|
@@ -5025,6 +5585,36 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
|
5025
5585
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5026
5586
|
return jsi::Value(rt, obj);
|
|
5027
5587
|
}
|
|
5588
|
+
jsi::Value
|
|
5589
|
+
NativeNobodywho::cpp_uniffi_internal_fn_method_ruststt_ffi__bless_pointer(
|
|
5590
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5591
|
+
size_t count) {
|
|
5592
|
+
auto pointer =
|
|
5593
|
+
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5594
|
+
auto static destructor = [](uint64_t p) {
|
|
5595
|
+
RustCallStatus status = {0};
|
|
5596
|
+
uniffi_nobodywho_uniffi_fn_free_ruststt(p, &status);
|
|
5597
|
+
};
|
|
5598
|
+
auto ptrObj =
|
|
5599
|
+
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
5600
|
+
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5601
|
+
return jsi::Value(rt, obj);
|
|
5602
|
+
}
|
|
5603
|
+
jsi::Value
|
|
5604
|
+
NativeNobodywho::cpp_uniffi_internal_fn_method_ruststtstream_ffi__bless_pointer(
|
|
5605
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5606
|
+
size_t count) {
|
|
5607
|
+
auto pointer =
|
|
5608
|
+
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5609
|
+
auto static destructor = [](uint64_t p) {
|
|
5610
|
+
RustCallStatus status = {0};
|
|
5611
|
+
uniffi_nobodywho_uniffi_fn_free_ruststtstream(p, &status);
|
|
5612
|
+
};
|
|
5613
|
+
auto ptrObj =
|
|
5614
|
+
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
5615
|
+
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5616
|
+
return jsi::Value(rt, obj);
|
|
5617
|
+
}
|
|
5028
5618
|
jsi::Value NativeNobodywho::
|
|
5029
5619
|
cpp_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer(
|
|
5030
5620
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -5055,6 +5645,21 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
|
5055
5645
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5056
5646
|
return jsi::Value(rt, obj);
|
|
5057
5647
|
}
|
|
5648
|
+
jsi::Value
|
|
5649
|
+
NativeNobodywho::cpp_uniffi_internal_fn_method_rusttts_ffi__bless_pointer(
|
|
5650
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5651
|
+
size_t count) {
|
|
5652
|
+
auto pointer =
|
|
5653
|
+
uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
|
|
5654
|
+
auto static destructor = [](uint64_t p) {
|
|
5655
|
+
RustCallStatus status = {0};
|
|
5656
|
+
uniffi_nobodywho_uniffi_fn_free_rusttts(p, &status);
|
|
5657
|
+
};
|
|
5658
|
+
auto ptrObj =
|
|
5659
|
+
std::make_shared<uniffi_jsi::DestructibleObject>(pointer, destructor);
|
|
5660
|
+
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5661
|
+
return jsi::Value(rt, obj);
|
|
5662
|
+
}
|
|
5058
5663
|
jsi::Value NativeNobodywho::
|
|
5059
5664
|
cpp_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer(
|
|
5060
5665
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -5153,6 +5758,23 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
|
|
|
5153
5758
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5154
5759
|
value);
|
|
5155
5760
|
}
|
|
5761
|
+
jsi::Value NativeNobodywho::
|
|
5762
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
|
|
5763
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5764
|
+
size_t count) {
|
|
5765
|
+
RustCallStatus status =
|
|
5766
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
5767
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
|
|
5768
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
5769
|
+
args[0]),
|
|
5770
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
5771
|
+
&status);
|
|
5772
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
5773
|
+
rt, callInvoker, status, args[count - 1]);
|
|
5774
|
+
|
|
5775
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5776
|
+
value);
|
|
5777
|
+
}
|
|
5156
5778
|
jsi::Value
|
|
5157
5779
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
|
|
5158
5780
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -5193,6 +5815,17 @@ jsi::Value NativeNobodywho::
|
|
|
5193
5815
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5194
5816
|
value);
|
|
5195
5817
|
}
|
|
5818
|
+
jsi::Value
|
|
5819
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats(
|
|
5820
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5821
|
+
size_t count) {
|
|
5822
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_get_stats(
|
|
5823
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
5824
|
+
args[0]));
|
|
5825
|
+
|
|
5826
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5827
|
+
value);
|
|
5828
|
+
}
|
|
5196
5829
|
jsi::Value NativeNobodywho::
|
|
5197
5830
|
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt(
|
|
5198
5831
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -5322,6 +5955,32 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(
|
|
|
5322
5955
|
return jsi::Value::undefined();
|
|
5323
5956
|
}
|
|
5324
5957
|
jsi::Value
|
|
5958
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize(
|
|
5959
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5960
|
+
size_t count) {
|
|
5961
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize(
|
|
5962
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
5963
|
+
args[0]),
|
|
5964
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
5965
|
+
args[1]));
|
|
5966
|
+
|
|
5967
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5968
|
+
value);
|
|
5969
|
+
}
|
|
5970
|
+
jsi::Value NativeNobodywho::
|
|
5971
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_prompt(
|
|
5972
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5973
|
+
size_t count) {
|
|
5974
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_tokenize_with_prompt(
|
|
5975
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
5976
|
+
args[0]),
|
|
5977
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
5978
|
+
args[1]));
|
|
5979
|
+
|
|
5980
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5981
|
+
value);
|
|
5982
|
+
}
|
|
5983
|
+
jsi::Value
|
|
5325
5984
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder(
|
|
5326
5985
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5327
5986
|
size_t count) {
|
|
@@ -5404,37 +6063,157 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustencoder(
|
|
|
5404
6063
|
size_t count) {
|
|
5405
6064
|
RustCallStatus status =
|
|
5406
6065
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
5407
|
-
auto value = uniffi_nobodywho_uniffi_fn_clone_rustencoder(
|
|
6066
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustencoder(
|
|
6067
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6068
|
+
args[0]),
|
|
6069
|
+
&status);
|
|
6070
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6071
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6072
|
+
|
|
6073
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6074
|
+
value);
|
|
6075
|
+
}
|
|
6076
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustencoder(
|
|
6077
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6078
|
+
size_t count) {
|
|
6079
|
+
RustCallStatus status =
|
|
6080
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6081
|
+
uniffi_nobodywho_uniffi_fn_free_rustencoder(
|
|
6082
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6083
|
+
args[0]),
|
|
6084
|
+
&status);
|
|
6085
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6086
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6087
|
+
|
|
6088
|
+
return jsi::Value::undefined();
|
|
6089
|
+
}
|
|
6090
|
+
jsi::Value
|
|
6091
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_rustencoder_new(
|
|
6092
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6093
|
+
size_t count) {
|
|
6094
|
+
RustCallStatus status =
|
|
6095
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6096
|
+
auto value = uniffi_nobodywho_uniffi_fn_constructor_rustencoder_new(
|
|
6097
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6098
|
+
args[0]),
|
|
6099
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6100
|
+
&status);
|
|
6101
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6102
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6103
|
+
|
|
6104
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6105
|
+
value);
|
|
6106
|
+
}
|
|
6107
|
+
jsi::Value
|
|
6108
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
6109
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6110
|
+
size_t count) {
|
|
6111
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
6112
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6113
|
+
args[0]),
|
|
6114
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6115
|
+
args[1]));
|
|
6116
|
+
|
|
6117
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6118
|
+
value);
|
|
6119
|
+
}
|
|
6120
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
6121
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6122
|
+
size_t count) {
|
|
6123
|
+
RustCallStatus status =
|
|
6124
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6125
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
6126
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6127
|
+
args[0]),
|
|
6128
|
+
&status);
|
|
6129
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6130
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6131
|
+
|
|
6132
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6133
|
+
value);
|
|
6134
|
+
}
|
|
6135
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
6136
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6137
|
+
size_t count) {
|
|
6138
|
+
RustCallStatus status =
|
|
6139
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6140
|
+
uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
6141
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6142
|
+
args[0]),
|
|
6143
|
+
&status);
|
|
6144
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6145
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6146
|
+
|
|
6147
|
+
return jsi::Value::undefined();
|
|
6148
|
+
}
|
|
6149
|
+
jsi::Value
|
|
6150
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
6151
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6152
|
+
size_t count) {
|
|
6153
|
+
RustCallStatus status =
|
|
6154
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6155
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
6156
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6157
|
+
args[0]),
|
|
6158
|
+
&status);
|
|
6159
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6160
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6161
|
+
|
|
6162
|
+
return uniffi_jsi::Bridging<uint32_t>::toJs(rt, callInvoker, value);
|
|
6163
|
+
}
|
|
6164
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststt(
|
|
6165
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6166
|
+
size_t count) {
|
|
6167
|
+
RustCallStatus status =
|
|
6168
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6169
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_ruststt(
|
|
6170
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6171
|
+
args[0]),
|
|
6172
|
+
&status);
|
|
6173
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6174
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6175
|
+
|
|
6176
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6177
|
+
value);
|
|
6178
|
+
}
|
|
6179
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststt(
|
|
6180
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6181
|
+
size_t count) {
|
|
6182
|
+
RustCallStatus status =
|
|
6183
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6184
|
+
uniffi_nobodywho_uniffi_fn_free_ruststt(
|
|
5408
6185
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
5409
6186
|
args[0]),
|
|
5410
6187
|
&status);
|
|
5411
6188
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
5412
6189
|
rt, callInvoker, status, args[count - 1]);
|
|
5413
6190
|
|
|
5414
|
-
return
|
|
5415
|
-
value);
|
|
6191
|
+
return jsi::Value::undefined();
|
|
5416
6192
|
}
|
|
5417
|
-
jsi::Value
|
|
6193
|
+
jsi::Value
|
|
6194
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
|
|
5418
6195
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5419
6196
|
size_t count) {
|
|
5420
6197
|
RustCallStatus status =
|
|
5421
6198
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
6199
|
+
auto value = uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
|
|
6200
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6201
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6202
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
5425
6203
|
&status);
|
|
5426
6204
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
5427
6205
|
rt, callInvoker, status, args[count - 1]);
|
|
5428
6206
|
|
|
5429
|
-
return
|
|
6207
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6208
|
+
value);
|
|
5430
6209
|
}
|
|
5431
6210
|
jsi::Value
|
|
5432
|
-
NativeNobodywho::
|
|
6211
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
|
|
5433
6212
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5434
6213
|
size_t count) {
|
|
5435
6214
|
RustCallStatus status =
|
|
5436
6215
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
5437
|
-
auto value =
|
|
6216
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
|
|
5438
6217
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
5439
6218
|
args[0]),
|
|
5440
6219
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
@@ -5446,24 +6225,29 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_rustencoder_new(
|
|
|
5446
6225
|
value);
|
|
5447
6226
|
}
|
|
5448
6227
|
jsi::Value
|
|
5449
|
-
NativeNobodywho::
|
|
6228
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
|
|
5450
6229
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5451
6230
|
size_t count) {
|
|
5452
|
-
|
|
6231
|
+
RustCallStatus status =
|
|
6232
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6233
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
|
|
5453
6234
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
5454
6235
|
args[0]),
|
|
5455
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
5456
|
-
|
|
6236
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6237
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
|
|
6238
|
+
&status);
|
|
6239
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6240
|
+
rt, callInvoker, status, args[count - 1]);
|
|
5457
6241
|
|
|
5458
6242
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5459
6243
|
value);
|
|
5460
6244
|
}
|
|
5461
|
-
jsi::Value NativeNobodywho::
|
|
6245
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
|
|
5462
6246
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5463
6247
|
size_t count) {
|
|
5464
6248
|
RustCallStatus status =
|
|
5465
6249
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
5466
|
-
auto value =
|
|
6250
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
|
|
5467
6251
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
5468
6252
|
args[0]),
|
|
5469
6253
|
&status);
|
|
@@ -5473,12 +6257,12 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
|
5473
6257
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5474
6258
|
value);
|
|
5475
6259
|
}
|
|
5476
|
-
jsi::Value NativeNobodywho::
|
|
6260
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststtstream(
|
|
5477
6261
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5478
6262
|
size_t count) {
|
|
5479
6263
|
RustCallStatus status =
|
|
5480
6264
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
5481
|
-
|
|
6265
|
+
uniffi_nobodywho_uniffi_fn_free_ruststtstream(
|
|
5482
6266
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
5483
6267
|
args[0]),
|
|
5484
6268
|
&status);
|
|
@@ -5488,6 +6272,28 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
|
5488
6272
|
return jsi::Value::undefined();
|
|
5489
6273
|
}
|
|
5490
6274
|
jsi::Value
|
|
6275
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed(
|
|
6276
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6277
|
+
size_t count) {
|
|
6278
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_ruststtstream_completed(
|
|
6279
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6280
|
+
args[0]));
|
|
6281
|
+
|
|
6282
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6283
|
+
value);
|
|
6284
|
+
}
|
|
6285
|
+
jsi::Value
|
|
6286
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token(
|
|
6287
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6288
|
+
size_t count) {
|
|
6289
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_ruststtstream_next_token(
|
|
6290
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6291
|
+
args[0]));
|
|
6292
|
+
|
|
6293
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6294
|
+
value);
|
|
6295
|
+
}
|
|
6296
|
+
jsi::Value
|
|
5491
6297
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(
|
|
5492
6298
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5493
6299
|
size_t count) {
|
|
@@ -5646,6 +6452,86 @@ jsi::Value NativeNobodywho::
|
|
|
5646
6452
|
|
|
5647
6453
|
return jsi::Value::undefined();
|
|
5648
6454
|
}
|
|
6455
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
6456
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6457
|
+
size_t count) {
|
|
6458
|
+
RustCallStatus status =
|
|
6459
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6460
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_rusttts(
|
|
6461
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6462
|
+
args[0]),
|
|
6463
|
+
&status);
|
|
6464
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6465
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6466
|
+
|
|
6467
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6468
|
+
value);
|
|
6469
|
+
}
|
|
6470
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
6471
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6472
|
+
size_t count) {
|
|
6473
|
+
RustCallStatus status =
|
|
6474
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6475
|
+
uniffi_nobodywho_uniffi_fn_free_rusttts(
|
|
6476
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6477
|
+
args[0]),
|
|
6478
|
+
&status);
|
|
6479
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6480
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6481
|
+
|
|
6482
|
+
return jsi::Value::undefined();
|
|
6483
|
+
}
|
|
6484
|
+
jsi::Value
|
|
6485
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
|
|
6486
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6487
|
+
size_t count) {
|
|
6488
|
+
RustCallStatus status =
|
|
6489
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6490
|
+
auto value = uniffi_nobodywho_uniffi_fn_constructor_rusttts_new(
|
|
6491
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6492
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6493
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
6494
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
6495
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
6496
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
6497
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
|
|
6498
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
|
|
6499
|
+
&status);
|
|
6500
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6501
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6502
|
+
|
|
6503
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6504
|
+
value);
|
|
6505
|
+
}
|
|
6506
|
+
jsi::Value
|
|
6507
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
|
|
6508
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6509
|
+
size_t count) {
|
|
6510
|
+
RustCallStatus status =
|
|
6511
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6512
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize(
|
|
6513
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6514
|
+
args[0]),
|
|
6515
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6516
|
+
&status);
|
|
6517
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6518
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6519
|
+
|
|
6520
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6521
|
+
}
|
|
6522
|
+
jsi::Value
|
|
6523
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
|
|
6524
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6525
|
+
size_t count) {
|
|
6526
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rusttts_synthesize_async(
|
|
6527
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6528
|
+
args[0]),
|
|
6529
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6530
|
+
args[1]));
|
|
6531
|
+
|
|
6532
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6533
|
+
value);
|
|
6534
|
+
}
|
|
5649
6535
|
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
|
|
5650
6536
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5651
6537
|
size_t count) {
|
|
@@ -5833,6 +6719,23 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_penalties(
|
|
|
5833
6719
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5834
6720
|
value);
|
|
5835
6721
|
}
|
|
6722
|
+
jsi::Value
|
|
6723
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_seed(
|
|
6724
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6725
|
+
size_t count) {
|
|
6726
|
+
RustCallStatus status =
|
|
6727
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6728
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_seed(
|
|
6729
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6730
|
+
args[0]),
|
|
6731
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]),
|
|
6732
|
+
&status);
|
|
6733
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6734
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6735
|
+
|
|
6736
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6737
|
+
value);
|
|
6738
|
+
}
|
|
5836
6739
|
jsi::Value NativeNobodywho::
|
|
5837
6740
|
cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_temperature(
|
|
5838
6741
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6035,6 +6938,18 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_download_model(
|
|
|
6035
6938
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6036
6939
|
value);
|
|
6037
6940
|
}
|
|
6941
|
+
jsi::Value
|
|
6942
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_get_cached_models(
|
|
6943
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6944
|
+
size_t count) {
|
|
6945
|
+
RustCallStatus status =
|
|
6946
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6947
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_get_cached_models(&status);
|
|
6948
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6949
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6950
|
+
|
|
6951
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6952
|
+
}
|
|
6038
6953
|
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
6039
6954
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6040
6955
|
size_t count) {
|
|
@@ -6048,6 +6963,23 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
|
6048
6963
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6049
6964
|
value);
|
|
6050
6965
|
}
|
|
6966
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_tts(
|
|
6967
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6968
|
+
size_t count) {
|
|
6969
|
+
auto value = uniffi_nobodywho_uniffi_fn_func_load_tts(
|
|
6970
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
6971
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6972
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
6973
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
6974
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4]),
|
|
6975
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
6976
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
|
|
6977
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6978
|
+
args[7]));
|
|
6979
|
+
|
|
6980
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6981
|
+
value);
|
|
6982
|
+
}
|
|
6051
6983
|
jsi::Value NativeNobodywho::
|
|
6052
6984
|
cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
|
|
6053
6985
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6769,6 +7701,14 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_download_model(
|
|
|
6769
7701
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6770
7702
|
}
|
|
6771
7703
|
jsi::Value
|
|
7704
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_get_cached_models(
|
|
7705
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7706
|
+
size_t count) {
|
|
7707
|
+
auto value = uniffi_nobodywho_uniffi_checksum_func_get_cached_models();
|
|
7708
|
+
|
|
7709
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7710
|
+
}
|
|
7711
|
+
jsi::Value
|
|
6772
7712
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
6773
7713
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6774
7714
|
size_t count) {
|
|
@@ -6776,6 +7716,13 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
|
6776
7716
|
|
|
6777
7717
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6778
7718
|
}
|
|
7719
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_tts(
|
|
7720
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7721
|
+
size_t count) {
|
|
7722
|
+
auto value = uniffi_nobodywho_uniffi_checksum_func_load_tts();
|
|
7723
|
+
|
|
7724
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7725
|
+
}
|
|
6779
7726
|
jsi::Value NativeNobodywho::
|
|
6780
7727
|
cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_grammar(
|
|
6781
7728
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6876,6 +7823,15 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask(
|
|
|
6876
7823
|
|
|
6877
7824
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6878
7825
|
}
|
|
7826
|
+
jsi::Value NativeNobodywho::
|
|
7827
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt(
|
|
7828
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7829
|
+
size_t count) {
|
|
7830
|
+
auto value =
|
|
7831
|
+
uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt();
|
|
7832
|
+
|
|
7833
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7834
|
+
}
|
|
6879
7835
|
jsi::Value NativeNobodywho::
|
|
6880
7836
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt(
|
|
6881
7837
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6903,6 +7859,14 @@ jsi::Value NativeNobodywho::
|
|
|
6903
7859
|
|
|
6904
7860
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6905
7861
|
}
|
|
7862
|
+
jsi::Value
|
|
7863
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats(
|
|
7864
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7865
|
+
size_t count) {
|
|
7866
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats();
|
|
7867
|
+
|
|
7868
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7869
|
+
}
|
|
6906
7870
|
jsi::Value NativeNobodywho::
|
|
6907
7871
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_prompt(
|
|
6908
7872
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6990,6 +7954,23 @@ jsi::Value NativeNobodywho::
|
|
|
6990
7954
|
|
|
6991
7955
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6992
7956
|
}
|
|
7957
|
+
jsi::Value
|
|
7958
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize(
|
|
7959
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7960
|
+
size_t count) {
|
|
7961
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize();
|
|
7962
|
+
|
|
7963
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7964
|
+
}
|
|
7965
|
+
jsi::Value NativeNobodywho::
|
|
7966
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_prompt(
|
|
7967
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7968
|
+
size_t count) {
|
|
7969
|
+
auto value =
|
|
7970
|
+
uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_prompt();
|
|
7971
|
+
|
|
7972
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7973
|
+
}
|
|
6993
7974
|
jsi::Value NativeNobodywho::
|
|
6994
7975
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank(
|
|
6995
7976
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7015,6 +7996,49 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
|
7015
7996
|
|
|
7016
7997
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7017
7998
|
}
|
|
7999
|
+
jsi::Value
|
|
8000
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
8001
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8002
|
+
size_t count) {
|
|
8003
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx();
|
|
8004
|
+
|
|
8005
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8006
|
+
}
|
|
8007
|
+
jsi::Value NativeNobodywho::
|
|
8008
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_file(
|
|
8009
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8010
|
+
size_t count) {
|
|
8011
|
+
auto value =
|
|
8012
|
+
uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_file();
|
|
8013
|
+
|
|
8014
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8015
|
+
}
|
|
8016
|
+
jsi::Value NativeNobodywho::
|
|
8017
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm(
|
|
8018
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8019
|
+
size_t count) {
|
|
8020
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_pcm();
|
|
8021
|
+
|
|
8022
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8023
|
+
}
|
|
8024
|
+
jsi::Value NativeNobodywho::
|
|
8025
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_completed(
|
|
8026
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8027
|
+
size_t count) {
|
|
8028
|
+
auto value =
|
|
8029
|
+
uniffi_nobodywho_uniffi_checksum_method_ruststtstream_completed();
|
|
8030
|
+
|
|
8031
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8032
|
+
}
|
|
8033
|
+
jsi::Value NativeNobodywho::
|
|
8034
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_token(
|
|
8035
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8036
|
+
size_t count) {
|
|
8037
|
+
auto value =
|
|
8038
|
+
uniffi_nobodywho_uniffi_checksum_method_ruststtstream_next_token();
|
|
8039
|
+
|
|
8040
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8041
|
+
}
|
|
7018
8042
|
jsi::Value NativeNobodywho::
|
|
7019
8043
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed(
|
|
7020
8044
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7060,6 +8084,23 @@ jsi::Value NativeNobodywho::
|
|
|
7060
8084
|
|
|
7061
8085
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7062
8086
|
}
|
|
8087
|
+
jsi::Value
|
|
8088
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize(
|
|
8089
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8090
|
+
size_t count) {
|
|
8091
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize();
|
|
8092
|
+
|
|
8093
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8094
|
+
}
|
|
8095
|
+
jsi::Value NativeNobodywho::
|
|
8096
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_async(
|
|
8097
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8098
|
+
size_t count) {
|
|
8099
|
+
auto value =
|
|
8100
|
+
uniffi_nobodywho_uniffi_checksum_method_rusttts_synthesize_async();
|
|
8101
|
+
|
|
8102
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8103
|
+
}
|
|
7063
8104
|
jsi::Value NativeNobodywho::
|
|
7064
8105
|
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist(
|
|
7065
8106
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7127,6 +8168,14 @@ jsi::Value NativeNobodywho::
|
|
|
7127
8168
|
|
|
7128
8169
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7129
8170
|
}
|
|
8171
|
+
jsi::Value NativeNobodywho::
|
|
8172
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_seed(
|
|
8173
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8174
|
+
size_t count) {
|
|
8175
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_seed();
|
|
8176
|
+
|
|
8177
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8178
|
+
}
|
|
7130
8179
|
jsi::Value NativeNobodywho::
|
|
7131
8180
|
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_temperature(
|
|
7132
8181
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7203,6 +8252,14 @@ jsi::Value NativeNobodywho::
|
|
|
7203
8252
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7204
8253
|
}
|
|
7205
8254
|
jsi::Value
|
|
8255
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new(
|
|
8256
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8257
|
+
size_t count) {
|
|
8258
|
+
auto value = uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new();
|
|
8259
|
+
|
|
8260
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8261
|
+
}
|
|
8262
|
+
jsi::Value
|
|
7206
8263
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new(
|
|
7207
8264
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7208
8265
|
size_t count) {
|
|
@@ -7219,6 +8276,14 @@ jsi::Value NativeNobodywho::
|
|
|
7219
8276
|
|
|
7220
8277
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7221
8278
|
}
|
|
8279
|
+
jsi::Value
|
|
8280
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new(
|
|
8281
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8282
|
+
size_t count) {
|
|
8283
|
+
auto value = uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new();
|
|
8284
|
+
|
|
8285
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8286
|
+
}
|
|
7222
8287
|
jsi::Value NativeNobodywho::
|
|
7223
8288
|
cpp_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new(
|
|
7224
8289
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|