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

Method chunk_size

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

Source from the content-addressed store, hash-verified

134 /// Get the chunk size
135 #[getter]
136 fn chunk_size(&self) -> usize {
137 match &self.inner.config().strategy {
138 graphbit_core::text_splitter::SplitterStrategy::Character { chunk_size, .. } => {
139 *chunk_size
140 }
141 _ => 0,
142 }
143 }
144
145 /// Get the chunk overlap
146 #[getter]

Callers

nothing calls this directly

Calls 1

configMethod · 0.45

Tested by

no test coverage detected