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

Added tiktoken to requirements.txt #29

Closed
wants to merge 15 commits into from
Closed

Added tiktoken to requirements.txt #29

wants to merge 15 commits into from

Conversation

fizahkhalid
Copy link

tiktoken Python package is needed in get_num_tokens function, to determine the length of the prompt in langchain library.

tiktoken Python package is needed in get_num_tokens to determine
the length of the prompt in langchain library
@yixin0829
Copy link

encountered the same issue. Think this is good addition.

@mmabrouk
Copy link

mmabrouk commented May 8, 2023

Same issue here, adding tiktoken solved it!

@fizahkhalid fizahkhalid closed this by deleting the head repository May 9, 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.

4 participants