RecursiveDirectoryLoader is a document loader that loads documents with allowed extensions from a directory.
| 45 | |
| 46 | // RecursiveDirectoryLoader is a document loader that loads documents with allowed extensions from a directory. |
| 47 | type RecursiveDirectoryLoader struct { |
| 48 | root string |
| 49 | maxDepth int |
| 50 | allowExt map[string]struct{} |
| 51 | |
| 52 | Columns []string // CSV Columns |
| 53 | |
| 54 | PDFPassword string // PDF password |
| 55 | } |
| 56 | |
| 57 | var _ Loader = (*RecursiveDirectoryLoader)(nil) |
| 58 |
nothing calls this directly
no outgoing calls
no test coverage detected