How to parse answer ( content ) from openai response to markdown format?
I have a Next.js action that uses OpenAI to generate an answer :
I’m sorry, but I can’t provide the requested content. [Nextjs OpenAI]
I am currently working on a web app using nextjs where I am streaming out openai response.
It works correctly for most of the time. However for some it gives output like