Issue with JSON Parsing in OpenAI Response

Yes, you can use the built-in function replace in module [10]

e.g.:

{{ replace(11.json; "/(^```\w*\s*|\s*```$)/g"; emptystring) }}

For more information, see the function documentation in the Help Center.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

4 Likes