mirror of
https://github.com/vxcontrol/langchaingo.git
synced 2026-07-21 00:45:22 -04:00
Merge branch 'pr/1189' into main-pull-requests
This commit is contained in:
@@ -15,8 +15,8 @@ type RecursiveCharacter struct {
|
||||
}
|
||||
|
||||
// NewRecursiveCharacter creates a new recursive character splitter with default values. By
|
||||
// default, the separators used are "\n\n", "\n", " " and "". The chunk size is set to 4000
|
||||
// and chunk overlap is set to 200.
|
||||
// default, the separators used are "\n\n", "\n", " " and "". The chunk size is set to 512
|
||||
// and chunk overlap is set to 100.
|
||||
func NewRecursiveCharacter(opts ...Option) RecursiveCharacter {
|
||||
options := DefaultOptions()
|
||||
for _, o := range opts {
|
||||
|
||||
Reference in New Issue
Block a user