v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/textsplitters
RecursiveCharacterTextSplitterParams
Interface RecursiveCharacterTextSplitterParams
interface
RecursiveCharacterTextSplitterParams
{
chunkOverlap
:
number
;
chunkSize
:
number
;
keepSeparator
:
boolean
;
lengthFunction
?:
(
(
text
:
string
)
=>
number
)
|
(
(
text
:
string
)
=>
Promise
<
number
>
)
;
separators
:
string
[]
;
}
Hierarchy (
view full
)
TextSplitterParams
RecursiveCharacterTextSplitterParams
Implemented by
RecursiveCharacterTextSplitter
Index
Properties
chunk
Overlap
chunk
Size
keep
Separator
length
Function?
separators
Properties
chunk
Overlap
chunk
Overlap
:
number
chunk
Size
chunk
Size
:
number
keep
Separator
keep
Separator
:
boolean
Optional
length
Function
length
Function
?:
(
(
text
:
string
)
=>
number
)
|
(
(
text
:
string
)
=>
Promise
<
number
>
)
separators
separators
:
string
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
chunk
Overlap
chunk
Size
keep
Separator
length
Function
separators
LangChain.js
Loading...