Adding `STRUCTURED_FORMAT_SIMPLE_INSTRUCTIONS` missing backticks (#12238)

This PR fixes the fact that `STRUCTURED_FORMAT_SIMPLE_INSTRUCTIONS` was
missing backticks at the end
pull/12252/head
James Braza 9 months ago committed by GitHub
parent 9fc28d50c3
commit 53f35c5f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ STRUCTURED_FORMAT_SIMPLE_INSTRUCTIONS = """
{{
{format}
}}
"""
```"""
PYDANTIC_FORMAT_INSTRUCTIONS = """The output should be formatted as a JSON instance that conforms to the JSON schema below.

@ -77,6 +77,7 @@ class StructuredOutputParser(BaseOutputParser):
# "foo": List[string] // a list of strings
# "bar": string // a string
# }
# ```
Args:
only_json (bool): If True, only the json in the Markdown code snippet

Loading…
Cancel
Save