parthsarthi03 / raptor

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

Fix #38 : corrected chunk splitting for open ai embeddings #46

Open lorenzo-cm opened 1 week ago

lorenzo-cm commented 1 week ago

When there was an empty string to embed, OpenAI raised an error. I fixed it.