Wiring more

This commit is contained in:
Illia Polosukhin
2026-02-03 10:08:06 -08:00
parent 235f6aae18
commit 7210470544
18 changed files with 553 additions and 137 deletions
+1
View File
@@ -116,6 +116,7 @@ pub fn chunk_document(content: &str, config: ChunkConfig) -> Vec<String> {
/// Split content by paragraphs first, then chunk.
///
/// This is better for preserving semantic boundaries.
#[allow(dead_code)] // Alternative chunking strategy for paragraph-aware indexing
pub fn chunk_by_paragraphs(content: &str, config: ChunkConfig) -> Vec<String> {
if content.is_empty() {
return Vec::new();