L
llama_index
MITPythonLlamaIndex is the document processing platform for AI
★ 52kFork 8k更新于 2026-09-14
LlamaIndex is the document processing platform for AI
LlamaIndex 是一个开源数据框架,旨在帮助开发者构建基于大语言模型(LLM)的应用程序。它提供数据连接器、索引结构和高级检索接口,使私有数据能够轻松与 LLM 集成。此外,LlamaIndex 还提供 LlamaParse 平台,支持代理式 OCR、文档解析、结构化提取和 RAG 流水线。
docker run -it --rm -v $(pwd):/app -w /app python:3.11 bash -c "pip install llama-index-core llama-index-llms-openai llama-index-embeddings-openai && python"
LlamaIndex 是一个开源框架,用于构建 LLM 应用,提供数据连接、索引和检索功能。LlamaParse 是 LlamaIndex 提供的企业级平台,专注于代理式 OCR、文档解析、结构化提取和 RAG 流水线。LlamaParse 可以独立使用,也可以与 LlamaIndex 框架结合使用。
你可以通过 pip 安装 `llama-index`(包含核心和常用集成)或 `llama-index-core`(仅核心,然后按需添加集成包)。详细步骤请参考官方文档。
LlamaIndex 支持多种 LLM,包括 OpenAI、Ollama、HuggingFace 等,通过集成包实现。你可以根据需要选择合适的 LLM 提供商。