资源与延伸阅读

LlamaIndex API 更新快,以官方文档为准。本页列出主文档、常见路径、以及本站相关课。


官方


本课对应的文档锚点

主题官方位置(概念)
FunctionAgent、工具、ContextGetting started → Starter tutorial
SimpleDirectoryReader、Node、PipelineUnderstanding RAG → Loading
VectorStoreIndexpersistStoring / indexing modules
as_query_engine、synthesizerUnderstanding RAG → Querying
@stepStartEvent / StopEventLlamaAgents Workflows
Chroma / Postgres / QdrantIntegrations → Vector stores

历史默认 LLM 常写 gpt-3.5-turbo,嵌入 text-embedding-ada-002。本教程示例用 gpt-4o-minitext-embedding-3-small。升级前先对照 starter 页当前代码。


本站相关课程

课程链接何时打开
RAG 通识/rag/切块、召回、幻觉,不绑具体框架
LangChain/langchain/Agent harness、Middleware、LangGraph
CrewAI/crewai/按角色组队的多智能体
Ollama/ollama/本地 LLM / Embedding,替换 OpenAI
Hugging Face/huggingface/开源 embedding 与评测模型
PostgreSQL/postgresql/pgvector 所在的数据库

关系可以记成:RAG 课讲原理 → LlamaIndex 落地数据层 → 需要复杂 Agent 再接到 LangChain 或 CrewAI。


本教程索引

  1. LlamaIndex 教程
  2. 简介
  3. 安装与环境
  4. 快速上手
  5. 加载器与 Node
  6. 索引 Indexes
  7. 查询引擎
  8. 检索 Retrieval
  9. Workflows 工作流
  10. 向量库集成
  11. 实战案例

推荐练习

  1. 用自己的 3–5 篇 Markdown 跑通案例 1,并解释一条 source_nodes
  2. 给 Agent 再加一个只读工具(例如返回当前日期),观察何时调用
  3. 把内存索引换成 Chroma PersistentClient,重启进程后查询
  4. chunk_size 从 256 调到 1024,对比同一问题的引用块
  5. 阅读官方 JokeFlow,把检索做成一个 @step(参数只抄文档)

贡献

本教程位于 垦荒学园 / Kenhuang Academy。API 变更请提 Issue 或 PR,同步更新 docs/zh/llamaindex/docs/en/llamaindex/

评论