peterw / Chat-with-Github-Repo

This repository contains two Python scripts that demonstrate how to create a chatbot using Streamlit, OpenAI GPT-3.5-turbo, and Activeloop's Deep Lake.
https://explodinginsights.com/
MIT License
1.14k stars 169 forks source link

Add tiktoken to requirements.txt #5

Closed kfish closed 1 year ago

kfish commented 1 year ago

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`.