react-native-nobodywho 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/cpp/nobodywho.cpp +305 -82
- package/generated/cpp/nobodywho.hpp +41 -10
- package/generated/ts/nobodywho-ffi.ts +13 -5
- package/generated/ts/nobodywho.ts +406 -52
- package/package.json +1 -1
- package/src/chat.ts +20 -8
- package/src/model.ts +5 -0
- package/src/sampler_presets.ts +7 -11
- package/src/wrapper.ts +2 -0
|
@@ -119,7 +119,8 @@ void uniffi_nobodywho_uniffi_fn_free_rustchat(
|
|
|
119
119
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_rustchat_new(
|
|
120
120
|
/*handle*/ uint64_t model, RustBuffer system_prompt, uint32_t context_size,
|
|
121
121
|
RustBuffer template_variables, RustBuffer tools, RustBuffer sampler,
|
|
122
|
-
RustBuffer mtp, RustBuffer thread_count,
|
|
122
|
+
RustBuffer mtp, RustBuffer thread_count, RustBuffer context_shift,
|
|
123
|
+
RustCallStatus *uniffi_out_err);
|
|
123
124
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
|
|
124
125
|
/*handle*/ uint64_t ptr, RustBuffer message,
|
|
125
126
|
RustCallStatus *uniffi_out_err);
|
|
@@ -154,6 +155,9 @@ uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
|
|
|
154
155
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_set_chat_history(
|
|
155
156
|
/*handle*/ uint64_t ptr, RustBuffer messages);
|
|
156
157
|
/*handle*/ uint64_t
|
|
158
|
+
uniffi_nobodywho_uniffi_fn_method_rustchat_set_context_shift(
|
|
159
|
+
/*handle*/ uint64_t ptr, RustBuffer options);
|
|
160
|
+
/*handle*/ uint64_t
|
|
157
161
|
uniffi_nobodywho_uniffi_fn_method_rustchat_set_sampler_config(
|
|
158
162
|
/*handle*/ uint64_t ptr,
|
|
159
163
|
/*handle*/ uint64_t sampler);
|
|
@@ -201,6 +205,8 @@ void uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
|
201
205
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
202
206
|
uint32_t uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
203
207
|
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
208
|
+
RustBuffer uniffi_nobodywho_uniffi_fn_method_rustmodel_source(
|
|
209
|
+
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
204
210
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
205
211
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
206
212
|
void uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
|
|
@@ -290,6 +296,17 @@ void uniffi_nobodywho_uniffi_fn_free_samplerbuilder(
|
|
|
290
296
|
/*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
|
|
291
297
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_samplerbuilder_new(
|
|
292
298
|
RustCallStatus *uniffi_out_err);
|
|
299
|
+
/*handle*/ uint64_t
|
|
300
|
+
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_grammar(
|
|
301
|
+
/*handle*/ uint64_t ptr, RustBuffer grammar,
|
|
302
|
+
RustCallStatus *uniffi_out_err);
|
|
303
|
+
/*handle*/ uint64_t
|
|
304
|
+
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_json_schema(
|
|
305
|
+
/*handle*/ uint64_t ptr, RustBuffer schema, RustCallStatus *uniffi_out_err);
|
|
306
|
+
/*handle*/ uint64_t
|
|
307
|
+
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_regex(
|
|
308
|
+
/*handle*/ uint64_t ptr, RustBuffer pattern,
|
|
309
|
+
RustCallStatus *uniffi_out_err);
|
|
293
310
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dist(
|
|
294
311
|
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
295
312
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dry(
|
|
@@ -300,11 +317,10 @@ void uniffi_nobodywho_uniffi_fn_free_samplerbuilder(
|
|
|
300
317
|
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
|
|
301
318
|
/*handle*/ uint64_t ptr, float temperature, float delta, float exponent,
|
|
302
319
|
RustCallStatus *uniffi_out_err);
|
|
303
|
-
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar(
|
|
304
|
-
/*handle*/ uint64_t ptr, RustBuffer grammar, RustBuffer trigger_on,
|
|
305
|
-
RustBuffer root, RustCallStatus *uniffi_out_err);
|
|
306
320
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
|
|
307
321
|
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
322
|
+
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json(
|
|
323
|
+
/*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
|
|
308
324
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias(
|
|
309
325
|
/*handle*/ uint64_t ptr, RustBuffer biases, RustCallStatus *uniffi_out_err);
|
|
310
326
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_min_p(
|
|
@@ -387,8 +403,6 @@ uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_regex(
|
|
|
387
403
|
RustCallStatus *uniffi_out_err);
|
|
388
404
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_sampler_preset_dry(
|
|
389
405
|
RustCallStatus *uniffi_out_err);
|
|
390
|
-
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar(
|
|
391
|
-
RustBuffer grammar, RustCallStatus *uniffi_out_err);
|
|
392
406
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_sampler_preset_greedy(
|
|
393
407
|
RustCallStatus *uniffi_out_err);
|
|
394
408
|
/*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_sampler_preset_json(
|
|
@@ -533,7 +547,6 @@ uint16_t
|
|
|
533
547
|
uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_regex();
|
|
534
548
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_default();
|
|
535
549
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_dry();
|
|
536
|
-
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar();
|
|
537
550
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_greedy();
|
|
538
551
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_json();
|
|
539
552
|
uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_temperature();
|
|
@@ -555,6 +568,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate();
|
|
|
555
568
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_context();
|
|
556
569
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_history();
|
|
557
570
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_chat_history();
|
|
571
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_context_shift();
|
|
558
572
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_sampler_config();
|
|
559
573
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_system_prompt();
|
|
560
574
|
uint16_t
|
|
@@ -570,6 +584,7 @@ uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json();
|
|
|
570
584
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode();
|
|
571
585
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch();
|
|
572
586
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx();
|
|
587
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_rustmodel_source();
|
|
573
588
|
uint16_t
|
|
574
589
|
uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file();
|
|
575
590
|
uint16_t
|
|
@@ -593,12 +608,18 @@ uint16_t
|
|
|
593
608
|
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push();
|
|
594
609
|
uint16_t
|
|
595
610
|
uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment();
|
|
611
|
+
uint16_t
|
|
612
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_grammar();
|
|
613
|
+
uint16_t
|
|
614
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_json_schema();
|
|
615
|
+
uint16_t
|
|
616
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_regex();
|
|
596
617
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist();
|
|
597
618
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry();
|
|
598
619
|
uint16_t
|
|
599
620
|
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature();
|
|
600
|
-
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar();
|
|
601
621
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy();
|
|
622
|
+
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json();
|
|
602
623
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_bias();
|
|
603
624
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_min_p();
|
|
604
625
|
uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_mirostat_v1();
|
|
@@ -2804,7 +2825,7 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2804
2825
|
rt,
|
|
2805
2826
|
jsi::PropNameID::forAscii(
|
|
2806
2827
|
rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new"),
|
|
2807
|
-
|
|
2828
|
+
9,
|
|
2808
2829
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2809
2830
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
2810
2831
|
return this
|
|
@@ -2968,6 +2989,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
2968
2989
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_chat_history(
|
|
2969
2990
|
rt, thisVal, args, count);
|
|
2970
2991
|
});
|
|
2992
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_set_context_shift"] =
|
|
2993
|
+
jsi::Function::createFromHostFunction(
|
|
2994
|
+
rt,
|
|
2995
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
|
|
2996
|
+
"method_rustchat_set_context_shift"),
|
|
2997
|
+
2,
|
|
2998
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
2999
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3000
|
+
return this
|
|
3001
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_context_shift(
|
|
3002
|
+
rt, thisVal, args, count);
|
|
3003
|
+
});
|
|
2971
3004
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_set_sampler_config"] =
|
|
2972
3005
|
jsi::Function::createFromHostFunction(
|
|
2973
3006
|
rt,
|
|
@@ -3204,6 +3237,17 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3204
3237
|
->cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
3205
3238
|
rt, thisVal, args, count);
|
|
3206
3239
|
});
|
|
3240
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustmodel_source"] =
|
|
3241
|
+
jsi::Function::createFromHostFunction(
|
|
3242
|
+
rt,
|
|
3243
|
+
jsi::PropNameID::forAscii(
|
|
3244
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rustmodel_source"),
|
|
3245
|
+
1,
|
|
3246
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3247
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3248
|
+
return this->cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_source(
|
|
3249
|
+
rt, thisVal, args, count);
|
|
3250
|
+
});
|
|
3207
3251
|
props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext"] =
|
|
3208
3252
|
jsi::Function::createFromHostFunction(
|
|
3209
3253
|
rt,
|
|
@@ -3607,6 +3651,43 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3607
3651
|
->cpp_uniffi_nobodywho_uniffi_fn_constructor_samplerbuilder_new(
|
|
3608
3652
|
rt, thisVal, args, count);
|
|
3609
3653
|
});
|
|
3654
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_"
|
|
3655
|
+
"grammar"] = jsi::Function::createFromHostFunction(
|
|
3656
|
+
rt,
|
|
3657
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3658
|
+
"samplerbuilder_constrain_with_grammar"),
|
|
3659
|
+
2,
|
|
3660
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3661
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3662
|
+
return this
|
|
3663
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_grammar(
|
|
3664
|
+
rt, thisVal, args, count);
|
|
3665
|
+
});
|
|
3666
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_"
|
|
3667
|
+
"json_schema"] = jsi::Function::createFromHostFunction(
|
|
3668
|
+
rt,
|
|
3669
|
+
jsi::PropNameID::forAscii(rt,
|
|
3670
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3671
|
+
"samplerbuilder_constrain_with_json_schema"),
|
|
3672
|
+
2,
|
|
3673
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3674
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3675
|
+
return this
|
|
3676
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_json_schema(
|
|
3677
|
+
rt, thisVal, args, count);
|
|
3678
|
+
});
|
|
3679
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_"
|
|
3680
|
+
"regex"] = jsi::Function::createFromHostFunction(
|
|
3681
|
+
rt,
|
|
3682
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
|
|
3683
|
+
"samplerbuilder_constrain_with_regex"),
|
|
3684
|
+
2,
|
|
3685
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3686
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3687
|
+
return this
|
|
3688
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_regex(
|
|
3689
|
+
rt, thisVal, args, count);
|
|
3690
|
+
});
|
|
3610
3691
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dist"] =
|
|
3611
3692
|
jsi::Function::createFromHostFunction(
|
|
3612
3693
|
rt,
|
|
@@ -3643,30 +3724,29 @@ NativeNobodywho::NativeNobodywho(
|
|
|
3643
3724
|
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
|
|
3644
3725
|
rt, thisVal, args, count);
|
|
3645
3726
|
});
|
|
3646
|
-
props["
|
|
3727
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy"] =
|
|
3647
3728
|
jsi::Function::createFromHostFunction(
|
|
3648
3729
|
rt,
|
|
3649
3730
|
jsi::PropNameID::forAscii(
|
|
3650
3731
|
rt,
|
|
3651
|
-
"
|
|
3652
|
-
|
|
3732
|
+
"ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy"),
|
|
3733
|
+
1,
|
|
3653
3734
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3654
3735
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3655
3736
|
return this
|
|
3656
|
-
->
|
|
3737
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
|
|
3657
3738
|
rt, thisVal, args, count);
|
|
3658
3739
|
});
|
|
3659
|
-
props["
|
|
3740
|
+
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json"] =
|
|
3660
3741
|
jsi::Function::createFromHostFunction(
|
|
3661
3742
|
rt,
|
|
3662
3743
|
jsi::PropNameID::forAscii(
|
|
3663
|
-
rt,
|
|
3664
|
-
"ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy"),
|
|
3744
|
+
rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json"),
|
|
3665
3745
|
1,
|
|
3666
3746
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
3667
3747
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
3668
3748
|
return this
|
|
3669
|
-
->
|
|
3749
|
+
->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json(
|
|
3670
3750
|
rt, thisVal, args, count);
|
|
3671
3751
|
});
|
|
3672
3752
|
props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias"] =
|
|
@@ -4029,19 +4109,6 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4029
4109
|
return this->cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_dry(
|
|
4030
4110
|
rt, thisVal, args, count);
|
|
4031
4111
|
});
|
|
4032
|
-
props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar"] =
|
|
4033
|
-
jsi::Function::createFromHostFunction(
|
|
4034
|
-
rt,
|
|
4035
|
-
jsi::PropNameID::forAscii(
|
|
4036
|
-
rt,
|
|
4037
|
-
"ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar"),
|
|
4038
|
-
1,
|
|
4039
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4040
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4041
|
-
return this
|
|
4042
|
-
->cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar(
|
|
4043
|
-
rt, thisVal, args, count);
|
|
4044
|
-
});
|
|
4045
4112
|
props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_greedy"] =
|
|
4046
4113
|
jsi::Function::createFromHostFunction(
|
|
4047
4114
|
rt,
|
|
@@ -4782,18 +4849,6 @@ NativeNobodywho::NativeNobodywho(
|
|
|
4782
4849
|
->cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_dry(
|
|
4783
4850
|
rt, thisVal, args, count);
|
|
4784
4851
|
});
|
|
4785
|
-
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar"] =
|
|
4786
|
-
jsi::Function::createFromHostFunction(
|
|
4787
|
-
rt,
|
|
4788
|
-
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
4789
|
-
"func_sampler_preset_grammar"),
|
|
4790
|
-
0,
|
|
4791
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
4792
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4793
|
-
return this
|
|
4794
|
-
->cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar(
|
|
4795
|
-
rt, thisVal, args, count);
|
|
4796
|
-
});
|
|
4797
4852
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_greedy"] =
|
|
4798
4853
|
jsi::Function::createFromHostFunction(
|
|
4799
4854
|
rt,
|
|
@@ -5012,6 +5067,18 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5012
5067
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_chat_history(
|
|
5013
5068
|
rt, thisVal, args, count);
|
|
5014
5069
|
});
|
|
5070
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_context_"
|
|
5071
|
+
"shift"] = jsi::Function::createFromHostFunction(
|
|
5072
|
+
rt,
|
|
5073
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5074
|
+
"method_rustchat_set_context_shift"),
|
|
5075
|
+
0,
|
|
5076
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5077
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5078
|
+
return this
|
|
5079
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_context_shift(
|
|
5080
|
+
rt, thisVal, args, count);
|
|
5081
|
+
});
|
|
5015
5082
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_sampler_"
|
|
5016
5083
|
"config"] = jsi::Function::createFromHostFunction(
|
|
5017
5084
|
rt,
|
|
@@ -5159,6 +5226,19 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5159
5226
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
5160
5227
|
rt, thisVal, args, count);
|
|
5161
5228
|
});
|
|
5229
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_source"] =
|
|
5230
|
+
jsi::Function::createFromHostFunction(
|
|
5231
|
+
rt,
|
|
5232
|
+
jsi::PropNameID::forAscii(
|
|
5233
|
+
rt,
|
|
5234
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_rustmodel_source"),
|
|
5235
|
+
0,
|
|
5236
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5237
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5238
|
+
return this
|
|
5239
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_source(
|
|
5240
|
+
rt, thisVal, args, count);
|
|
5241
|
+
});
|
|
5162
5242
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_"
|
|
5163
5243
|
"transcribe_file"] = jsi::Function::createFromHostFunction(
|
|
5164
5244
|
rt,
|
|
@@ -5331,6 +5411,45 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5331
5411
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment(
|
|
5332
5412
|
rt, thisVal, args, count);
|
|
5333
5413
|
});
|
|
5414
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_"
|
|
5415
|
+
"with_grammar"] = jsi::Function::createFromHostFunction(
|
|
5416
|
+
rt,
|
|
5417
|
+
jsi::PropNameID::forAscii(rt,
|
|
5418
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5419
|
+
"samplerbuilder_constrain_with_grammar"),
|
|
5420
|
+
0,
|
|
5421
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5422
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5423
|
+
return this
|
|
5424
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_grammar(
|
|
5425
|
+
rt, thisVal, args, count);
|
|
5426
|
+
});
|
|
5427
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_"
|
|
5428
|
+
"with_json_schema"] = jsi::Function::createFromHostFunction(
|
|
5429
|
+
rt,
|
|
5430
|
+
jsi::PropNameID::forAscii(rt,
|
|
5431
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5432
|
+
"samplerbuilder_constrain_with_json_schema"),
|
|
5433
|
+
0,
|
|
5434
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5435
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5436
|
+
return this
|
|
5437
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_json_schema(
|
|
5438
|
+
rt, thisVal, args, count);
|
|
5439
|
+
});
|
|
5440
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_"
|
|
5441
|
+
"with_regex"] = jsi::Function::createFromHostFunction(
|
|
5442
|
+
rt,
|
|
5443
|
+
jsi::PropNameID::forAscii(rt,
|
|
5444
|
+
"ubrn_uniffi_nobodywho_uniffi_checksum_method_"
|
|
5445
|
+
"samplerbuilder_constrain_with_regex"),
|
|
5446
|
+
0,
|
|
5447
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5448
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5449
|
+
return this
|
|
5450
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_regex(
|
|
5451
|
+
rt, thisVal, args, count);
|
|
5452
|
+
});
|
|
5334
5453
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist"] =
|
|
5335
5454
|
jsi::Function::createFromHostFunction(
|
|
5336
5455
|
rt,
|
|
@@ -5368,28 +5487,28 @@ NativeNobodywho::NativeNobodywho(
|
|
|
5368
5487
|
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature(
|
|
5369
5488
|
rt, thisVal, args, count);
|
|
5370
5489
|
});
|
|
5371
|
-
props["
|
|
5490
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy"] =
|
|
5372
5491
|
jsi::Function::createFromHostFunction(
|
|
5373
5492
|
rt,
|
|
5374
5493
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5375
|
-
"
|
|
5494
|
+
"method_samplerbuilder_greedy"),
|
|
5376
5495
|
0,
|
|
5377
5496
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5378
5497
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5379
5498
|
return this
|
|
5380
|
-
->
|
|
5499
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy(
|
|
5381
5500
|
rt, thisVal, args, count);
|
|
5382
5501
|
});
|
|
5383
|
-
props["
|
|
5502
|
+
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json"] =
|
|
5384
5503
|
jsi::Function::createFromHostFunction(
|
|
5385
5504
|
rt,
|
|
5386
5505
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
|
|
5387
|
-
"
|
|
5506
|
+
"method_samplerbuilder_json"),
|
|
5388
5507
|
0,
|
|
5389
5508
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
5390
5509
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5391
5510
|
return this
|
|
5392
|
-
->
|
|
5511
|
+
->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json(
|
|
5393
5512
|
rt, thisVal, args, count);
|
|
5394
5513
|
});
|
|
5395
5514
|
props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_"
|
|
@@ -6161,6 +6280,7 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new(
|
|
|
6161
6280
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
|
|
6162
6281
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
|
|
6163
6282
|
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
|
|
6283
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[8]),
|
|
6164
6284
|
&status);
|
|
6165
6285
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6166
6286
|
rt, callInvoker, status, args[count - 1]);
|
|
@@ -6342,6 +6462,19 @@ jsi::Value NativeNobodywho::
|
|
|
6342
6462
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6343
6463
|
value);
|
|
6344
6464
|
}
|
|
6465
|
+
jsi::Value NativeNobodywho::
|
|
6466
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_context_shift(
|
|
6467
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6468
|
+
size_t count) {
|
|
6469
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_set_context_shift(
|
|
6470
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6471
|
+
args[0]),
|
|
6472
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
6473
|
+
args[1]));
|
|
6474
|
+
|
|
6475
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
6476
|
+
value);
|
|
6477
|
+
}
|
|
6345
6478
|
jsi::Value NativeNobodywho::
|
|
6346
6479
|
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_sampler_config(
|
|
6347
6480
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -6630,6 +6763,21 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
|
|
|
6630
6763
|
return uniffi_jsi::Bridging<uint32_t>::toJs(rt, callInvoker, value);
|
|
6631
6764
|
}
|
|
6632
6765
|
jsi::Value
|
|
6766
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_source(
|
|
6767
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6768
|
+
size_t count) {
|
|
6769
|
+
RustCallStatus status =
|
|
6770
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
6771
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_rustmodel_source(
|
|
6772
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
6773
|
+
args[0]),
|
|
6774
|
+
&status);
|
|
6775
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
6776
|
+
rt, callInvoker, status, args[count - 1]);
|
|
6777
|
+
|
|
6778
|
+
return uniffi::nobodywho::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
6779
|
+
}
|
|
6780
|
+
jsi::Value
|
|
6633
6781
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
|
|
6634
6782
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
6635
6783
|
size_t count) {
|
|
@@ -7171,6 +7319,63 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_samplerbuilder_new(
|
|
|
7171
7319
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7172
7320
|
value);
|
|
7173
7321
|
}
|
|
7322
|
+
jsi::Value NativeNobodywho::
|
|
7323
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_grammar(
|
|
7324
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7325
|
+
size_t count) {
|
|
7326
|
+
RustCallStatus status =
|
|
7327
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7328
|
+
auto value =
|
|
7329
|
+
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_grammar(
|
|
7330
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7331
|
+
args[0]),
|
|
7332
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7333
|
+
args[1]),
|
|
7334
|
+
&status);
|
|
7335
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7336
|
+
rt, callInvoker, status, args[count - 1]);
|
|
7337
|
+
|
|
7338
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7339
|
+
value);
|
|
7340
|
+
}
|
|
7341
|
+
jsi::Value NativeNobodywho::
|
|
7342
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_json_schema(
|
|
7343
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7344
|
+
size_t count) {
|
|
7345
|
+
RustCallStatus status =
|
|
7346
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7347
|
+
auto value =
|
|
7348
|
+
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_json_schema(
|
|
7349
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7350
|
+
args[0]),
|
|
7351
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7352
|
+
args[1]),
|
|
7353
|
+
&status);
|
|
7354
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7355
|
+
rt, callInvoker, status, args[count - 1]);
|
|
7356
|
+
|
|
7357
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7358
|
+
value);
|
|
7359
|
+
}
|
|
7360
|
+
jsi::Value NativeNobodywho::
|
|
7361
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_regex(
|
|
7362
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7363
|
+
size_t count) {
|
|
7364
|
+
RustCallStatus status =
|
|
7365
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7366
|
+
auto value =
|
|
7367
|
+
uniffi_nobodywho_uniffi_fn_method_samplerbuilder_constrain_with_regex(
|
|
7368
|
+
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7369
|
+
args[0]),
|
|
7370
|
+
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
7371
|
+
args[1]),
|
|
7372
|
+
&status);
|
|
7373
|
+
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7374
|
+
rt, callInvoker, status, args[count - 1]);
|
|
7375
|
+
|
|
7376
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7377
|
+
value);
|
|
7378
|
+
}
|
|
7174
7379
|
jsi::Value
|
|
7175
7380
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dist(
|
|
7176
7381
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -7229,17 +7434,14 @@ jsi::Value NativeNobodywho::
|
|
|
7229
7434
|
value);
|
|
7230
7435
|
}
|
|
7231
7436
|
jsi::Value
|
|
7232
|
-
NativeNobodywho::
|
|
7437
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
|
|
7233
7438
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7234
7439
|
size_t count) {
|
|
7235
7440
|
RustCallStatus status =
|
|
7236
7441
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7237
|
-
auto value =
|
|
7442
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
|
|
7238
7443
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7239
7444
|
args[0]),
|
|
7240
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
7241
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
|
|
7242
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
|
|
7243
7445
|
&status);
|
|
7244
7446
|
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7245
7447
|
rt, callInvoker, status, args[count - 1]);
|
|
@@ -7248,12 +7450,12 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar(
|
|
|
7248
7450
|
value);
|
|
7249
7451
|
}
|
|
7250
7452
|
jsi::Value
|
|
7251
|
-
NativeNobodywho::
|
|
7453
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json(
|
|
7252
7454
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7253
7455
|
size_t count) {
|
|
7254
7456
|
RustCallStatus status =
|
|
7255
7457
|
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7256
|
-
auto value =
|
|
7458
|
+
auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json(
|
|
7257
7459
|
uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
|
|
7258
7460
|
args[0]),
|
|
7259
7461
|
&status);
|
|
@@ -7742,21 +7944,6 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_dry(
|
|
|
7742
7944
|
value);
|
|
7743
7945
|
}
|
|
7744
7946
|
jsi::Value
|
|
7745
|
-
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar(
|
|
7746
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7747
|
-
size_t count) {
|
|
7748
|
-
RustCallStatus status =
|
|
7749
|
-
uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7750
|
-
auto value = uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar(
|
|
7751
|
-
uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
|
|
7752
|
-
&status);
|
|
7753
|
-
uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
|
|
7754
|
-
rt, callInvoker, status, args[count - 1]);
|
|
7755
|
-
|
|
7756
|
-
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
7757
|
-
value);
|
|
7758
|
-
}
|
|
7759
|
-
jsi::Value
|
|
7760
7947
|
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_greedy(
|
|
7761
7948
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
7762
7949
|
size_t count) {
|
|
@@ -8468,14 +8655,6 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_dry(
|
|
|
8468
8655
|
|
|
8469
8656
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8470
8657
|
}
|
|
8471
|
-
jsi::Value NativeNobodywho::
|
|
8472
|
-
cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar(
|
|
8473
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8474
|
-
size_t count) {
|
|
8475
|
-
auto value = uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar();
|
|
8476
|
-
|
|
8477
|
-
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8478
|
-
}
|
|
8479
8658
|
jsi::Value NativeNobodywho::
|
|
8480
8659
|
cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_greedy(
|
|
8481
8660
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8629,6 +8808,15 @@ jsi::Value NativeNobodywho::
|
|
|
8629
8808
|
|
|
8630
8809
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8631
8810
|
}
|
|
8811
|
+
jsi::Value NativeNobodywho::
|
|
8812
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_context_shift(
|
|
8813
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8814
|
+
size_t count) {
|
|
8815
|
+
auto value =
|
|
8816
|
+
uniffi_nobodywho_uniffi_checksum_method_rustchat_set_context_shift();
|
|
8817
|
+
|
|
8818
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8819
|
+
}
|
|
8632
8820
|
jsi::Value NativeNobodywho::
|
|
8633
8821
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_sampler_config(
|
|
8634
8822
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8732,6 +8920,14 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
|
|
|
8732
8920
|
|
|
8733
8921
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8734
8922
|
}
|
|
8923
|
+
jsi::Value
|
|
8924
|
+
NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_source(
|
|
8925
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8926
|
+
size_t count) {
|
|
8927
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_rustmodel_source();
|
|
8928
|
+
|
|
8929
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8930
|
+
}
|
|
8735
8931
|
jsi::Value NativeNobodywho::
|
|
8736
8932
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file(
|
|
8737
8933
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8858,6 +9054,33 @@ jsi::Value NativeNobodywho::
|
|
|
8858
9054
|
|
|
8859
9055
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8860
9056
|
}
|
|
9057
|
+
jsi::Value NativeNobodywho::
|
|
9058
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_grammar(
|
|
9059
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
9060
|
+
size_t count) {
|
|
9061
|
+
auto value =
|
|
9062
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_grammar();
|
|
9063
|
+
|
|
9064
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9065
|
+
}
|
|
9066
|
+
jsi::Value NativeNobodywho::
|
|
9067
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_json_schema(
|
|
9068
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
9069
|
+
size_t count) {
|
|
9070
|
+
auto value =
|
|
9071
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_json_schema();
|
|
9072
|
+
|
|
9073
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9074
|
+
}
|
|
9075
|
+
jsi::Value NativeNobodywho::
|
|
9076
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_regex(
|
|
9077
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
9078
|
+
size_t count) {
|
|
9079
|
+
auto value =
|
|
9080
|
+
uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_constrain_with_regex();
|
|
9081
|
+
|
|
9082
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9083
|
+
}
|
|
8861
9084
|
jsi::Value NativeNobodywho::
|
|
8862
9085
|
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist(
|
|
8863
9086
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -8884,18 +9107,18 @@ jsi::Value NativeNobodywho::
|
|
|
8884
9107
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8885
9108
|
}
|
|
8886
9109
|
jsi::Value NativeNobodywho::
|
|
8887
|
-
|
|
9110
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy(
|
|
8888
9111
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8889
9112
|
size_t count) {
|
|
8890
|
-
auto value =
|
|
9113
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy();
|
|
8891
9114
|
|
|
8892
9115
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8893
9116
|
}
|
|
8894
9117
|
jsi::Value NativeNobodywho::
|
|
8895
|
-
|
|
9118
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json(
|
|
8896
9119
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
8897
9120
|
size_t count) {
|
|
8898
|
-
auto value =
|
|
9121
|
+
auto value = uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json();
|
|
8899
9122
|
|
|
8900
9123
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8901
9124
|
}
|