Skip to content

Commit

Permalink
remove failing code
Browse files Browse the repository at this point in the history
  • Loading branch information
NickSavage committed Nov 22, 2024
1 parent 09aa350 commit 10484c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-backend/llms/chunking.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit 10484c1

Please sign in to comment.