Skip to content

Commit

Permalink
updated response
Browse files Browse the repository at this point in the history
  • Loading branch information
Amruth-Vamshi committed Nov 7, 2023
1 parent 1da591f commit 20ff87f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/xstate/prompt/prompt.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 20ff87f

Please sign in to comment.