Class: TokenTextSplitter()
Extends
TokenTextSplitter<
Options
>(nodes
,options
?):BaseNode
<Metadata
>[]
Type Parameters
• Options extends Record
<string
, unknown
>
Parameters
• options?: Options
Returns
Defined in
packages/core/node-parser/dist/index.d.ts:106
Constructors
new TokenTextSplitter()
new TokenTextSplitter(
params
?):TokenTextSplitter
Parameters
• params?: SplitterParams
& Partial
<object
>
Returns
Overrides
MetadataAwareTextSplitter
.constructor
Defined in
packages/core/node-parser/dist/index.d.ts:112
Properties
backupSeparators
backupSeparators:
string
[]
Defined in
packages/core/node-parser/dist/index.d.ts:111
chunkOverlap
chunkOverlap:
number
Defined in
packages/core/node-parser/dist/index.d.ts:109
chunkSize
chunkSize:
number