I am trying to use the anthropic AI service to parse an HTML page and return JSON data. The API will not return JSON. It will only return a string of what looks like JSON. But when I run JSON.parse() on the string, Node tells me the JSON is invalid.
I tell the prompt repeatedly that I want JSON, not a string. It continues to give me invalid JSON as a string.