@xberg-io/liter-llm-wasm 1.18.0 → 1.18.3
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/README.md +1 -1
- package/liter_llm_wasm.d.ts +13 -13
- package/liter_llm_wasm.js +19 -19
- package/liter_llm_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- This file is auto-generated by alef — DO NOT EDIT. -->
|
|
2
|
-
<!-- alef:hash:
|
|
2
|
+
<!-- alef:hash:d33bbb9810a8e66edae86190f35acbffb404c53c88256311f947887412f27dd8 -->
|
|
3
3
|
<!-- To regenerate: alef readme -->
|
|
4
4
|
<!-- To verify freshness: alef verify -->
|
|
5
5
|
|
package/liter_llm_wasm.d.ts
CHANGED
|
@@ -8,7 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
export type ReadableStreamType = "bytes";
|
|
10
10
|
|
|
11
|
-
export type
|
|
11
|
+
export type WasmEmbeddingInput = string | string[] | any[];
|
|
12
|
+
|
|
13
|
+
export type WasmModerationInput = string | string[];
|
|
14
|
+
|
|
15
|
+
export type WasmRerankDocument = string | { text: string; };
|
|
16
|
+
|
|
17
|
+
export type WasmStopSequence = string | string[];
|
|
12
18
|
|
|
13
19
|
export type WasmToolChoiceModeWire = "auto" | "required" | "none";
|
|
14
20
|
|
|
@@ -25,13 +31,7 @@ export interface WasmSpecificToolChoice {
|
|
|
25
31
|
|
|
26
32
|
export type WasmToolChoice = WasmToolChoiceModeWire | WasmSpecificToolChoice;
|
|
27
33
|
|
|
28
|
-
export type
|
|
29
|
-
|
|
30
|
-
export type WasmEmbeddingInput = string | string[] | any[];
|
|
31
|
-
|
|
32
|
-
export type WasmModerationInput = string | string[];
|
|
33
|
-
|
|
34
|
-
export type WasmRerankDocument = string | { text: string; };
|
|
34
|
+
export type WasmUserContent = string | any[];
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
@@ -3409,11 +3409,11 @@ export interface InitOutput {
|
|
|
3409
3409
|
readonly intounderlyingbytesource_pull: (a: number, b: any) => any;
|
|
3410
3410
|
readonly intounderlyingbytesource_start: (a: number, b: any) => void;
|
|
3411
3411
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
3412
|
-
readonly
|
|
3413
|
-
readonly
|
|
3414
|
-
readonly
|
|
3415
|
-
readonly
|
|
3416
|
-
readonly
|
|
3412
|
+
readonly wasm_bindgen__convert__closures_____invoke__hb69aa43042a172e9: (a: number, b: number, c: any) => [number, number];
|
|
3413
|
+
readonly wasm_bindgen__convert__closures_____invoke__h6cb2115a6bd1ee0b: (a: number, b: number, c: any, d: any) => void;
|
|
3414
|
+
readonly wasm_bindgen__convert__closures_____invoke__h667483e89d9b83b0: (a: number, b: number, c: any) => void;
|
|
3415
|
+
readonly wasm_bindgen__convert__closures_____invoke__ha0196e5ce9bd92f7: (a: number, b: number) => void;
|
|
3416
|
+
readonly wasm_bindgen__convert__closures_____invoke__hc5a94ae7f9ac4e35: (a: number, b: number) => void;
|
|
3417
3417
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
3418
3418
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
3419
3419
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/liter_llm_wasm.js
CHANGED
|
@@ -13286,7 +13286,7 @@ function __wbg_get_imports() {
|
|
|
13286
13286
|
const a = state0.a;
|
|
13287
13287
|
state0.a = 0;
|
|
13288
13288
|
try {
|
|
13289
|
-
return
|
|
13289
|
+
return wasm_bindgen__convert__closures_____invoke__h6cb2115a6bd1ee0b(a, state0.b, arg0, arg1);
|
|
13290
13290
|
} finally {
|
|
13291
13291
|
state0.a = a;
|
|
13292
13292
|
}
|
|
@@ -13682,23 +13682,23 @@ function __wbg_get_imports() {
|
|
|
13682
13682
|
return ret;
|
|
13683
13683
|
},
|
|
13684
13684
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
13685
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
13686
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
13685
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 840, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13686
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h667483e89d9b83b0);
|
|
13687
13687
|
return ret;
|
|
13688
13688
|
},
|
|
13689
13689
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
13690
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
13691
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
13690
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 860, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
13691
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb69aa43042a172e9);
|
|
13692
13692
|
return ret;
|
|
13693
13693
|
},
|
|
13694
13694
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
13695
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
13696
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
13695
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 765, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13696
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__ha0196e5ce9bd92f7);
|
|
13697
13697
|
return ret;
|
|
13698
13698
|
},
|
|
13699
13699
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
13700
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
13701
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
13700
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 781, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
13701
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hc5a94ae7f9ac4e35);
|
|
13702
13702
|
return ret;
|
|
13703
13703
|
},
|
|
13704
13704
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -13744,27 +13744,27 @@ function __wbg_get_imports() {
|
|
|
13744
13744
|
};
|
|
13745
13745
|
}
|
|
13746
13746
|
|
|
13747
|
-
function
|
|
13748
|
-
wasm.
|
|
13747
|
+
function wasm_bindgen__convert__closures_____invoke__ha0196e5ce9bd92f7(arg0, arg1) {
|
|
13748
|
+
wasm.wasm_bindgen__convert__closures_____invoke__ha0196e5ce9bd92f7(arg0, arg1);
|
|
13749
13749
|
}
|
|
13750
13750
|
|
|
13751
|
-
function
|
|
13752
|
-
wasm.
|
|
13751
|
+
function wasm_bindgen__convert__closures_____invoke__hc5a94ae7f9ac4e35(arg0, arg1) {
|
|
13752
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hc5a94ae7f9ac4e35(arg0, arg1);
|
|
13753
13753
|
}
|
|
13754
13754
|
|
|
13755
|
-
function
|
|
13756
|
-
wasm.
|
|
13755
|
+
function wasm_bindgen__convert__closures_____invoke__h667483e89d9b83b0(arg0, arg1, arg2) {
|
|
13756
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h667483e89d9b83b0(arg0, arg1, arg2);
|
|
13757
13757
|
}
|
|
13758
13758
|
|
|
13759
|
-
function
|
|
13760
|
-
const ret = wasm.
|
|
13759
|
+
function wasm_bindgen__convert__closures_____invoke__hb69aa43042a172e9(arg0, arg1, arg2) {
|
|
13760
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hb69aa43042a172e9(arg0, arg1, arg2);
|
|
13761
13761
|
if (ret[1]) {
|
|
13762
13762
|
throw takeFromExternrefTable0(ret[0]);
|
|
13763
13763
|
}
|
|
13764
13764
|
}
|
|
13765
13765
|
|
|
13766
|
-
function
|
|
13767
|
-
wasm.
|
|
13766
|
+
function wasm_bindgen__convert__closures_____invoke__h6cb2115a6bd1ee0b(arg0, arg1, arg2, arg3) {
|
|
13767
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h6cb2115a6bd1ee0b(arg0, arg1, arg2, arg3);
|
|
13768
13768
|
}
|
|
13769
13769
|
|
|
13770
13770
|
|
package/liter_llm_wasm_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED