LlamaIndex (formerly GPT Index) is a framework for building LLM-powered apps, focusing on data ingestion, indexing, and retrieval for RAG (Retrieval-Augmented Generation).
It connects LLMs to custom data sources like PDFs or databases.
Use LlamaIndex when:
Note: Use VectorStoreIndex for simple setups.
Optimize chunk sizes for relevance.
Evaluate with faithfulness metrics.