Welcome to LlamaIndex ๐Ÿฆ™ !๏ƒ

LlamaIndex (formerly GPT Index) is a data framework for LLM applications to ingest, structure, and access private or domain-specific data.

๐Ÿš€ Why LlamaIndex?๏ƒ

At their core, LLMs offer a natural language interface between humans and inferred data. Widely available models come pre-trained on huge amounts of publicly available data, from Wikipedia and mailing lists to textbooks and source code.

Applications built on top of LLMs often require augmenting these models with private or domain-specific data. Unfortunately, that data can be distributed across siloed applications and data stores. Itโ€™s behind APIs, in SQL databases, or trapped in PDFs and slide decks.

Thatโ€™s where LlamaIndex comes in.

๐Ÿฆ™ How can LlamaIndex help?๏ƒ

LlamaIndex provides the following tools:

  • Data connectors ingest your existing data from their native source and format. These could be APIs, PDFs, SQL, and (much) more.

  • Data indexes structure your data in intermediate representations that are easy and performant for LLMs to consume.

  • Engines provide natural language access to your data. For example:

    • Query engines are powerful retrieval interfaces for knowledge-augmented output.

    • Chat engines are conversational interfaces for multi-message, โ€œback and forthโ€ interactions with your data.

  • Data agents are LLM-powered knowledge workers augmented by tools, from simple helper functions to API integrations and more.

  • Application integrations tie LlamaIndex back into the rest of your ecosystem. This could be LangChain, Flask, Docker, ChatGPT, orโ€ฆ anything else!

๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Who is LlamaIndex for?๏ƒ

LlamaIndex provides tools for beginners, advanced users, and everyone in between.

Our high-level API allows beginner users to use LlamaIndex to ingest and query their data in 5 lines of code.

For more complex applications, our lower-level APIs allow advanced users to customize and extend any moduleโ€”data connectors, indices, retrievers, query engines, reranking modulesโ€”to fit their needs.

Getting Started๏ƒ

pip install llama-index

Our documentation includes detailed Installation Instructions and a Starter Tutorial to build your first application (in five lines of code!)

Once youโ€™re up and running, High-Level Concepts has an overview of LlamaIndexโ€™s modular architecture. For more hands-on practical examples, look through our End-to-End Tutorials or learn how to customize components to fit your specific needs.

๐Ÿ—บ๏ธ Ecosystem๏ƒ

To download or contribute, find LlamaIndex on:

Community๏ƒ

Need help? Have a feature suggestion? Join the LlamaIndex community:

Associated projects๏ƒ