When using ChatDatabricks.with_structured_output(method="json_schema"), there is this error:
{
"external_model_provider":"openai",
"external_model_error": {
"error":{
"message":"Missing required parameter: 'response_format.json_schema.name'.",
"type":"invalid_request_error",
"param":"response_format.json_schema.name",
"code":"missing_required_parameter"
}
}
}
"response_format" should have another key named "name", per GPT's request.