package
0.6.9
Repository: https://github.com/gptscript-ai/knowledge.git
Documentation: pkg.go.dev

# Functions

DefaultOptions returns the default options for all text splitter.
NewMarkdownTextSplitter creates a new Markdown text splitter.
WithChunkOverlap sets the chunk overlap for a text splitter.
WithChunkSize sets the chunk size for a text splitter.
WithEncodingName sets the encoding name for a text splitter.
No description provided by the author
WithKeepSeparator sets whether the separators should be kept in the resulting split text or not.
No description provided by the author
WithModelName sets the model name for a text splitter.
WithSecondSplitter sets the second splitter for a text splitter.

# Structs

MarkdownTextSplitter markdown header text splitter.
Options is a struct that contains options for a text splitter.

# Type aliases

Option is a function that can be used to set options for a text splitter.