Running the following command line script
curl url -H “Content-Type: application/json” -H “Authorization: Bearer $OPENAI_API_KEY”
-d “{“training_file”:“file-tj2hlwILqdAw8HtZW5LgROHQ”,“model”:“davinci”,“suffix”:“fine-tune-1”}”
and getting the following error:
{
“error”: {
“message”: “Your request contained invalid JSON: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)”,
“type”: “invalid_request_error”,
“param”: null,
“code”: null
}
}
The JSON looks fine to me. So what could be the possible error.