01
概述
LlamaIndex 是由 Jerry Liu 创建的数据框架,专注于将 LLM 与私有数据连接。其核心是数据摄取、索引和检索,使 LLM 能访问和利用大量文档。LlamaIndex 提供丰富的索引类型(列表、树、关键词、向量等)和查询引擎,支持复杂的检索策略。与 LangChain 的通用框架不同,LlamaIndex 更专注于 RAG 场景,提供更深度的数据集成能力。
bash
function f(url,{method="GET"}={}){}
const add=a=>b=>a+b; add(5)(3);02
安装
LlamaIndex 通过 pip 安装,核心包提供基础功能。按需安装额外的集成包。推荐 Python 3.9+。
Ready to try LlamaIndex?
Visit the official site for the latest version and full documentation.
Visit LlamaIndex