Sizing RAG Chunks in Tokens, Not Characters
Embedding models and language models read tokens, not characters or words. If you size chunks in characters, some chunks will exceed the model's input limit and be silently truncated, while others will be much shorter than you intended. Measuring chunk size in...