MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / chunk_overlap

Method chunk_overlap

python/src/text_splitter/splitter.rs:147–154  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

145 /// Get the chunk overlap
146 #[getter]
147 fn chunk_overlap(&self) -> usize {
148 match &self.inner.config().strategy {
149 graphbit_core::text_splitter::SplitterStrategy::Character { chunk_overlap, .. } => {
150 *chunk_overlap
151 }
152 _ => 0,
153 }
154 }
155}
156
157/// Token-based text splitter

Callers

nothing calls this directly

Calls 1

configMethod · 0.45

Tested by

no test coverage detected