Skip to content

Commit

Permalink
list of loaders code documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
adhityan committed May 30, 2024
1 parent 4951680 commit 80567d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/rag-application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 80567d7

Please sign in to comment.