Replies: 2 comments
-
Can also lead to false positives since they frequently mention multiple tools, sometimes not as a means to invoke |
Beta Was this translation helpful? Give feedback.
0 replies
-
Noted. It looks like the best option is to train the model to play nice with LangChain. Now, if I could find a dataset of successful LangChain integration that would be great, but I can't. So I'm left with generating my own by using ChatGPT. This will take awhile. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Although ChatGPT generally works for LLM tool choices, I get poor results from other LLM. My Vicuna LLM likes to reply with "Use Search" for example, which fails the simple regex in output_parser, so I am applying this ugly fix for my app that is using AgentType.CONVERSATIONAL_REACT_DESCRIPTION:
`
`
Wouldn't it be more elegant to pass in a list of available tools, and just check to see if the LLM mentions any of them in the reply, and then choose the one mentioned?
This would allow for extra text from the LLM.
Beta Was this translation helpful? Give feedback.
All reactions