From c9b9c4dfcb7463efe42620ed5960e08efa4b83de Mon Sep 17 00:00:00 2001 From: Amruth-Vamshi Date: Fri, 3 Nov 2023 12:38:29 +0530 Subject: [PATCH] Revert "formatting the GPT response." This reverts commit bb57f5a9a0776bdee2641ebe657cea9d499712b0. --- src/xstate/prompt/prompt.service.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/xstate/prompt/prompt.service.ts b/src/xstate/prompt/prompt.service.ts index 781b007..fc28633 100644 --- a/src/xstate/prompt/prompt.service.ts +++ b/src/xstate/prompt/prompt.service.ts @@ -317,7 +317,6 @@ Answer: .replace('Based on the provided context, ','') .replace('Based on the provided context ','') .replace(/HR/g,'OD') - .replace('I apologize for the confusion earlier. ','') return { response: finalResponse, allContent: ac, error } } catch(error){ console.log(error)