Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Text ¶ added in v0.0.22
type Text struct {
// contains filtered or unexported fields
}
func (*Text) Load ¶ added in v0.0.22
Load reads the content from the reader and returns it as a single document.
func (*Text) LoadAndSplit ¶ added in v0.0.22
func (l *Text) LoadAndSplit(ctx context.Context, splitter schema.TextSplitter) ([]schema.Document, error)
LoadAndSplit reads the content from the reader and splits it into multiple documents using the provided splitter.
Click to show internal directories.
Click to hide internal directories.