diff --git a/src/services/data-extraction/data-extraction.impl.ts b/src/services/data-extraction/data-extraction.impl.ts index 93026da..9dae270 100644 --- a/src/services/data-extraction/data-extraction.impl.ts +++ b/src/services/data-extraction/data-extraction.impl.ts @@ -210,7 +210,7 @@ export class DataExtractionImpl extends DataExtractionCsv { console.error('Error getting relevant passages: ', {err}) - return passages.join('\n') + return striptags(passages.join('\n')) }) console.log('Found relevant passage: ', {relevantPassage})