Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use lite version of @dqbd/tiktoken #847

Closed
wants to merge 3 commits into from

Conversation

dqbd
Copy link
Collaborator

@dqbd dqbd commented Apr 17, 2023

Use the lite version of @dqbd/tiktoken, fetching the JSON mappings in runtime

  • Switch to cached ranks instead to avoid pummeling OpenAI Azure CDNs etc.
  • Consider importing full blown WASM when not used in edge runtimes for improved performance

@vercel
Copy link

vercel bot commented Apr 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
langchainjs-docs ✅ Ready (Inspect) Visit Preview May 10, 2023 8:59am

@nfcampos
Copy link
Collaborator

Closing in favour of #1239

@nfcampos nfcampos closed this May 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants