diff --git a/go-backend/llms/chunking.go b/go-backend/llms/chunking.go index e357eff..9560d73 100644 --- a/go-backend/llms/chunking.go +++ b/go-backend/llms/chunking.go @@ -31,7 +31,7 @@ func GenerateChunks(input string) []string { if sentence == "" || strings.TrimSpace(sentence) == "" { continue } - current += sentence + ". " + current += sentence if len(current) >= 300 { results = append(results, current+".") current = ""