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.
Hi,
When using ChatDatabricks.with_structured_output(method="json_schema"), there is this error:
The problem is within this code block:
https://github.com/databricks/databricks-ai-bridge/blob/main/integrations/langchain/src/databricks_langchain/chat_models.py#L973
"response_format" should have another key named "name", per GPT's request.