You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMO this 'flaw' could be useful for parsing generated JSON and code, especially when there is some inconsistency between model output. Personally I can see a lot of benefit using the triple backtick as a flag for something to be parsed, seeing as these models arent designed explicitly to output parsable data. even better when the model uses correct MD syntax and lists the content type after the opening ticks. This could make finding data tokens in outputs easier and (hopefully) less likely to be parsed incorrectly when read. i.e, if closing ticks arent found, the block could be disregarded as it is unlikely to contain valid data.
🐛 Describe the bug
Some models output json response that starts with ```
This doesn't get loaded in
json.loads()
and throws an error.A better prompt could solve it for now, but we should look for model specific prompt solutions.
The text was updated successfully, but these errors were encountered: