0PricingLogin
AI Agents · Lesson

Document Loaders and Parsers

Use LlamaHub loaders for 200+ source types, and parsers that preserve structure (tables, headings).

LlamaIndex vs LangChain

LlamaIndex (formerly GPT-Index) is the other big agent framework. It focuses on RAG and document-centric agents.

Strengths: cleaner abstractions for index types, better PDF/structured-doc parsing, deep response-synthesis options.

Install

# pip install llama-index
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader

All lessons in this course

  1. Document Loaders and Parsers
  2. The Index Hierarchy: Vector, Tree, Keyword
  3. Query Engines and Response Synthesis
  4. Sub-Question Decomposition Strategy
← Back to AI Agents