Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30e258704e |
@@ -3,7 +3,7 @@
|
|||||||
module DiscourseAi
|
module DiscourseAi
|
||||||
module Translation
|
module Translation
|
||||||
class ContentSplitter
|
class ContentSplitter
|
||||||
CHUNK_SIZE = 3000
|
CHUNK_SIZE = 10_000
|
||||||
|
|
||||||
BBCODE_PATTERNS = [
|
BBCODE_PATTERNS = [
|
||||||
%r{\[table.*?\].*?\[/table\]}m,
|
%r{\[table.*?\].*?\[/table\]}m,
|
||||||
|
|||||||
Reference in New Issue
Block a user