From 20ff87f54f53bcd069c61e02e5c378db044a7b12 Mon Sep 17 00:00:00 2001 From: Amruth-Vamshi Date: Tue, 7 Nov 2023 12:57:55 +0530 Subject: [PATCH] updated response --- src/xstate/prompt/prompt.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/xstate/prompt/prompt.service.ts b/src/xstate/prompt/prompt.service.ts index a667f83..e16748a 100644 --- a/src/xstate/prompt/prompt.service.ts +++ b/src/xstate/prompt/prompt.service.ts @@ -317,6 +317,11 @@ Answer: .replace('Based on the provided context, ','') .replace('Based on the provided context ','') .replace(/HR/g,'OD') + .replace('Answer -',"") + .replace('Answer-',"") + .replace('Answer:',"") + .replace('Answer :',"") + .replace('Answer',"") return { response: finalResponse, allContent: ac, error } } catch(error){ console.log(error)