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

Add tiktoken to requirements.txt #5

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Add tiktoken to requirements.txt #5

merged 1 commit into from
Apr 26, 2023

Conversation

kfish
Copy link
Contributor

@kfish kfish commented Apr 26, 2023

github.py failed with error:

  File "/home/conrad/src/ai/Chat-with-Github-Repo/CwGH/lib/python3.10/site-packages/langchain/embeddings/openai.py", line 201, in _get_len_safe_embeddings
    raise ValueError(
ValueError: Could not import tiktoken python package. This is needed in order to for OpenAIEmbeddings. Please install it with `pip install tiktoken`.

Copy link
Contributor

@nothans nothans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is needed as "tiktoken" is a dependency of this project.

@peterw peterw merged commit 918977b into peterw:main Apr 26, 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.

3 participants