LlamaIndex
Data framework for connecting LLMs to your documents.
- Star 数
- 52.5K
- Fork 数
- 8.3K
- 未关闭 Issue
- 933
- 最近提交
- 2026-10-14
数据来自 GitHub API · 更新于 2026-10-15
LlamaIndex 是什么?
LlamaIndex specializes in ingesting, indexing and querying private data for RAG and agents, with loaders for hundreds of sources and advanced retrieval strategies.
主要功能
- Hundreds of data loaders (LlamaHub)
- Advanced retrieval and query engines
- Agent and workflow APIs
系统要求
- 平台
- Windows · macOS · Linux
- Python
- 3.9+
如何安装 LlamaIndex
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
pip
- 1Install.
pip install llama-index - 2Index a folder and ask a question.
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader docs = SimpleDirectoryReader("data").load_data() index = VectorStoreIndex.from_documents(docs) print(index.as_query_engine().query("What is this about?"))
优势
- Best-in-class RAG tooling
- Clear docs
不足
- Fast-moving APIs
LlamaIndex 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| LlamaIndex Data framework for connecting LLMs to your documents. | 52.5K | MIT | — | |
| LangChain The most widely used framework for building LLM applications. | 147.8K | MIT | — | |
| RAGFlow RAG engine built on deep document understanding. | 92.3K | Apache-2.0 | — | |
| Open WebUI Self-hosted ChatGPT-style interface for Ollama and OpenAI-compatible APIs. | 155.7K | Open WebUI License (BSD-3-Clause based) | — | |
| LibreChat Open-source ChatGPT clone supporting every major AI provider. | 45.7K | MIT | — | |
| LobeChat Modern AI chat framework with plugins, knowledge base and agent market. | 83.2K | LobeHub Community License | — |
常见问题
LlamaIndex 免费吗?
是的——LlamaIndex 是开源软件,采用 MIT 许可证。商用前请确认软件及模型权重的许可条款。
LlamaIndex 支持 Windows、Mac 和 Linux 吗?
LlamaIndex 支持:Windows, macOS, Linux。
如何安装 LlamaIndex?
1. Install. 2. Index a folder and ask a question.
LlamaIndex 有哪些好的替代品?
常见替代品包括 LangChain, RAGFlow, Open WebUI, LibreChat,详见本页对比表。