n4nAI

Topic

LangChain Document Loaders & Chunking

12 posts on langchain document loaders & chunking — part of framework tutorials on the n4n AI blog.

Framework tutorialsHow-to

Web scraping documents into LangChain with WebBaseLoader

A practical guide to scraping web documents into LangChain using WebBaseLoader, covering authentication, JavaScript rendering, custom parsing, and pipeline integration.

3 min read
Framework tutorialsHow-to

Splitting code files in LangChain for RAG pipelines

Learn to split code files effectively in LangChain for RAG pipelines using language-aware splitters, with runnable examples and verification steps.

4 min read
Framework tutorialsHow-to

Semantic chunking in LangChain with embeddings

Learn to implement semantic chunking in LangChain using embeddings for better RAG retrieval — step-by-step with runnable code and evaluation techniques.

4 min read
Framework tutorialsHow-to

LangChain document loaders for Google Drive and S3

A step-by-step guide to loading documents from Google Drive and Amazon S3 using LangChain document loaders, with runnable code and verification steps.

4 min read
Framework tutorialsHow-to

LangChain CSV and JSON loaders for structured data

Practical guide to loading CSV and JSON files with LangChain document loaders, including nested structures, custom parsing, and chunking strategies for RAG pipelines.

4 min read
Framework tutorialsHow-to

Loading PDFs into LangChain with PyPDFLoader

Learn to load PDFs into LangChain using PyPDFLoader with step-by-step code examples, metadata extraction, text splitting, and error handling for production use.

3 min read
Framework tutorialsHow-to

LangChain document loaders for Notion and Confluence

A practical guide to loading Notion and Confluence content into LangChain with working code, chunking strategies, and verification steps.

4 min read
Framework tutorialsDefinition

LangChain RecursiveCharacterTextSplitter explained

A precise technical breakdown of LangChain's RecursiveCharacterTextSplitter: how its hierarchical separator recursion works, key params, and common pitfalls.

5 min read
Framework tutorialsGuide

LangChain document loaders: PDF, HTML, and Markdown

Practical guide to langchain document loaders pdf html markdown: install, load each format with code, dodge pitfalls, and chunk for retrieval.

3 min read
Framework tutorialsComparison

Chunking strategies in LangChain: fixed size vs semantic

A practitioner's head-to-head comparison of langchain chunking fixed size vs semantic across cost, latency, ergonomics, and limits, with code and a clear verdict.

5 min read
Framework tutorialsGuide

Chunk overlap in LangChain: how much is too much

Practical guide to langchain chunk overlap tuning: how to set chunk_size and overlap to balance RAG retrieval quality, token cost, and latency.

3 min read
Framework tutorialsGuide

Choosing the right chunk size for LangChain RAG apps

Practical guide to selecting chunk size for LangChain RAG apps: tradeoffs, code samples, and an ordered path to tune retrieval and context windows.

4 min read