ollama[minor]: update default method for structured output (#30273)

From function calling to Ollama's [dedicated structured output
feature](https://ollama.com/blog/structured-outputs).

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
Lance Martin
2025-03-18 09:44:22 -07:00
committed by GitHub
parent ff8ce60dcc
commit 46d6bf0330
4 changed files with 26 additions and 41 deletions

View File

@@ -6,7 +6,7 @@ build-backend = "pdm.backend"
authors = []
license = { text = "MIT" }
requires-python = "<4.0,>=3.9"
dependencies = ["ollama<1,>=0.4.4", "langchain-core<1.0.0,>=0.3.33"]
dependencies = ["ollama<1,>=0.4.4", "langchain-core<1.0.0,>=0.3.45"]
name = "langchain-ollama"
version = "0.2.3"
description = "An integration package connecting Ollama and LangChain"