Versions in this module Expand all Collapse all v0 v0.1.0 Jul 18, 2026 Changes in this version + const DefaultFileHeaderLines + const FileHeaderLines + func BuildEmbedText(c types.Chunk) string + func RawEmbedText(c types.Chunk) string + type Chunker struct + func New(opts Options) *Chunker + func (c *Chunker) Chunk(in Input) []types.Chunk + type Input struct + CommitHash string + File string + Language string + Source []byte + Spans []parse.SymbolSpan + type Options struct + FileHeaderLines int + IncludeFileFull bool + IncludeFileHeader bool + MaxInputTokens int + type Stats struct + Doc int + FileHeader int + FunctionSplit int + Invariant int + PRDoc int + Symbol int + Total int + Truncated int + func Summarize(chunks []types.Chunk) Stats