pub fn create_enriched_chunks(
content: &str,
doc_path: &str,
chunk_size: usize,
overlap: usize,
config: &ContextPrefixConfig,
) -> Vec<EnrichedChunk>Expand description
Create enriched chunks with context prefix injection
§Arguments
content- The text content to chunkdoc_path- Path to the source documentchunk_size- Target chunk size in charactersoverlap- Overlap between chunksconfig- Context prefix configuration
§Returns
Vector of enriched chunks with context prefixes