latest--TokenTextSplitter
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/eidolon-resource/_shared/latest--TokenTextSplitter.json |
| Parent schema | eidolon-resource |
Type:
object
Properties
implementation
const: "TokenTextSplitter"
required
chunk_size
integer
Maximum size of chunks to return
chunk_overlap
integer
Overlap in characters between chunks
keep_separator
boolean
Whether to keep the separator in the chunks
strip_whitespace
boolean
If True, strips whitespace from the start and end of every document
encoding_name
string
Encoding name
model
string | null
Model name
allowed_special
string | string[]
Allowed special tokens
[]
disallowed_special
string | string[]
Disallowed special tokens