@goliapkg/tiktoken-wasm 3.7.0 → 3.8.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/package.json +1 -1
- package/tiktoken_wasm.d.ts +4 -4
- package/tiktoken_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/tiktoken_wasm.d.ts
CHANGED
|
@@ -164,6 +164,7 @@ export interface InitOutput {
|
|
|
164
164
|
readonly encoding_encode: (a: number, b: number, c: number, d: number) => void;
|
|
165
165
|
readonly encoding_encodeWithSpecialTokens: (a: number, b: number, c: number, d: number) => void;
|
|
166
166
|
readonly encoding_name: (a: number, b: number) => void;
|
|
167
|
+
readonly encoding_numSpecialTokens: (a: number) => number;
|
|
167
168
|
readonly encoding_vocabSize: (a: number) => number;
|
|
168
169
|
readonly estimateCost: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
169
170
|
readonly getEncoding: (a: number, b: number, c: number) => void;
|
|
@@ -171,14 +172,13 @@ export interface InitOutput {
|
|
|
171
172
|
readonly listEncodings: (a: number) => void;
|
|
172
173
|
readonly modelToEncoding: (a: number, b: number, c: number) => void;
|
|
173
174
|
readonly modelinfo_cachedInputPer1m: (a: number, b: number) => void;
|
|
174
|
-
readonly modelinfo_id: (a: number, b: number) => void;
|
|
175
|
-
readonly modelinfo_provider: (a: number, b: number) => void;
|
|
176
|
-
readonly modelsByProvider: (a: number, b: number, c: number) => void;
|
|
177
|
-
readonly encoding_numSpecialTokens: (a: number) => number;
|
|
178
175
|
readonly modelinfo_contextWindow: (a: number) => number;
|
|
176
|
+
readonly modelinfo_id: (a: number, b: number) => void;
|
|
179
177
|
readonly modelinfo_inputPer1m: (a: number) => number;
|
|
180
178
|
readonly modelinfo_maxOutput: (a: number) => number;
|
|
181
179
|
readonly modelinfo_outputPer1m: (a: number) => number;
|
|
180
|
+
readonly modelinfo_provider: (a: number, b: number) => void;
|
|
181
|
+
readonly modelsByProvider: (a: number, b: number, c: number) => void;
|
|
182
182
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
183
183
|
readonly __wbindgen_export: (a: number, b: number, c: number) => void;
|
|
184
184
|
readonly __wbindgen_export2: (a: number, b: number) => number;
|
package/tiktoken_wasm_bg.wasm
CHANGED
|
Binary file
|