mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
Removes unnecessary backslash escaping for backticks in python (#5751)
Fixed python deprecation warning: DeprecationWarning: invalid escape sequence '`' backticks (`) do not have special meaning in python strings and should not be escaped. -- @spazm on twitter ### Who can review: @nfcampos ported this change from javascript, @hwchase17 wrote the original STRUCTURED_FORMAT_INSTRUCTIONS,
This commit is contained in:
parent
0551bc90a5
commit
450eb91fe2
@ -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
|
||||
{{
|
||||
|
Loading…
Reference in New Issue
Block a user