Open wesmcouch opened 1 year ago
FYI - I published a version to use (works in browser/node but no countTokens
) until the maintainers merged: https://www.npmjs.com/package/@nem035/gpt-3-encoder
@nem035 looks like you can merge?
This PR also makes it work in Electron (not just the browser). Vite also has a problem with the code in master
because it uses __dirname
.
Overview