Skip to content

The agent engineering platform.

Removes unnecessary backslash escaping for backticks in python (#5751)

Andrew Grangaard450eb91fe2be
diff --git a/langchain/output_parsers/format_instructions.py b/langchain/output_parsers/format_instructions.py
index 54e5c70c32..d9e5b6b69c 100644
--- a/langchain/output_parsers/format_instructions.py
+++ b/langchain/output_parsers/format_instructions.py
@@ -1,6 +1,6 @@
# flake8: noqa
-STRUCTURED_FORMAT_INSTRUCTIONS = """The output should be a markdown code snippet formatted in the following schema, including the leading and trailing "\`\`\`json" and "\`\`\`":
+STRUCTURED_FORMAT_INSTRUCTIONS = """The output should be a markdown code snippet formatted in the following schema, including the leading and trailing "```json" and "```":
```json
{{