react-native-nobodywho 3.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.
@@ -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, RustCallStatus *uniffi_out_err);
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);
@@ -128,6 +129,9 @@ uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_json_prompt(
128
129
  /*handle*/ uint64_t ptr, RustBuffer json, RustCallStatus *uniffi_out_err);
129
130
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
130
131
  /*handle*/ uint64_t ptr, RustBuffer parts, RustCallStatus *uniffi_out_err);
132
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_complete(
133
+ /*handle*/ uint64_t ptr, RustBuffer messages, RustBuffer options,
134
+ RustCallStatus *uniffi_out_err);
131
135
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_get_chat_history(
132
136
  /*handle*/ uint64_t ptr);
133
137
  /*handle*/ uint64_t
@@ -151,6 +155,9 @@ uniffi_nobodywho_uniffi_fn_method_rustchat_mtp_acceptance_rate(
151
155
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_rustchat_set_chat_history(
152
156
  /*handle*/ uint64_t ptr, RustBuffer messages);
153
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
154
161
  uniffi_nobodywho_uniffi_fn_method_rustchat_set_sampler_config(
155
162
  /*handle*/ uint64_t ptr,
156
163
  /*handle*/ uint64_t sampler);
@@ -198,6 +205,8 @@ void uniffi_nobodywho_uniffi_fn_free_rustmodel(
198
205
  /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
199
206
  uint32_t uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
200
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);
201
210
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
202
211
  /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
203
212
  void uniffi_nobodywho_uniffi_fn_free_rustspeechtotext(
@@ -287,17 +296,33 @@ void uniffi_nobodywho_uniffi_fn_free_samplerbuilder(
287
296
  /*handle*/ uint64_t handle, RustCallStatus *uniffi_out_err);
288
297
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_constructor_samplerbuilder_new(
289
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);
290
310
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dist(
291
311
  /*handle*/ uint64_t ptr, RustCallStatus *uniffi_out_err);
292
312
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dry(
293
313
  /*handle*/ uint64_t ptr, float multiplier, float base,
294
314
  int32_t allowed_length, int32_t penalty_last_n, RustBuffer seq_breakers,
295
315
  RustCallStatus *uniffi_out_err);
296
- /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar(
297
- /*handle*/ uint64_t ptr, RustBuffer grammar, RustBuffer trigger_on,
298
- RustBuffer root, RustCallStatus *uniffi_out_err);
316
+ /*handle*/ uint64_t
317
+ uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
318
+ /*handle*/ uint64_t ptr, float temperature, float delta, float exponent,
319
+ RustCallStatus *uniffi_out_err);
299
320
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
300
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);
324
+ /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias(
325
+ /*handle*/ uint64_t ptr, RustBuffer biases, RustCallStatus *uniffi_out_err);
301
326
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_min_p(
302
327
  /*handle*/ uint64_t ptr, float min_p, uint32_t min_keep,
303
328
  RustCallStatus *uniffi_out_err);
@@ -319,6 +344,9 @@ uniffi_nobodywho_uniffi_fn_method_samplerbuilder_temperature(
319
344
  /*handle*/ uint64_t ptr, float temperature, RustCallStatus *uniffi_out_err);
320
345
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_k(
321
346
  /*handle*/ uint64_t ptr, int32_t top_k, RustCallStatus *uniffi_out_err);
347
+ /*handle*/ uint64_t
348
+ uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma(
349
+ /*handle*/ uint64_t ptr, float n, RustCallStatus *uniffi_out_err);
322
350
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_p(
323
351
  /*handle*/ uint64_t ptr, float top_p, uint32_t min_keep,
324
352
  RustCallStatus *uniffi_out_err);
@@ -375,8 +403,6 @@ uniffi_nobodywho_uniffi_fn_func_sampler_preset_constrain_with_regex(
375
403
  RustCallStatus *uniffi_out_err);
376
404
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_sampler_preset_dry(
377
405
  RustCallStatus *uniffi_out_err);
378
- /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar(
379
- RustBuffer grammar, RustCallStatus *uniffi_out_err);
380
406
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_sampler_preset_greedy(
381
407
  RustCallStatus *uniffi_out_err);
382
408
  /*handle*/ uint64_t uniffi_nobodywho_uniffi_fn_func_sampler_preset_json(
@@ -521,7 +547,6 @@ uint16_t
521
547
  uniffi_nobodywho_uniffi_checksum_func_sampler_preset_constrain_with_regex();
522
548
  uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_default();
523
549
  uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_dry();
524
- uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar();
525
550
  uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_greedy();
526
551
  uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_json();
527
552
  uint16_t uniffi_nobodywho_uniffi_checksum_func_sampler_preset_temperature();
@@ -531,6 +556,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask();
531
556
  uint16_t
532
557
  uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_json_prompt();
533
558
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt();
559
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_complete();
534
560
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_history();
535
561
  uint16_t
536
562
  uniffi_nobodywho_uniffi_checksum_method_rustchat_get_sampler_config_json();
@@ -542,6 +568,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_mtp_acceptance_rate();
542
568
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_context();
543
569
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_reset_history();
544
570
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_chat_history();
571
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_context_shift();
545
572
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_sampler_config();
546
573
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustchat_set_system_prompt();
547
574
  uint16_t
@@ -557,6 +584,7 @@ uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json();
557
584
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode();
558
585
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode_batch();
559
586
  uint16_t uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx();
587
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_rustmodel_source();
560
588
  uint16_t
561
589
  uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file();
562
590
  uint16_t
@@ -580,10 +608,19 @@ uint16_t
580
608
  uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_push();
581
609
  uint16_t
582
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();
583
617
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist();
584
618
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry();
585
- uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar();
619
+ uint16_t
620
+ uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature();
586
621
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy();
622
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json();
623
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_bias();
587
624
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_min_p();
588
625
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_mirostat_v1();
589
626
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_mirostat_v2();
@@ -591,6 +628,7 @@ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_penalties();
591
628
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_seed();
592
629
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_temperature();
593
630
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_k();
631
+ uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_sigma();
594
632
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_p();
595
633
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_typical_p();
596
634
  uint16_t uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_xtc();
@@ -2787,7 +2825,7 @@ NativeNobodywho::NativeNobodywho(
2787
2825
  rt,
2788
2826
  jsi::PropNameID::forAscii(
2789
2827
  rt, "ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new"),
2790
- 8,
2828
+ 9,
2791
2829
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
2792
2830
  const jsi::Value *args, size_t count) -> jsi::Value {
2793
2831
  return this
@@ -2829,6 +2867,18 @@ NativeNobodywho::NativeNobodywho(
2829
2867
  ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
2830
2868
  rt, thisVal, args, count);
2831
2869
  });
2870
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_complete"] =
2871
+ jsi::Function::createFromHostFunction(
2872
+ rt,
2873
+ jsi::PropNameID::forAscii(
2874
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_complete"),
2875
+ 3,
2876
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
2877
+ const jsi::Value *args, size_t count) -> jsi::Value {
2878
+ return this
2879
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_complete(
2880
+ rt, thisVal, args, count);
2881
+ });
2832
2882
  props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_get_chat_history"] =
2833
2883
  jsi::Function::createFromHostFunction(
2834
2884
  rt,
@@ -2939,6 +2989,18 @@ NativeNobodywho::NativeNobodywho(
2939
2989
  ->cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_chat_history(
2940
2990
  rt, thisVal, args, count);
2941
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
+ });
2942
3004
  props["ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_set_sampler_config"] =
2943
3005
  jsi::Function::createFromHostFunction(
2944
3006
  rt,
@@ -3175,6 +3237,17 @@ NativeNobodywho::NativeNobodywho(
3175
3237
  ->cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
3176
3238
  rt, thisVal, args, count);
3177
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
+ });
3178
3251
  props["ubrn_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext"] =
3179
3252
  jsi::Function::createFromHostFunction(
3180
3253
  rt,
@@ -3578,6 +3651,43 @@ NativeNobodywho::NativeNobodywho(
3578
3651
  ->cpp_uniffi_nobodywho_uniffi_fn_constructor_samplerbuilder_new(
3579
3652
  rt, thisVal, args, count);
3580
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
+ });
3581
3691
  props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dist"] =
3582
3692
  jsi::Function::createFromHostFunction(
3583
3693
  rt,
@@ -3602,30 +3712,53 @@ NativeNobodywho::NativeNobodywho(
3602
3712
  ->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dry(
3603
3713
  rt, thisVal, args, count);
3604
3714
  });
3605
- props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar"] =
3715
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_"
3716
+ "temperature"] = jsi::Function::createFromHostFunction(
3717
+ rt,
3718
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_"
3719
+ "samplerbuilder_dynamic_temperature"),
3720
+ 4,
3721
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3722
+ const jsi::Value *args, size_t count) -> jsi::Value {
3723
+ return this
3724
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
3725
+ rt, thisVal, args, count);
3726
+ });
3727
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy"] =
3606
3728
  jsi::Function::createFromHostFunction(
3607
3729
  rt,
3608
3730
  jsi::PropNameID::forAscii(
3609
3731
  rt,
3610
- "ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar"),
3611
- 4,
3732
+ "ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy"),
3733
+ 1,
3612
3734
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3613
3735
  const jsi::Value *args, size_t count) -> jsi::Value {
3614
3736
  return this
3615
- ->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar(
3737
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
3616
3738
  rt, thisVal, args, count);
3617
3739
  });
3618
- props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy"] =
3740
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json"] =
3619
3741
  jsi::Function::createFromHostFunction(
3620
3742
  rt,
3621
3743
  jsi::PropNameID::forAscii(
3622
- rt,
3623
- "ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy"),
3744
+ rt, "ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json"),
3624
3745
  1,
3625
3746
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3626
3747
  const jsi::Value *args, size_t count) -> jsi::Value {
3627
3748
  return this
3628
- ->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
3749
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json(
3750
+ rt, thisVal, args, count);
3751
+ });
3752
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias"] =
3753
+ jsi::Function::createFromHostFunction(
3754
+ rt,
3755
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
3756
+ "method_samplerbuilder_logit_bias"),
3757
+ 2,
3758
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3759
+ const jsi::Value *args, size_t count) -> jsi::Value {
3760
+ return this
3761
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias(
3629
3762
  rt, thisVal, args, count);
3630
3763
  });
3631
3764
  props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_min_p"] =
@@ -3714,6 +3847,18 @@ NativeNobodywho::NativeNobodywho(
3714
3847
  ->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_k(
3715
3848
  rt, thisVal, args, count);
3716
3849
  });
3850
+ props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma"] =
3851
+ jsi::Function::createFromHostFunction(
3852
+ rt,
3853
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_fn_"
3854
+ "method_samplerbuilder_top_n_sigma"),
3855
+ 2,
3856
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3857
+ const jsi::Value *args, size_t count) -> jsi::Value {
3858
+ return this
3859
+ ->cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma(
3860
+ rt, thisVal, args, count);
3861
+ });
3717
3862
  props["ubrn_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_p"] =
3718
3863
  jsi::Function::createFromHostFunction(
3719
3864
  rt,
@@ -3964,19 +4109,6 @@ NativeNobodywho::NativeNobodywho(
3964
4109
  return this->cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_dry(
3965
4110
  rt, thisVal, args, count);
3966
4111
  });
3967
- props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar"] =
3968
- jsi::Function::createFromHostFunction(
3969
- rt,
3970
- jsi::PropNameID::forAscii(
3971
- rt,
3972
- "ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar"),
3973
- 1,
3974
- [this](jsi::Runtime &rt, const jsi::Value &thisVal,
3975
- const jsi::Value *args, size_t count) -> jsi::Value {
3976
- return this
3977
- ->cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar(
3978
- rt, thisVal, args, count);
3979
- });
3980
4112
  props["ubrn_uniffi_nobodywho_uniffi_fn_func_sampler_preset_greedy"] =
3981
4113
  jsi::Function::createFromHostFunction(
3982
4114
  rt,
@@ -4717,18 +4849,6 @@ NativeNobodywho::NativeNobodywho(
4717
4849
  ->cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_dry(
4718
4850
  rt, thisVal, args, count);
4719
4851
  });
4720
- props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar"] =
4721
- jsi::Function::createFromHostFunction(
4722
- rt,
4723
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
4724
- "func_sampler_preset_grammar"),
4725
- 0,
4726
- [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4727
- const jsi::Value *args, size_t count) -> jsi::Value {
4728
- return this
4729
- ->cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar(
4730
- rt, thisVal, args, count);
4731
- });
4732
4852
  props["ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_greedy"] =
4733
4853
  jsi::Function::createFromHostFunction(
4734
4854
  rt,
@@ -4826,6 +4946,19 @@ NativeNobodywho::NativeNobodywho(
4826
4946
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt(
4827
4947
  rt, thisVal, args, count);
4828
4948
  });
4949
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_complete"] =
4950
+ jsi::Function::createFromHostFunction(
4951
+ rt,
4952
+ jsi::PropNameID::forAscii(
4953
+ rt,
4954
+ "ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_complete"),
4955
+ 0,
4956
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
4957
+ const jsi::Value *args, size_t count) -> jsi::Value {
4958
+ return this
4959
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_complete(
4960
+ rt, thisVal, args, count);
4961
+ });
4829
4962
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_"
4830
4963
  "history"] = jsi::Function::createFromHostFunction(
4831
4964
  rt,
@@ -4934,6 +5067,18 @@ NativeNobodywho::NativeNobodywho(
4934
5067
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_chat_history(
4935
5068
  rt, thisVal, args, count);
4936
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
+ });
4937
5082
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_sampler_"
4938
5083
  "config"] = jsi::Function::createFromHostFunction(
4939
5084
  rt,
@@ -5081,6 +5226,19 @@ NativeNobodywho::NativeNobodywho(
5081
5226
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
5082
5227
  rt, thisVal, args, count);
5083
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
+ });
5084
5242
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_"
5085
5243
  "transcribe_file"] = jsi::Function::createFromHostFunction(
5086
5244
  rt,
@@ -5253,6 +5411,45 @@ NativeNobodywho::NativeNobodywho(
5253
5411
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_rustvoiceactivitydetection_segment(
5254
5412
  rt, thisVal, args, count);
5255
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
+ });
5256
5453
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist"] =
5257
5454
  jsi::Function::createFromHostFunction(
5258
5455
  rt,
@@ -5277,30 +5474,55 @@ NativeNobodywho::NativeNobodywho(
5277
5474
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry(
5278
5475
  rt, thisVal, args, count);
5279
5476
  });
5280
- props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar"] =
5477
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_"
5478
+ "temperature"] = jsi::Function::createFromHostFunction(
5479
+ rt,
5480
+ jsi::PropNameID::forAscii(rt,
5481
+ "ubrn_uniffi_nobodywho_uniffi_checksum_method_"
5482
+ "samplerbuilder_dynamic_temperature"),
5483
+ 0,
5484
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5485
+ const jsi::Value *args, size_t count) -> jsi::Value {
5486
+ return this
5487
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature(
5488
+ rt, thisVal, args, count);
5489
+ });
5490
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy"] =
5281
5491
  jsi::Function::createFromHostFunction(
5282
5492
  rt,
5283
5493
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
5284
- "method_samplerbuilder_grammar"),
5494
+ "method_samplerbuilder_greedy"),
5285
5495
  0,
5286
5496
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5287
5497
  const jsi::Value *args, size_t count) -> jsi::Value {
5288
5498
  return this
5289
- ->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar(
5499
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy(
5290
5500
  rt, thisVal, args, count);
5291
5501
  });
5292
- props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy"] =
5502
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json"] =
5293
5503
  jsi::Function::createFromHostFunction(
5294
5504
  rt,
5295
5505
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
5296
- "method_samplerbuilder_greedy"),
5506
+ "method_samplerbuilder_json"),
5297
5507
  0,
5298
5508
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5299
5509
  const jsi::Value *args, size_t count) -> jsi::Value {
5300
5510
  return this
5301
- ->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_greedy(
5511
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json(
5302
5512
  rt, thisVal, args, count);
5303
5513
  });
5514
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_"
5515
+ "bias"] = jsi::Function::createFromHostFunction(
5516
+ rt,
5517
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
5518
+ "method_samplerbuilder_logit_bias"),
5519
+ 0,
5520
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5521
+ const jsi::Value *args, size_t count) -> jsi::Value {
5522
+ return this
5523
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_bias(
5524
+ rt, thisVal, args, count);
5525
+ });
5304
5526
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_min_p"] =
5305
5527
  jsi::Function::createFromHostFunction(
5306
5528
  rt,
@@ -5385,6 +5607,18 @@ NativeNobodywho::NativeNobodywho(
5385
5607
  ->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_k(
5386
5608
  rt, thisVal, args, count);
5387
5609
  });
5610
+ props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_"
5611
+ "sigma"] = jsi::Function::createFromHostFunction(
5612
+ rt,
5613
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_nobodywho_uniffi_checksum_"
5614
+ "method_samplerbuilder_top_n_sigma"),
5615
+ 0,
5616
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
5617
+ const jsi::Value *args, size_t count) -> jsi::Value {
5618
+ return this
5619
+ ->cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_sigma(
5620
+ rt, thisVal, args, count);
5621
+ });
5388
5622
  props["ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_p"] =
5389
5623
  jsi::Function::createFromHostFunction(
5390
5624
  rt,
@@ -6046,6 +6280,7 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new(
6046
6280
  uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5]),
6047
6281
  uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[6]),
6048
6282
  uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[7]),
6283
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[8]),
6049
6284
  &status);
6050
6285
  uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6051
6286
  rt, callInvoker, status, args[count - 1]);
@@ -6103,6 +6338,24 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
6103
6338
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6104
6339
  value);
6105
6340
  }
6341
+ jsi::Value
6342
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_complete(
6343
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6344
+ size_t count) {
6345
+ RustCallStatus status =
6346
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
6347
+ auto value = uniffi_nobodywho_uniffi_fn_method_rustchat_complete(
6348
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
6349
+ args[0]),
6350
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
6351
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
6352
+ &status);
6353
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
6354
+ rt, callInvoker, status, args[count - 1]);
6355
+
6356
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6357
+ value);
6358
+ }
6106
6359
  jsi::Value NativeNobodywho::
6107
6360
  cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_chat_history(
6108
6361
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -6209,6 +6462,19 @@ jsi::Value NativeNobodywho::
6209
6462
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
6210
6463
  value);
6211
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
+ }
6212
6478
  jsi::Value NativeNobodywho::
6213
6479
  cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_sampler_config(
6214
6480
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -6497,6 +6763,21 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_rustmodel_max_ctx(
6497
6763
  return uniffi_jsi::Bridging<uint32_t>::toJs(rt, callInvoker, value);
6498
6764
  }
6499
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
6500
6781
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_clone_rustspeechtotext(
6501
6782
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
6502
6783
  size_t count) {
@@ -7038,6 +7319,63 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_constructor_samplerbuilder_new(
7038
7319
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
7039
7320
  value);
7040
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
+ }
7041
7379
  jsi::Value
7042
7380
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dist(
7043
7381
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -7075,18 +7413,35 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dry(
7075
7413
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
7076
7414
  value);
7077
7415
  }
7416
+ jsi::Value NativeNobodywho::
7417
+ cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
7418
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7419
+ size_t count) {
7420
+ RustCallStatus status =
7421
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
7422
+ auto value =
7423
+ uniffi_nobodywho_uniffi_fn_method_samplerbuilder_dynamic_temperature(
7424
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
7425
+ args[0]),
7426
+ uniffi_jsi::Bridging<float>::fromJs(rt, callInvoker, args[1]),
7427
+ uniffi_jsi::Bridging<float>::fromJs(rt, callInvoker, args[2]),
7428
+ uniffi_jsi::Bridging<float>::fromJs(rt, callInvoker, args[3]),
7429
+ &status);
7430
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
7431
+ rt, callInvoker, status, args[count - 1]);
7432
+
7433
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
7434
+ value);
7435
+ }
7078
7436
  jsi::Value
7079
- NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar(
7437
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
7080
7438
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7081
7439
  size_t count) {
7082
7440
  RustCallStatus status =
7083
7441
  uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
7084
- auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar(
7442
+ auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
7085
7443
  uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
7086
7444
  args[0]),
7087
- uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
7088
- uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]),
7089
- uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]),
7090
7445
  &status);
7091
7446
  uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
7092
7447
  rt, callInvoker, status, args[count - 1]);
@@ -7095,12 +7450,12 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_grammar(
7095
7450
  value);
7096
7451
  }
7097
7452
  jsi::Value
7098
- NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
7453
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json(
7099
7454
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7100
7455
  size_t count) {
7101
7456
  RustCallStatus status =
7102
7457
  uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
7103
- auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
7458
+ auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_json(
7104
7459
  uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
7105
7460
  args[0]),
7106
7461
  &status);
@@ -7110,6 +7465,23 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_greedy(
7110
7465
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
7111
7466
  value);
7112
7467
  }
7468
+ jsi::Value NativeNobodywho::
7469
+ cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias(
7470
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7471
+ size_t count) {
7472
+ RustCallStatus status =
7473
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
7474
+ auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_logit_bias(
7475
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
7476
+ args[0]),
7477
+ uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
7478
+ &status);
7479
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
7480
+ rt, callInvoker, status, args[count - 1]);
7481
+
7482
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
7483
+ value);
7484
+ }
7113
7485
  jsi::Value
7114
7486
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_min_p(
7115
7487
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -7231,6 +7603,22 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_k(
7231
7603
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
7232
7604
  value);
7233
7605
  }
7606
+ jsi::Value NativeNobodywho::
7607
+ cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma(
7608
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7609
+ size_t count) {
7610
+ RustCallStatus status =
7611
+ uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
7612
+ auto value = uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_n_sigma(
7613
+ uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker,
7614
+ args[0]),
7615
+ uniffi_jsi::Bridging<float>::fromJs(rt, callInvoker, args[1]), &status);
7616
+ uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
7617
+ rt, callInvoker, status, args[count - 1]);
7618
+
7619
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
7620
+ value);
7621
+ }
7234
7622
  jsi::Value
7235
7623
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_method_samplerbuilder_top_p(
7236
7624
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -7556,21 +7944,6 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_dry(
7556
7944
  value);
7557
7945
  }
7558
7946
  jsi::Value
7559
- NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar(
7560
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7561
- size_t count) {
7562
- RustCallStatus status =
7563
- uniffi::nobodywho::Bridging<RustCallStatus>::rustSuccess(rt);
7564
- auto value = uniffi_nobodywho_uniffi_fn_func_sampler_preset_grammar(
7565
- uniffi::nobodywho::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
7566
- &status);
7567
- uniffi::nobodywho::Bridging<RustCallStatus>::copyIntoJs(
7568
- rt, callInvoker, status, args[count - 1]);
7569
-
7570
- return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
7571
- value);
7572
- }
7573
- jsi::Value
7574
7947
  NativeNobodywho::cpp_uniffi_nobodywho_uniffi_fn_func_sampler_preset_greedy(
7575
7948
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
7576
7949
  size_t count) {
@@ -8282,14 +8655,6 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_dry(
8282
8655
 
8283
8656
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8284
8657
  }
8285
- jsi::Value NativeNobodywho::
8286
- cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar(
8287
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8288
- size_t count) {
8289
- auto value = uniffi_nobodywho_uniffi_checksum_func_sampler_preset_grammar();
8290
-
8291
- return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8292
- }
8293
8658
  jsi::Value NativeNobodywho::
8294
8659
  cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_greedy(
8295
8660
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -8357,6 +8722,14 @@ jsi::Value NativeNobodywho::
8357
8722
 
8358
8723
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8359
8724
  }
8725
+ jsi::Value
8726
+ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_complete(
8727
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8728
+ size_t count) {
8729
+ auto value = uniffi_nobodywho_uniffi_checksum_method_rustchat_complete();
8730
+
8731
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8732
+ }
8360
8733
  jsi::Value NativeNobodywho::
8361
8734
  cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_history(
8362
8735
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -8435,6 +8808,15 @@ jsi::Value NativeNobodywho::
8435
8808
 
8436
8809
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8437
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
+ }
8438
8820
  jsi::Value NativeNobodywho::
8439
8821
  cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_sampler_config(
8440
8822
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -8538,6 +8920,14 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_rustmodel_max_ctx(
8538
8920
 
8539
8921
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8540
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
+ }
8541
8931
  jsi::Value NativeNobodywho::
8542
8932
  cpp_uniffi_nobodywho_uniffi_checksum_method_rustspeechtotext_transcribe_file(
8543
8933
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -8664,6 +9054,33 @@ jsi::Value NativeNobodywho::
8664
9054
 
8665
9055
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8666
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
+ }
8667
9084
  jsi::Value NativeNobodywho::
8668
9085
  cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dist(
8669
9086
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -8681,10 +9098,11 @@ NativeNobodywho::cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dry(
8681
9098
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8682
9099
  }
8683
9100
  jsi::Value NativeNobodywho::
8684
- cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar(
9101
+ cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature(
8685
9102
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
8686
9103
  size_t count) {
8687
- auto value = uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_grammar();
9104
+ auto value =
9105
+ uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_dynamic_temperature();
8688
9106
 
8689
9107
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8690
9108
  }
@@ -8696,6 +9114,23 @@ jsi::Value NativeNobodywho::
8696
9114
 
8697
9115
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8698
9116
  }
9117
+ jsi::Value NativeNobodywho::
9118
+ cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json(
9119
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
9120
+ size_t count) {
9121
+ auto value = uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_json();
9122
+
9123
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9124
+ }
9125
+ jsi::Value NativeNobodywho::
9126
+ cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_bias(
9127
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
9128
+ size_t count) {
9129
+ auto value =
9130
+ uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_logit_bias();
9131
+
9132
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9133
+ }
8699
9134
  jsi::Value NativeNobodywho::
8700
9135
  cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_min_p(
8701
9136
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -8756,6 +9191,15 @@ jsi::Value NativeNobodywho::
8756
9191
 
8757
9192
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8758
9193
  }
9194
+ jsi::Value NativeNobodywho::
9195
+ cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_sigma(
9196
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
9197
+ size_t count) {
9198
+ auto value =
9199
+ uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_n_sigma();
9200
+
9201
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9202
+ }
8759
9203
  jsi::Value NativeNobodywho::
8760
9204
  cpp_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_top_p(
8761
9205
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,