(options: ChunkerOptions = {})
| 34 | ] |
| 35 | |
| 36 | constructor(options: ChunkerOptions = {}) { |
| 37 | const resolved = resolveChunkerOptions(options) |
| 38 | this.chunkSize = resolved.chunkSize |
| 39 | this.chunkOverlap = resolved.chunkOverlap |
| 40 | } |
| 41 | |
| 42 | private splitRecursively(text: string, separatorIndex = 0): string[] { |
| 43 | const tokenCount = estimateTokens(text) |
nothing calls this directly
no test coverage detected