Replies: 3 comments 1 reply
-
The same goes for cohere https://docs.cohere.com/docs/tool-use LLMs are trained on diverse function calling specs and invocation patterns, even the wrapping syntax ranges from XML to JSON. It would be great if langchain could ease the transition between models by providing a generic way to specify tools and express their invocations by adopting each models tool invocation API to its own generic tool API |
Beta Was this translation helpful? Give feedback.
-
Thank you for your hard work on this amazing open source framework. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
openai function calling interface improves parsing of structured output. it is also supported by Anthropic by obvciously with different APIs. would be great if LangChain was able to provide a consistent cross-llm API that provides tools/function-calling and at least support OpenAI and Anthropic
Motivation
mainly to parse structured output into pydantic with increased resillience
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions