Skip to content

Commit

Permalink
explicitly maintain single instance of unique loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
adhityan committed May 22, 2024
1 parent 72ada74 commit 7e29f7b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/rag-application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()];
}
Expand Down

0 comments on commit 7e29f7b

Please sign in to comment.