Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QACSV ¶
type QACSV struct {
// contains filtered or unexported fields
}
QACSV represents a QA CSV document loader.
func NewQACSV ¶
NewQACSV creates a new qa csv loader with an io.Reader and optional column names for filtering.
func (QACSV) LoadAndSplit ¶
func (c QACSV) LoadAndSplit(ctx context.Context, splitter textsplitter.TextSplitter) ([]schema.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.