PydanticOutputParser.parse() giving the error: Model expected dict not list (type=type_error)
I am working with data generation and using Pydantic classes to do so. The data will be used for calling REST APIs, so the model looks like this along with parsing code: