Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultChunkSize = 4000 DefaultChunkOverlap = 200 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spliter ¶
type TextSpliter ¶
type TextSpliter struct {
// contains filtered or unexported fields
}
func (*TextSpliter) Split ¶
func (t *TextSpliter) Split(text string) []string
Click to show internal directories.
Click to hide internal directories.