Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[FEATURE] Able to reach to function_call in result

Open emrahtoy opened this issue 2 years ago • 2 comments

As some of the models support functions that result with function_call property in the result, I would like to reach it when I send a request to the Flowise prediction endpoint.

Right now Flowise API responses have JSON format but it only includes the text field. I would like to get function_call in addition on this.

emrahtoy avatar Nov 27 '23 12:11 emrahtoy

FYI: Function call is updated with tools PS: It would be nice to consider json mode

emrahtoy avatar Dec 05 '23 23:12 emrahtoy

@HenryHengZJ is there any update on this?

emrahtoy avatar Jan 17 '24 20:01 emrahtoy

@emrahtoy the API response now includes a property usedTools which are the tools/functions used by agent: image

HenryHengZJ avatar Mar 30 '24 09:03 HenryHengZJ

Awesome @HenryHengZJ, just in time!

emrahtoy avatar Mar 30 '24 12:03 emrahtoy