v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.3
LangChain.js
langchain-textsplitters
TextSplitterParams
Interface TextSplitterParams
interface
TextSplitterParams
{
chunkOverlap
:
number
;
chunkSize
:
number
;
keepSeparator
:
boolean
;
lengthFunction
?:
(
(
text
)
=>
number
)
|
(
(
text
)
=>
Promise
<
number
>
)
;
}
Hierarchy (
view full
)
TextSplitterParams
CharacterTextSplitterParams
RecursiveCharacterTextSplitterParams
TokenTextSplitterParams
Implemented by
TextSplitter
Index
Properties
chunk
Overlap
chunk
Size
keep
Separator
length
Function?
Properties
chunk
Overlap
chunk
Overlap
:
number
chunk
Size
chunk
Size
:
number
keep
Separator
keep
Separator
:
boolean
Optional
length
Function
length
Function
?:
(
(
text
)
=>
number
)
|
(
(
text
)
=>
Promise
<
number
>
)
Type declaration
(
text
)
:
number
Parameters
text
:
string
Returns
number
Type declaration
(
text
)
:
Promise
<
number
>
Parameters
text
:
string
Returns
Promise
<
number
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
chunk
Overlap
chunk
Size
keep
Separator
length
Function
LangChain.js - v0.2.3
langchain-anthropic
langchain-azure-openai
langchain-cloudflare
langchain-cohere
langchain-community
agents/toolkits
aws_sfn
base
connery
caches
cloudflare_kv
ioredis
momento
upstash_redis
callbacks/handlers
llmonitor
lunary
upstash_ratelimit
chains/graph_qa/cypher
chat_models
alibaba_tongyi
Loading...
Generated using
TypeDoc