From 80567d703accd0e087e27aa971270f39acb7ed6d Mon Sep 17 00:00:00 2001 From: Adhityan K V Date: Thu, 30 May 2024 18:54:48 +0200 Subject: [PATCH] list of loaders code documentation --- src/core/rag-application.ts | 5 +++++ 1 file changed, 5 insertions(+) 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(); }