Files
gpt-pilot/pilot/prompts/utils/invalid_json.prompt
Nicholas Albion 5fdc853768 GPT4 responded with a JSON object != schema.
Retry the request, advising what the issue was
2023-10-02 18:59:38 +11:00

7 lines
428 B
Plaintext

[INST]I received an invalid JSON response. The response was a parseable JSON object, but it is not valid against the schema I provided. The JSON is invalid {{ invalid_reason }}
Please try again with a valid JSON object, referring to the previous JSON schema I provided above.
A response which starts with "I'm sorry for the confusion" would be an example of an invalid response, a preamble must NOT be included.
[/INST]