react-native-nobodywho 0.2.1 → 0.3.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/android/CMakeLists.txt +4 -2
- package/android/build.gradle +22 -17
- package/android/src/main/java/com/nobodywho/NobodywhoModule.kt +1 -0
- package/generated/cpp/nobodywho.cpp +453 -447
- package/generated/cpp/nobodywho.hpp +50 -49
- package/generated/ts/nobodywho-ffi.ts +19 -19
- package/generated/ts/nobodywho.ts +496 -496
- package/package.json +6 -1
- package/src/cross_encoder.ts +1 -1
- package/src/encoder.ts +1 -1
- package/src/model.ts +3 -3
- package/src/tool.ts +31 -1
|
@@ -28,92 +28,92 @@ protected:
|
|
|
28
28
|
jsi::Value cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string(
|
|
29
29
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
30
30
|
size_t count);
|
|
31
|
-
jsi::Value
|
|
31
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_clone_rustchat(
|
|
32
32
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
33
33
|
size_t count);
|
|
34
|
-
jsi::Value
|
|
34
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_free_rustchat(
|
|
35
35
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
36
36
|
size_t count);
|
|
37
|
-
jsi::Value
|
|
37
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new(
|
|
38
38
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
39
39
|
size_t count);
|
|
40
|
-
jsi::Value
|
|
40
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask(
|
|
41
41
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
42
42
|
size_t count);
|
|
43
|
-
jsi::Value
|
|
44
|
-
cpp_uniffi_nobodywho_uniffi_fn_method_crossencoder_rank_and_sort_json(
|
|
43
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_ask_with_prompt(
|
|
45
44
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
46
45
|
size_t count);
|
|
47
|
-
jsi::Value
|
|
46
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_chat_history(
|
|
48
47
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
49
48
|
size_t count);
|
|
50
|
-
jsi::Value
|
|
49
|
+
jsi::Value
|
|
50
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_sampler_config_json(
|
|
51
51
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
52
52
|
size_t count);
|
|
53
|
-
jsi::Value
|
|
53
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_system_prompt(
|
|
54
54
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
55
55
|
size_t count);
|
|
56
|
-
jsi::Value
|
|
56
|
+
jsi::Value
|
|
57
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_template_variables(
|
|
57
58
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
58
59
|
size_t count);
|
|
59
|
-
jsi::Value
|
|
60
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_reset_context(
|
|
60
61
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
61
62
|
size_t count);
|
|
62
|
-
jsi::Value
|
|
63
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_reset_history(
|
|
63
64
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
64
65
|
size_t count);
|
|
65
|
-
jsi::Value
|
|
66
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_chat_history(
|
|
66
67
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
67
68
|
size_t count);
|
|
68
|
-
jsi::Value
|
|
69
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_sampler_config(
|
|
69
70
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
70
71
|
size_t count);
|
|
71
|
-
jsi::Value
|
|
72
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_system_prompt(
|
|
72
73
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
73
74
|
size_t count);
|
|
74
|
-
jsi::Value
|
|
75
|
+
jsi::Value
|
|
76
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_template_variable(
|
|
75
77
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
76
78
|
size_t count);
|
|
77
|
-
jsi::Value
|
|
79
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_tools(
|
|
78
80
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
79
81
|
size_t count);
|
|
80
|
-
jsi::Value
|
|
82
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(
|
|
81
83
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
82
84
|
size_t count);
|
|
83
|
-
jsi::Value
|
|
84
|
-
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_sampler_config_json(
|
|
85
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder(
|
|
85
86
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
86
87
|
size_t count);
|
|
87
|
-
jsi::Value
|
|
88
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_free_rustcrossencoder(
|
|
88
89
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
89
90
|
size_t count);
|
|
90
|
-
jsi::Value
|
|
91
|
-
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_get_template_variables(
|
|
91
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_constructor_rustcrossencoder_new(
|
|
92
92
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
93
93
|
size_t count);
|
|
94
|
-
jsi::Value
|
|
94
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustcrossencoder_rank(
|
|
95
95
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
96
96
|
size_t count);
|
|
97
|
-
jsi::Value
|
|
97
|
+
jsi::Value
|
|
98
|
+
cpp_uniffi_nobodywho_uniffi_fn_method_rustcrossencoder_rank_and_sort_json(
|
|
98
99
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
99
100
|
size_t count);
|
|
100
|
-
jsi::Value
|
|
101
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_clone_rustencoder(
|
|
101
102
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
102
103
|
size_t count);
|
|
103
|
-
jsi::Value
|
|
104
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_free_rustencoder(
|
|
104
105
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
105
106
|
size_t count);
|
|
106
|
-
jsi::Value
|
|
107
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_constructor_rustencoder_new(
|
|
107
108
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
108
109
|
size_t count);
|
|
109
|
-
jsi::Value
|
|
110
|
-
cpp_uniffi_nobodywho_uniffi_fn_method_rustchat_set_template_variable(
|
|
110
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(
|
|
111
111
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
112
112
|
size_t count);
|
|
113
|
-
jsi::Value
|
|
113
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_clone_rustmodel(
|
|
114
114
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
115
115
|
size_t count);
|
|
116
|
-
jsi::Value
|
|
116
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_free_rustmodel(
|
|
117
117
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
118
118
|
size_t count);
|
|
119
119
|
jsi::Value cpp_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(
|
|
@@ -409,16 +409,6 @@ protected:
|
|
|
409
409
|
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_top_p(
|
|
410
410
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
411
411
|
size_t count);
|
|
412
|
-
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_method_crossencoder_rank(
|
|
413
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
414
|
-
size_t count);
|
|
415
|
-
jsi::Value
|
|
416
|
-
cpp_uniffi_nobodywho_uniffi_checksum_method_crossencoder_rank_and_sort_json(
|
|
417
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
418
|
-
size_t count);
|
|
419
|
-
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_method_encoder_encode(
|
|
420
|
-
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
421
|
-
size_t count);
|
|
422
412
|
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask(
|
|
423
413
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
424
414
|
size_t count);
|
|
@@ -471,6 +461,16 @@ protected:
|
|
|
471
461
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rustchat_stop_generation(
|
|
472
462
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
473
463
|
size_t count);
|
|
464
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank(
|
|
465
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
466
|
+
size_t count);
|
|
467
|
+
jsi::Value
|
|
468
|
+
cpp_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json(
|
|
469
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
470
|
+
size_t count);
|
|
471
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(
|
|
472
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
473
|
+
size_t count);
|
|
474
474
|
jsi::Value
|
|
475
475
|
cpp_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed(
|
|
476
476
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -530,13 +530,14 @@ protected:
|
|
|
530
530
|
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_method_samplerconfig_to_json(
|
|
531
531
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
532
532
|
size_t count);
|
|
533
|
-
jsi::Value
|
|
533
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustchat_new(
|
|
534
534
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
535
535
|
size_t count);
|
|
536
|
-
jsi::Value
|
|
536
|
+
jsi::Value
|
|
537
|
+
cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustcrossencoder_new(
|
|
537
538
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
538
539
|
size_t count);
|
|
539
|
-
jsi::Value
|
|
540
|
+
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new(
|
|
540
541
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
541
542
|
size_t count);
|
|
542
543
|
jsi::Value cpp_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new(
|
|
@@ -556,16 +557,16 @@ protected:
|
|
|
556
557
|
jsi::Value cpp_ffi_nobodywho_uniffi_uniffi_contract_version(
|
|
557
558
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
558
559
|
size_t count);
|
|
559
|
-
jsi::Value
|
|
560
|
+
jsi::Value cpp_uniffi_internal_fn_method_rustchat_ffi__bless_pointer(
|
|
560
561
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
561
562
|
size_t count);
|
|
562
|
-
jsi::Value
|
|
563
|
+
jsi::Value cpp_uniffi_internal_fn_method_rustcrossencoder_ffi__bless_pointer(
|
|
563
564
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
564
565
|
size_t count);
|
|
565
|
-
jsi::Value
|
|
566
|
+
jsi::Value cpp_uniffi_internal_fn_method_rustencoder_ffi__bless_pointer(
|
|
566
567
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
567
568
|
size_t count);
|
|
568
|
-
jsi::Value
|
|
569
|
+
jsi::Value cpp_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(
|
|
569
570
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
570
571
|
size_t count);
|
|
571
572
|
jsi::Value cpp_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer(
|
|
@@ -18,17 +18,6 @@ interface NativeModuleInterface {
|
|
|
18
18
|
ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length(string: string, uniffi_out_err: UniffiRustCallStatus): number;
|
|
19
19
|
ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer(string: string, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
|
|
20
20
|
ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string(buffer: Uint8Array, uniffi_out_err: UniffiRustCallStatus): string;
|
|
21
|
-
ubrn_uniffi_nobodywho_uniffi_fn_clone_crossencoder(handle: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
22
|
-
ubrn_uniffi_nobodywho_uniffi_fn_free_crossencoder(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
23
|
-
ubrn_uniffi_nobodywho_uniffi_fn_constructor_crossencoder_new(model: bigint, contextSize: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
24
|
-
ubrn_uniffi_nobodywho_uniffi_fn_method_crossencoder_rank(ptr: bigint, query: Uint8Array, documents: Uint8Array): bigint;
|
|
25
|
-
ubrn_uniffi_nobodywho_uniffi_fn_method_crossencoder_rank_and_sort_json(ptr: bigint, query: Uint8Array, documents: Uint8Array): bigint;
|
|
26
|
-
ubrn_uniffi_nobodywho_uniffi_fn_clone_encoder(handle: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
27
|
-
ubrn_uniffi_nobodywho_uniffi_fn_free_encoder(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
28
|
-
ubrn_uniffi_nobodywho_uniffi_fn_constructor_encoder_new(model: bigint, contextSize: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
29
|
-
ubrn_uniffi_nobodywho_uniffi_fn_method_encoder_encode(ptr: bigint, text: Uint8Array): bigint;
|
|
30
|
-
ubrn_uniffi_nobodywho_uniffi_fn_clone_model(handle: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
31
|
-
ubrn_uniffi_nobodywho_uniffi_fn_free_model(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
32
21
|
ubrn_uniffi_nobodywho_uniffi_fn_clone_rustchat(handle: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
33
22
|
ubrn_uniffi_nobodywho_uniffi_fn_free_rustchat(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
34
23
|
ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustchat_new(model: bigint, systemPrompt: Uint8Array, contextSize: number, templateVariables: Uint8Array, tools: Uint8Array, sampler: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
@@ -46,6 +35,17 @@ interface NativeModuleInterface {
|
|
|
46
35
|
ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_set_template_variable(ptr: bigint, name: Uint8Array, value: number): bigint;
|
|
47
36
|
ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_set_tools(ptr: bigint, tools: Uint8Array): bigint;
|
|
48
37
|
ubrn_uniffi_nobodywho_uniffi_fn_method_rustchat_stop_generation(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
38
|
+
ubrn_uniffi_nobodywho_uniffi_fn_clone_rustcrossencoder(handle: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
39
|
+
ubrn_uniffi_nobodywho_uniffi_fn_free_rustcrossencoder(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
40
|
+
ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustcrossencoder_new(model: bigint, contextSize: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
41
|
+
ubrn_uniffi_nobodywho_uniffi_fn_method_rustcrossencoder_rank(ptr: bigint, query: Uint8Array, documents: Uint8Array): bigint;
|
|
42
|
+
ubrn_uniffi_nobodywho_uniffi_fn_method_rustcrossencoder_rank_and_sort_json(ptr: bigint, query: Uint8Array, documents: Uint8Array): bigint;
|
|
43
|
+
ubrn_uniffi_nobodywho_uniffi_fn_clone_rustencoder(handle: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
44
|
+
ubrn_uniffi_nobodywho_uniffi_fn_free_rustencoder(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
45
|
+
ubrn_uniffi_nobodywho_uniffi_fn_constructor_rustencoder_new(model: bigint, contextSize: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
46
|
+
ubrn_uniffi_nobodywho_uniffi_fn_method_rustencoder_encode(ptr: bigint, text: Uint8Array): bigint;
|
|
47
|
+
ubrn_uniffi_nobodywho_uniffi_fn_clone_rustmodel(handle: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
48
|
+
ubrn_uniffi_nobodywho_uniffi_fn_free_rustmodel(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
49
49
|
ubrn_uniffi_nobodywho_uniffi_fn_clone_rusttokenstream(handle: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
|
|
50
50
|
ubrn_uniffi_nobodywho_uniffi_fn_free_rusttokenstream(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
|
|
51
51
|
ubrn_uniffi_nobodywho_uniffi_fn_method_rusttokenstream_completed(ptr: bigint): bigint;
|
|
@@ -143,9 +143,6 @@ interface NativeModuleInterface {
|
|
|
143
143
|
ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_temperature(): number;
|
|
144
144
|
ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_top_k(): number;
|
|
145
145
|
ubrn_uniffi_nobodywho_uniffi_checksum_func_sampler_preset_top_p(): number;
|
|
146
|
-
ubrn_uniffi_nobodywho_uniffi_checksum_method_crossencoder_rank(): number;
|
|
147
|
-
ubrn_uniffi_nobodywho_uniffi_checksum_method_crossencoder_rank_and_sort_json(): number;
|
|
148
|
-
ubrn_uniffi_nobodywho_uniffi_checksum_method_encoder_encode(): number;
|
|
149
146
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask(): number;
|
|
150
147
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_ask_with_prompt(): number;
|
|
151
148
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_get_chat_history(): number;
|
|
@@ -160,6 +157,9 @@ interface NativeModuleInterface {
|
|
|
160
157
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_template_variable(): number;
|
|
161
158
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_set_tools(): number;
|
|
162
159
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rustchat_stop_generation(): number;
|
|
160
|
+
ubrn_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank(): number;
|
|
161
|
+
ubrn_uniffi_nobodywho_uniffi_checksum_method_rustcrossencoder_rank_and_sort_json(): number;
|
|
162
|
+
ubrn_uniffi_nobodywho_uniffi_checksum_method_rustencoder_encode(): number;
|
|
163
163
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_completed(): number;
|
|
164
164
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttokenstream_next_token(): number;
|
|
165
165
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttool_get_schema_json(): number;
|
|
@@ -177,18 +177,18 @@ interface NativeModuleInterface {
|
|
|
177
177
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_typical_p(): number;
|
|
178
178
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerbuilder_xtc(): number;
|
|
179
179
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_samplerconfig_to_json(): number;
|
|
180
|
-
ubrn_uniffi_nobodywho_uniffi_checksum_constructor_crossencoder_new(): number;
|
|
181
|
-
ubrn_uniffi_nobodywho_uniffi_checksum_constructor_encoder_new(): number;
|
|
182
180
|
ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rustchat_new(): number;
|
|
181
|
+
ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rustcrossencoder_new(): number;
|
|
182
|
+
ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rustencoder_new(): number;
|
|
183
183
|
ubrn_uniffi_nobodywho_uniffi_checksum_constructor_rusttool_new(): number;
|
|
184
184
|
ubrn_uniffi_nobodywho_uniffi_checksum_constructor_samplerbuilder_new(): number;
|
|
185
185
|
ubrn_uniffi_nobodywho_uniffi_checksum_constructor_samplerconfig_from_json(): number;
|
|
186
186
|
ubrn_uniffi_nobodywho_uniffi_checksum_method_rusttoolcallback_call(): number;
|
|
187
187
|
ubrn_ffi_nobodywho_uniffi_uniffi_contract_version(): number;
|
|
188
|
-
ubrn_uniffi_internal_fn_method_crossencoder_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|
|
189
|
-
ubrn_uniffi_internal_fn_method_encoder_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|
|
190
|
-
ubrn_uniffi_internal_fn_method_model_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|
|
191
188
|
ubrn_uniffi_internal_fn_method_rustchat_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|
|
189
|
+
ubrn_uniffi_internal_fn_method_rustcrossencoder_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|
|
190
|
+
ubrn_uniffi_internal_fn_method_rustencoder_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|
|
191
|
+
ubrn_uniffi_internal_fn_method_rustmodel_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|
|
192
192
|
ubrn_uniffi_internal_fn_method_rusttokenstream_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|
|
193
193
|
ubrn_uniffi_internal_fn_method_rusttool_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|
|
194
194
|
ubrn_uniffi_internal_fn_method_samplerbuilder_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiGcObject;
|