MultiModalTextSplitter
Models & Types ยท AiDotNet.RetrievalAugmentedGeneration.ChunkingStrategies
Multi-modal splitter for documents containing both text and images.
Inheritance: ChunkingStrategyBase โ MultiModalTextSplitter
How It Works
Creates chunks that keep text and related images together, preserving the relationship between visual and textual content for better context preservation.
Constructors
| Constructor | Summary |
|---|---|
MultiModalTextSplitter(int chunkSize, int chunkOverlap, int contextWindowSize, bool preserveImageContext) |
Initializes a new instance of the MultiModalTextSplitter class. |