Familiarizing ourselves with the structure of the LlamaIndex code repository
Because you’ll probably spend a lot of time browsing the official code repository of the LlamaIndex framework, it’s good to have an overall image of its general structure. You can always consult the repository here: https://github.com/run-llama/llama_index.
Starting with version 0.10, the code has been thoroughly reorganized into a more modular structure. The purpose of this new structure is to improve efficiency, by avoiding loading any unnecessary dependencies, while also improving readability and overall user experience for developers.
Figure 2.6 describes the main components of the code structure:
Figure 2.6 – The LlamaIndex GitHub repository code structure
The llama-index-core
folder serves as the foundational package for LlamaIndex, enabling developers to install the essential framework and then selectively add from over 300 integration packages...