diff --git a/src/core/rag-application.ts b/src/core/rag-application.ts index 4533433a..7884ea91 100644 --- a/src/core/rag-application.ts +++ b/src/core/rag-application.ts @@ -166,6 +166,11 @@ export class RAGApplication { this.debug(`${newInserts} new incrementalChunks processed`, uniqueId); } + /** + * The function `getLoaders` asynchronously retrieves a list of loaders loaded so far. This includes + * internal loaders that were loaded by other loaders. It requires that cache is enabled to work. + * @returns The list of loaders with some metadata about them. + */ public async getLoaders() { return BaseLoader.getLoadersList(); }