From 7e29f7b341542efe78e17706b38397a684edf616 Mon Sep 17 00:00:00 2001 From: Adhityan K V Date: Wed, 22 May 2024 14:29:15 +0200 Subject: [PATCH] explicitly maintain single instance of unique loaders --- src/core/rag-application.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/rag-application.ts b/src/core/rag-application.ts index 204055c4..37d9a0ca 100644 --- a/src/core/rag-application.ts +++ b/src/core/rag-application.ts @@ -194,7 +194,6 @@ export class RAGApplication { public async getContext(query: string) { const cleanQuery = cleanString(query); const rawContext = await this.getEmbeddings(cleanQuery); - console.log(rawContext); return [...new Map(rawContext.map((item) => [item.pageContent, item])).values()]; }