parthsarthi03 / raptor

The official implementation of RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval
https://arxiv.org/abs/2401.18059
MIT License
681 stars 98 forks source link

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

Open BoldFaceType opened 1 month ago

BoldFaceType commented 1 month ago

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:

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:

Thanks for your consideration.

parthsarthi03 commented 1 month ago

This should be fine- please feel free to file a PR for it.