Skip to main content

Module fixed

Module fixed 

Source
Expand description

Fixed-size chunking strategy with overlap.

Re-exportsยง

use async_trait::async_trait; ๐Ÿ”’
use ragfs_core::ChunkConfig; ๐Ÿ”’
use ragfs_core::ChunkError; ๐Ÿ”’
use ragfs_core::ChunkOutput; ๐Ÿ”’
use ragfs_core::ChunkOutputMetadata; ๐Ÿ”’
use ragfs_core::Chunker; ๐Ÿ”’
use ragfs_core::ContentType; ๐Ÿ”’
use ragfs_core::ExtractedContent; ๐Ÿ”’

Structsยง

FixedSizeChunker
Fixed-size chunker with configurable overlap.

Functionsยง

find_break_point ๐Ÿ”’
Find a good break point near the target end position.