Chunking Strategy • Rust AI Agent SDK
ChunkingStrategy: Chunking strategy.
ChunkingStrategy
Defined in the knowledge module.
Rust AI Agent SDK
Chunking strategy.
Fields
| Name | Type | Description |
|---|---|---|
Fixed | variant | – |
size | variant | – |
chunks | variant | – |
default | variant | Fixed size chunks |
FixedSize | variant | Fixed size chunks |
Sentence | variant | – |
based | variant | – |
chunks | variant | – |
Sentence | variant | Sentence-based chunks |
Paragraph | variant | – |
based | variant | – |
chunks | variant | – |
Paragraph | variant | Paragraph-based chunks |
Semantic | variant | – |
chunks | variant | – |
Semantic | variant | Semantic chunks |
Source
View on GitHubpraisonai/src/knowledge/mod.rs at line 0