react-native-nobodywho 2.3.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 +979 -13
- package/generated/cpp/nobodywho.hpp +119 -0
- package/generated/ts/nobodywho-ffi.ts +37 -0
- package/generated/ts/nobodywho.ts +860 -53
- 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 +25 -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(
|
|
@@ -277,6 +322,10 @@ RustBuffer uniffi_nobodywho_uniffi_fn_func_get_cached_models(
|
|
|
277
322
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
278
323
|
RustBuffer model_path, int8_t use_gpu, RustBuffer projection_model_path,
|
|
279
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);
|
|
280
329
|
/*handle*/ uint64_t
|
|
281
330
|
uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
|
|
282
331
|
RustBuffer grammar, RustCallStatus *uniffi_out_err);
|
|
@@ -425,6 +474,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_func_cosine_similarity();
|
|
|
425
474
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_download_model();
|
|
426
475
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_get_cached_models();
|
|
427
476
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_model();
|
|
477
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_func_load_tts();
|
|
428
478
|
uint16_t
|
|
429
479
|
uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_grammar();
|
|
430
480
|
uint16_t
|
|
@@ -440,10 +490,13 @@ uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_temperature();
|
|
|
440
490
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_top_k();
|
|
441
491
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_top_p();
|
|
442
492
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask();
|
|
493
|
+
uint16_t
|
|
494
|
+
uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt();
|
|
443
495
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt();
|
|
444
496
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_history();
|
|
445
497
|
uint16_t
|
|
446
498
|
uniffi_nobodywho_uniffi_checksum_method_rustchat_get_sampler_config_json();
|
|
499
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_stats();
|
|
447
500
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_prompt();
|
|
448
501
|
uint16_t
|
|
449
502
|
uniffi_nobodywho_uniffi_checksum_method_rustchat_get_template_variables();
|
|
@@ -456,16 +509,26 @@ uint16_t
|
|
|
456
509
|
uniffi_nobodywho_uniffi_checksum_method_rustchat_set_template_variable();
|
|
457
510
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_tools();
|
|
458
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();
|
|
459
515
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank();
|
|
460
516
|
uint16_t
|
|
461
517
|
uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json();
|
|
462
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();
|
|
463
524
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed();
|
|
464
525
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_token();
|
|
465
526
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_get_schema_json();
|
|
466
527
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rusttool_next_pending_call();
|
|
467
528
|
uint16_t
|
|
468
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();
|
|
469
532
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist();
|
|
470
533
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry();
|
|
471
534
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar();
|
|
@@ -484,8 +547,10 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerconfig_to_json();
|
|
|
484
547
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustchat_new();
|
|
485
548
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustcrossencoder_new();
|
|
486
549
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new();
|
|
550
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_ruststt_new();
|
|
487
551
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new();
|
|
488
552
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async();
|
|
553
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_rusttts_new();
|
|
489
554
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new();
|
|
490
555
|
uint16_t uniffi_nobodywho_uniffi_checksum_constructor_samplerconfig_from_json();
|
|
491
556
|
uint16_t
|
|
@@ -2687,6 +2752,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2687
2752
|
return this->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
|
|
2688
2753
|
rt, thisVal, args, count);
|
|
2689
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
|
+
});
|
|
2690
2767
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt"] =
|
|
2691
2768
|
jsi::Function::createFromHostFunction(
|
|
2692
2769
|
rt,
|
|
@@ -2723,6 +2800,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2723
2800
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_sampler_config_json(
|
|
2724
2801
|
rt, thisVal, args, count);
|
|
2725
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
|
+
});
|
|
2726
2815
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt"] =
|
|
2727
2816
|
jsi::Function::createFromHostFunction(
|
|
2728
2817
|
rt,
|
|
@@ -2845,6 +2934,30 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2845
2934
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(
|
|
2846
2935
|
rt, thisVal, args, count);
|
|
2847
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
|
+
});
|
|
2848
2961
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder"] =
|
|
2849
2962
|
jsi::Function::createFromHostFunction(
|
|
2850
2963
|
rt,
|
|
@@ -2973,6 +3086,124 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2973
3086
|
return this->cpp_uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
2974
3087
|
rt, thisVal, args, count);
|
|
2975
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
|
+
});
|
|
2976
3207
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream"] =
|
|
2977
3208
|
jsi::Function::createFromHostFunction(
|
|
2978
3209
|
rt,
|
|
@@ -3102,6 +3333,63 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3102
3333
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rusttool_resolve_pending_call(
|
|
3103
3334
|
rt, thisVal, args, count);
|
|
3104
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
|
+
});
|
|
3105
3393
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder"] =
|
|
3106
3394
|
jsi::Function::createFromHostFunction(
|
|
3107
3395
|
rt,
|
|
@@ -3426,6 +3714,17 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3426
3714
|
return this->cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
3427
3715
|
rt, thisVal, args, count);
|
|
3428
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
|
+
});
|
|
3429
3728
|
props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_"
|
|
3430
3729
|
"grammar"] = jsi::Function::createFromHostFunction(
|
|
3431
3730
|
rt,
|
|
@@ -4139,6 +4438,17 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4139
4438
|
return this->cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
4140
4439
|
rt, thisVal, args, count);
|
|
4141
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
|
+
});
|
|
4142
4452
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_"
|
|
4143
4453
|
"with_grammar"] = jsi::Function::createFromHostFunction(
|
|
4144
4454
|
rt,
|
|
@@ -4287,6 +4597,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4287
4597
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask(
|
|
4288
4598
|
rt, thisVal, args, count);
|
|
4289
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
|
+
});
|
|
4290
4612
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_"
|
|
4291
4613
|
"prompt"] = jsi::Function::createFromHostFunction(
|
|
4292
4614
|
rt,
|
|
@@ -4323,6 +4645,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4323
4645
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_sampler_config_json(
|
|
4324
4646
|
rt, thisVal, args, count);
|
|
4325
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
|
+
});
|
|
4326
4660
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_"
|
|
4327
4661
|
"prompt"] = jsi::Function::createFromHostFunction(
|
|
4328
4662
|
rt,
|
|
@@ -4443,6 +4777,31 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4443
4777
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_stop_generation(
|
|
4444
4778
|
rt, thisVal, args, count);
|
|
4445
4779
|
});
|
|
4780
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize"] =
|
|
4781
|
+
jsi::Function::createFromHostFunction(
|
|
4782
|
+
rt,
|
|
4783
|
+
jsi::PropNameID::forAscii(
|
|
4784
|
+
rt,
|
|
4785
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize"),
|
|
4786
|
+
0,
|
|
4787
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4788
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4789
|
+
return this
|
|
4790
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize(
|
|
4791
|
+
rt, thisVal, args, count);
|
|
4792
|
+
});
|
|
4793
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_"
|
|
4794
|
+
"prompt"] = jsi::Function::createFromHostFunction(
|
|
4795
|
+
rt,
|
|
4796
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4797
|
+
"method_rustchat_tokenize_with_prompt"),
|
|
4798
|
+
0,
|
|
4799
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4800
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4801
|
+
return this
|
|
4802
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_tokenize_with_prompt(
|
|
4803
|
+
rt, thisVal, args, count);
|
|
4804
|
+
});
|
|
4446
4805
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank"] =
|
|
4447
4806
|
jsi::Function::createFromHostFunction(
|
|
4448
4807
|
rt,
|
|
@@ -4480,27 +4839,88 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4480
4839
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
4481
4840
|
rt, thisVal, args, count);
|
|
4482
4841
|
});
|
|
4483
|
-
props["
|
|
4484
|
-
|
|
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(
|
|
4485
4857
|
rt,
|
|
4486
4858
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4487
|
-
"
|
|
4859
|
+
"method_ruststt_transcribe_file"),
|
|
4488
4860
|
0,
|
|
4489
4861
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4490
4862
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4491
4863
|
return this
|
|
4492
|
-
->
|
|
4864
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_ruststt_transcribe_file(
|
|
4493
4865
|
rt, thisVal, args, count);
|
|
4494
4866
|
});
|
|
4495
|
-
props["
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
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
|
+
});
|
|
4903
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_"
|
|
4904
|
+
"completed"] = jsi::Function::createFromHostFunction(
|
|
4905
|
+
rt,
|
|
4906
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4907
|
+
"method_rusttokenstream_completed"),
|
|
4908
|
+
0,
|
|
4909
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4910
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4911
|
+
return this
|
|
4912
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed(
|
|
4913
|
+
rt, thisVal, args, count);
|
|
4914
|
+
});
|
|
4915
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_"
|
|
4916
|
+
"token"] = jsi::Function::createFromHostFunction(
|
|
4917
|
+
rt,
|
|
4918
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4919
|
+
"method_rusttokenstream_next_token"),
|
|
4920
|
+
0,
|
|
4921
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4922
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4923
|
+
return this
|
|
4504
4924
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_token(
|
|
4505
4925
|
rt, thisVal, args, count);
|
|
4506
4926
|
});
|
|
@@ -4540,6 +4960,30 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4540
4960
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rusttool_resolve_pending_call(
|
|
4541
4961
|
rt, thisVal, args, count);
|
|
4542
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
|
+
});
|
|
4543
4987
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist"] =
|
|
4544
4988
|
jsi::Function::createFromHostFunction(
|
|
4545
4989
|
rt,
|
|
@@ -4757,6 +5201,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4757
5201
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new(
|
|
4758
5202
|
rt, thisVal, args, count);
|
|
4759
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
|
+
});
|
|
4760
5217
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new"] =
|
|
4761
5218
|
jsi::Function::createFromHostFunction(
|
|
4762
5219
|
rt,
|
|
@@ -4782,6 +5239,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4782
5239
|
->cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new_async(
|
|
4783
5240
|
rt, thisVal, args, count);
|
|
4784
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
|
+
});
|
|
4785
5255
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_"
|
|
4786
5256
|
"new"] = jsi::Function::createFromHostFunction(
|
|
4787
5257
|
rt,
|
|
@@ -4893,6 +5363,30 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4893
5363
|
->cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
4894
5364
|
rt, thisVal, args, count);
|
|
4895
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
|
+
});
|
|
4896
5390
|
props["ubrn_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer"] =
|
|
4897
5391
|
jsi::Function::createFromHostFunction(
|
|
4898
5392
|
rt,
|
|
@@ -4917,6 +5411,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4917
5411
|
->cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
4918
5412
|
rt, thisVal, args, count);
|
|
4919
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
|
+
});
|
|
4920
5426
|
props["ubrn_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer"] =
|
|
4921
5427
|
jsi::Function::createFromHostFunction(
|
|
4922
5428
|
rt,
|
|
@@ -5079,6 +5585,36 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
|
5079
5585
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5080
5586
|
return jsi::Value(rt, obj);
|
|
5081
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
|
+
}
|
|
5082
5618
|
jsi::Value NativeNobodywho::
|
|
5083
5619
|
cpp_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer(
|
|
5084
5620
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -5109,6 +5645,21 @@ NativeNobodywho::cpp_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(
|
|
|
5109
5645
|
auto obj = jsi::Object::createFromHostObject(rt, ptrObj);
|
|
5110
5646
|
return jsi::Value(rt, obj);
|
|
5111
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
|
+
}
|
|
5112
5663
|
jsi::Value NativeNobodywho::
|
|
5113
5664
|
cpp_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer(
|
|
5114
5665
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -5207,6 +5758,23 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
|
|
|
5207
5758
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5208
5759
|
value);
|
|
5209
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
|
+
}
|
|
5210
5778
|
jsi::Value
|
|
5211
5779
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
|
|
5212
5780
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -5247,6 +5815,17 @@ jsi::Value NativeNobodywho::
|
|
|
5247
5815
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
5248
5816
|
value);
|
|
5249
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
|
+
}
|
|
5250
5829
|
jsi::Value NativeNobodywho::
|
|
5251
5830
|
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt(
|
|
5252
5831
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -5376,6 +5955,32 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(
|
|
|
5376
5955
|
return jsi::Value::undefined();
|
|
5377
5956
|
}
|
|
5378
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
|
|
5379
5984
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder(
|
|
5380
5985
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5381
5986
|
size_t count) {
|
|
@@ -5542,6 +6147,153 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
|
5542
6147
|
return jsi::Value::undefined();
|
|
5543
6148
|
}
|
|
5544
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(
|
|
6185
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6186
|
+
args[0]),
|
|
6187
|
+
&status);
|
|
6188
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6189
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6190
|
+
|
|
6191
|
+
return jsi::Value::undefined();
|
|
6192
|
+
}
|
|
6193
|
+
jsi::Value
|
|
6194
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_ruststt_new(
|
|
6195
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6196
|
+
size_t count) {
|
|
6197
|
+
RustCallStatus status =
|
|
6198
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
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]),
|
|
6203
|
+
&status);
|
|
6204
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6205
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6206
|
+
|
|
6207
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6208
|
+
value);
|
|
6209
|
+
}
|
|
6210
|
+
jsi::Value
|
|
6211
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
|
|
6212
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6213
|
+
size_t count) {
|
|
6214
|
+
RustCallStatus status =
|
|
6215
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6216
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_file(
|
|
6217
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6218
|
+
args[0]),
|
|
6219
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
6220
|
+
&status);
|
|
6221
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6222
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6223
|
+
|
|
6224
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6225
|
+
value);
|
|
6226
|
+
}
|
|
6227
|
+
jsi::Value
|
|
6228
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
|
|
6229
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6230
|
+
size_t count) {
|
|
6231
|
+
RustCallStatus status =
|
|
6232
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6233
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_ruststt_transcribe_pcm(
|
|
6234
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6235
|
+
args[0]),
|
|
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]);
|
|
6241
|
+
|
|
6242
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6243
|
+
value);
|
|
6244
|
+
}
|
|
6245
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
|
|
6246
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6247
|
+
size_t count) {
|
|
6248
|
+
RustCallStatus status =
|
|
6249
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6250
|
+
auto value = uniffi_nobodywho_uniffi_fn_clone_ruststtstream(
|
|
6251
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6252
|
+
args[0]),
|
|
6253
|
+
&status);
|
|
6254
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6255
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6256
|
+
|
|
6257
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6258
|
+
value);
|
|
6259
|
+
}
|
|
6260
|
+
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_free_ruststtstream(
|
|
6261
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6262
|
+
size_t count) {
|
|
6263
|
+
RustCallStatus status =
|
|
6264
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6265
|
+
uniffi_nobodywho_uniffi_fn_free_ruststtstream(
|
|
6266
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6267
|
+
args[0]),
|
|
6268
|
+
&status);
|
|
6269
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6270
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6271
|
+
|
|
6272
|
+
return jsi::Value::undefined();
|
|
6273
|
+
}
|
|
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
|
|
5545
6297
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(
|
|
5546
6298
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5547
6299
|
size_t count) {
|
|
@@ -5700,6 +6452,86 @@ jsi::Value NativeNobodywho::
|
|
|
5700
6452
|
|
|
5701
6453
|
return jsi::Value::undefined();
|
|
5702
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
|
+
}
|
|
5703
6535
|
jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_samplerbuilder(
|
|
5704
6536
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
5705
6537
|
size_t count) {
|
|
@@ -6131,6 +6963,23 @@ jsi::Value NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_load_model(
|
|
|
6131
6963
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6132
6964
|
value);
|
|
6133
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
|
+
}
|
|
6134
6983
|
jsi::Value NativeNobodywho::
|
|
6135
6984
|
cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_grammar(
|
|
6136
6985
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6867,6 +7716,13 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_load_model(
|
|
|
6867
7716
|
|
|
6868
7717
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6869
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
|
+
}
|
|
6870
7726
|
jsi::Value NativeNobodywho::
|
|
6871
7727
|
cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_grammar(
|
|
6872
7728
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6967,6 +7823,15 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask(
|
|
|
6967
7823
|
|
|
6968
7824
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6969
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
|
+
}
|
|
6970
7835
|
jsi::Value NativeNobodywho::
|
|
6971
7836
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt(
|
|
6972
7837
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6994,6 +7859,14 @@ jsi::Value NativeNobodywho::
|
|
|
6994
7859
|
|
|
6995
7860
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
6996
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
|
+
}
|
|
6997
7870
|
jsi::Value NativeNobodywho::
|
|
6998
7871
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_system_prompt(
|
|
6999
7872
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7081,6 +7954,23 @@ jsi::Value NativeNobodywho::
|
|
|
7081
7954
|
|
|
7082
7955
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7083
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
|
+
}
|
|
7084
7974
|
jsi::Value NativeNobodywho::
|
|
7085
7975
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank(
|
|
7086
7976
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7106,6 +7996,49 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
|
7106
7996
|
|
|
7107
7997
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7108
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
|
+
}
|
|
7109
8042
|
jsi::Value NativeNobodywho::
|
|
7110
8043
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed(
|
|
7111
8044
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7151,6 +8084,23 @@ jsi::Value NativeNobodywho::
|
|
|
7151
8084
|
|
|
7152
8085
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7153
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
|
+
}
|
|
7154
8104
|
jsi::Value NativeNobodywho::
|
|
7155
8105
|
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist(
|
|
7156
8106
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7302,6 +8252,14 @@ jsi::Value NativeNobodywho::
|
|
|
7302
8252
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7303
8253
|
}
|
|
7304
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
|
|
7305
8263
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new(
|
|
7306
8264
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7307
8265
|
size_t count) {
|
|
@@ -7318,6 +8276,14 @@ jsi::Value NativeNobodywho::
|
|
|
7318
8276
|
|
|
7319
8277
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
7320
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
|
+
}
|
|
7321
8287
|
jsi::Value NativeNobodywho::
|
|
7322
8288
|
cpp_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new(
|
|
7323
8289
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|