Closed snwfdhmp closed 11 months ago
Hello @snwfdhmp!
Browser should be well supported both in js-tiktoken
and tiktoken
, albeit the latter does require either a proper bundle configuration (see README.md of tiktoken
) or fetching and instantiating WASM binary files manually.
An example of browser usage can be seen in https://github.com/dqbd/tiktokenizer
Closing this issue for now, feel free to reopen if needed!
I'm very interested in bringing this feature to webbrowsers, did you test it in browser and does it work ?