Find answers from the community

s
F
Y
a
P
Updated last year

Chunk size

as i saw followign message. normally how to solve it ? reindex again ?

9 frames
/usr/local/lib/python3.10/dist-packages/llama_index/langchain_helpers/text_splitter.py in init(self, separator, chunk_size, chunk_overlap, tokenizer, backup_separators, callback_manager)
38 """Initialize with parameters."""
39 if chunk_overlap > chunk_size:
---> 40 raise ValueError(
41 f"Got a larger chunk overlap ({chunk_overlap}) than chunk size "
42 f"({chunk_size}), should be smaller."

ValueError: Got a larger chunk overlap (-4) than chunk size (-45), should be smaller.
L
1 comment
Maybe reindex? But it also depends on some of your setup settings
Add a reply
Sign up and join the conversation on Discord