Quick Start
1
Default chunking on an agent
Available Strategies
Token Chunking
Fixed-size token chunks. Fast and predictable.
Sentence Chunking
Split at sentence boundaries. Natural flow.
Recursive Chunking
Hierarchical splitting. Great for markdown.
Semantic Chunking
Similarity-based splits. Topic coherence.
Chunker Configuration
All Parameters
Strategy Examples
- Token
- Sentence
- Recursive
- Semantic
Which Strategy Should I Use?
How It Works
The user adds documents; the chunking engine splits them by the chosen strategy, embeds each chunk, and stores it for retrieval.Installation
Best Practices
Match chunk size to retrieval use case
Match chunk size to retrieval use case
Smaller chunks improve precision for Q&A; larger chunks preserve narrative for summarisation tasks.
Install the knowledge extra
Install the knowledge extra
Run
pip install "praisonaiagents[knowledge]" so chonkie and indexing backends load only when needed.Test overlap on sample docs
Test overlap on sample docs
Tune overlap on a representative document before indexing an entire corpus.
Pair with smart retrieval
Pair with smart retrieval
Combine chunking with hybrid search and reranking for better recall on long knowledge bases.
Related
Knowledge Base
Configure knowledge sources and retrieval
RAG Agents
Build retrieval-augmented agents
Bot Platform Capabilities
How platform capabilities drive this feature

