Need some help getting the email reply (from OpenAi Chat Completion) on the right format. It doesn’t have any line spacing; everything in one paragraph. Can’t find answers from the web and both solutions from Chatgpt and Bard doesn’t work.
“Response” is my Output - Top Generated Text variable from the OpenAi Generate Chat Competion activity.
I made some corrections in the Assign activity and the issue seem to have been resolved although not consistent. It works on the first test email but not on the second… Do I need to do something in the “Reply To Outlook Mail Message” activity?
I think we’re getting close. Thanks a lot for the help!
This is by the way working: YourTextVar.Replace(Environment.NewLine,“ ”)
It worked twice on one email but issue reoccurred. Must have been a fluke. GPT3.5 turbo’s output is with \n for line breaks and is always the case. Not sure why it’s not getting converted to html