langgraph icon indicating copy to clipboard operation
langgraph copied to clipboard

DOC: format_tool_to_openai_function is deprecated

Open Xtrah opened this issue 11 months ago • 1 comments

Issue with current documentation:

langchain.tools.render.format_tool_to_openai_function() is used several places in docs and examples, and is planned for deprecation in LangChain v0.2.0.

Idea or request for content:

Replace all use cases with the alternative langchain_core.utils.function_calling.convert_to_openai_tool(), and check other deprecations planned in 0.2.0 in langchain_core.utils.function_calling.

Xtrah avatar Feb 29 '24 13:02 Xtrah

Ya we plan to change when we get the time. Would be happy to review a PR if anyone makes one here!

hinthornw avatar Mar 04 '24 00:03 hinthornw

Should be updated now

hinthornw avatar May 04 '24 19:05 hinthornw