Interface: LoaderSource
Defined in: packages/agentos/src/cognition/memory/io/ingestion/UrlLoader.ts:30
Whatever answers a loader by extension; a LoaderRegistry is one.
Methods
getLoader()
getLoader(
extensionOrPath):IDocumentLoader|undefined
Defined in: packages/agentos/src/cognition/memory/io/ingestion/UrlLoader.ts:37
The loader for an extension with its leading dot (.html, .pdf), or
undefined when there is none.
Parameters
extensionOrPath
string
An extension with its leading dot, or a path.
Returns
IDocumentLoader | undefined