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

Support enterprise network support for self-hosted encodings (UPDATED v0.6.0) #238

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

blaney83
Copy link

Enterprises with internal networking configurations may want to limit access to outside resources for enterprise applications. Currently, tiktoken requires network access to openaipublic.blob.core.windows.net to populate the plugin modules which is adequate for most public/individual applications, but can cause problems at the organizational level.

To address this, tiktoken should support an environmental override for users who want to internally host their own encodings files.

This PR adds the required environmental parameterization to the tiktoken_ext script and updates the README.md to explain its usage.

@blaney83
Copy link
Author

@hauntsaninja can you shine some light on where the contribution process stands for tiktoken? We currently have some workarounds at the enterprise level to which stakeholder would like to assign timelines. Thanks.

@blaney83 blaney83 changed the title Support enterprise network support for self-hosted encodings Support enterprise network support for self-hosted encodings (UPDATED v0.6.0) Mar 16, 2024
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.

1 participant