Langchain_ollama structured output failed for multiple new models on Ollama
Author: Genesis1231Created Mar 13, 2025Updated May 13, 2025
Phi4-mini Qwen QWQ
these new models have tools and supposedly should support structured output. ChatOllama(base_url, model, temperature).with_structured_output(format) but they return null when use structured output with pydantic class.
am i doing something wrong?
Source: langchain-ai/local-deep-researcher