Is there a way to retry matching a certain JSON format? Right now i just try to parse it and re-prompt if it fails. But i feel it would be better to just have it correct its mistake instead of retrying enterly right? Is this possible?
Yes Ive tried the pydantic program, but actually had issues with it not returning a response sometimes... thats why im considering going to back to using JSON.