Find answers from the community

Updated 4 months ago

Tool response

At a glance
Hey, I have a custom tool that returns in json format but the agent keep converting its output to natural language in response, how can I keep the json in the response.
Tool output: { "title": " Orders by Status", "names": ["Cancelled", "Shipped", "Shipped and Delivered"], "amount": [3, 14, 6] }
response: Here's a visualization of the of orders by status: - Cancelled: 3 orders - Shipped: 14 orders - Shipped and Delivered: 6 orders
L
T
a
5 comments
We really need to add a "return_direct" functionality to our tools.

I'll see if someone can get to this soon πŸ™ I miiiiight have time at some point today
yea can we have it updated asap, thanks for the quick response
It's a bit of big change, but will let you know
Just wondering if this has been implemented
Lol not yet. Just haven't prioritized it. Definitely make a PR for it if you are up to it
Add a reply
Sign up and join the conversation on Discord