parthsarthi03 / raptor

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

Reduced OpenAI dependency by doing lazy initialization (only when class is used) #6

Closed ExtReMLapin closed 6 months ago

ExtReMLapin commented 7 months ago

Even if the tutorials shows how to use others models, you still needed a valid Openai API key because of premature OpenAI initialization

parthsarthi03 commented 6 months ago

LGTM!