Overview
LlamaIndex is the leading data framework for building LLM applications. It provides tools to ingest, structure, and retrieve data for AI applications.
Key Features
- Data Connectors: Connect to 100+ data sources
- Index Structures: Vector, tree, keyword indices
- Query Engines: Natural language queries
- Chat Engines: Build conversational AI
- Agents: Autonomous data agents
Quick Start
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
documents = SimpleDirectoryReader("./data").load_data()
index = VectorStoreIndex.from_documents(documents)
query_engine = index.as_query_engine()
response = query_engine.query("What is in the documents?")
Resources
Source: GitHub