compass.utilities.parsing.clean_backticks_from_llm_response#

clean_backticks_from_llm_response(content)[source]#

Remove markdown-style backticks from an LLM response

Parameters:

content (str) – LLM response that may or may not contain markdown-style triple backticks.

Returns:

str – LLM response stripped of the markdown-style backticks