Use withStructuredOutput with multiple tools #5650
Replies: 1 comment
-
Hey there, @tristanretali! I'm here to help you with any bugs, questions, or contributions while we wait for a human maintainer. Let's tackle this together! Yes, there are plans to officially support the Regarding your custom implementation for handling multiple tools, it is indeed a valid approach. However, there are some performance considerations and optimizations you can apply when using the
By following these best practices, you can optimize the performance and reliability of using the |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
I tried to use the withStructuredOutput() method with a Mistral model to implement multiple tools. But I found nothing on the Langchain documentation or any forum. So, I needed to make my own. I would like to know if this is a normal thing or you plan to implement it?
System Info
platform: linux
Node.js v20.7.0
yarn version v1.22.19
Beta Was this translation helpful? Give feedback.
All reactions