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