Skip to content

Commit fc929fe

Browse files
authored
chore: adjust chunk size (#75)
1 parent 0b30f16 commit fc929fe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/cocoindex_code/indexer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
from .shared import CODEBASE_DIR, EMBEDDER, EXT_LANG_OVERRIDE_MAP, SQLITE_DB, CodeChunk
1515

1616
# Chunking configuration
17-
CHUNK_SIZE = 2000
18-
MIN_CHUNK_SIZE = 300
19-
CHUNK_OVERLAP = 200
17+
CHUNK_SIZE = 800
18+
MIN_CHUNK_SIZE = 200
19+
CHUNK_OVERLAP = 150
2020

2121
# Chunking splitter (stateless, can be module-level)
2222
splitter = RecursiveSplitter()

0 commit comments

Comments
 (0)