You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/partners/openai/langchain_openai
Julian Weng 6a1a0d977a
partners[minor]: Fix value error message for with_structured_output (#22877)
Currently, calling `with_structured_output()` with an invalid method
argument raises `Unrecognized method argument. Expected one of
'function_calling' or 'json_format'`, but the JSON mode option [is now
referred
to](https://python.langchain.com/v0.2/docs/how_to/structured_output/#the-with_structured_output-method)
by `'json_mode'`. This fixes that.

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
3 months ago
..
chat_models partners[minor]: Fix value error message for with_structured_output (#22877) 3 months ago
embeddings infra: add more formatter rules to openai (#23189) 3 months ago
llms infra: add more formatter rules to openai (#23189) 3 months ago
output_parsers langchain[patch], core[patch], openai[patch], fireworks[minor]: ChatFireworks.with_structured_output (#18078) 7 months ago
__init__.py infra: add more formatter rules to openai (#23189) 3 months ago
py.typed openai[minor]: implement langchain-openai package (#15503) 9 months ago