raptor icon indicating copy to clipboard operation
raptor copied to clipboard

**Outdated Dependencies in requirements.txt Causing Conflicts**

Open BoldFaceType opened this issue 9 months ago • 1 comments

Thanks for maintaining this excellent repository! I found a minor issue with the requirements.txt file that might cause conflicts for users with newer versions of Langchain. I'd be happy to submit a pull request to update it, as I'm sure you're busy. If that's not helpful, please point me to another issue suitable for a novice.

When trying to use RAPTOR alongside newer versions of Langchain, I encountered a dependency conflict due to outdated versions of openai and tiktoken in the requirements.txt file.

Specifically, the file specifies:

  • openai==1.3.3
  • tiktoken==0.5.1

However, newer Langchain versions require more recent versions of these packages. This could lead to errors for other users trying to set up the project.

Would it be possible to update the requirements.txt to use compatible versions? For example:

  • openai>=1.24.0,<2.0.0
  • tiktoken<1,>=0.5.2

Thanks for your consideration.

BoldFaceType avatar May 13 '24 23:05 BoldFaceType