> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Chunking Strategy • Rust AI Agent SDK

> ChunkingStrategy: Chunking strategy.

# ChunkingStrategy

> Defined in the [**knowledge**](../modules/knowledge) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

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

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/knowledge/mod.rs">
  `praisonai/src/knowledge/mod.rs` at line 0
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Chunking" icon="scissors" href="/docs/rust/chunking" />

  <Card title="Rust RAG" icon="magnifying-glass" href="/docs/rust/rag" />
</CardGroup>
