Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader implements the llm.Loader interface for CSV.
func (Loader) LoadAndSplit ¶
func (c Loader) LoadAndSplit(ctx context.Context, splitter llm.TextSplitter) ([]llm.Document, error)
LoadAndSplit reads text data from the io.Reader and splits it into multiple documents using a text splitter.
Click to show internal directories.
Click to hide internal directories.