Load loads from a source and returns documents.
(ctx context.Context)
| 11 | type Loader interface { |
| 12 | // Load loads from a source and returns documents. |
| 13 | Load(ctx context.Context) ([]schema.Document, error) |
| 14 | // LoadAndSplit loads from a source and splits the documents using a text splitter. |
| 15 | LoadAndSplit(ctx context.Context, splitter textsplitter.TextSplitter) ([]schema.Document, error) |
| 16 | } |
no outgoing calls