Code Search RAG: Chunk by Function With tree-sitter, Not by 512 Tokens

Fixed token windows cut functions in half. A runnable tree-sitter chunker that splits Python by function and class, scored against plain token windows.

Read Original

Related