griptape icon indicating copy to clipboard operation
griptape copied to clipboard

Tools vs Functions

Open rcarmo opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe.

I was wondering what the plans are for supporting OpenAI function calling since that might help with LLM reliability and tool development.

Describe the solution you'd like I would like to have griptape support OpenAI function calling internally and maintain the same semantics.

Describe alternatives you've considered N/A

Additional context I am evaluating griptape for my projects and have found that the function calling functionality makes for more reliable interactions with the 0613 series of models.

rcarmo avatar Jul 08 '23 17:07 rcarmo

@rcarmo, thanks for submitting the issue! As of today, we don't plan to support OpenAI function calling, as Griptape is framework-agnostic and we implement our own CoT and tool schema injection and validation logic.

I am curious though what types of queries/scenarios you are seeing OpenAI functions performing better at than Griptape tools. Are you in a position to share those? Would be interesting to measure and see if it's worth the effort to support functions via the prompt driver somehow.

vasinov avatar Jul 12 '23 23:07 vasinov

@rcarmo, just checking in to see if you could share comparison tests between function calling and Griptape tools. Also, wondering whether you've been running your tests with gpt-3 or gpt-4 (I know you mentioned 0613 but wondering which model specifically). Thanks!

vasinov avatar Jul 24 '23 15:07 vasinov

Hello just following up on this. Is there an example of how Griptape tools can guarantee output as the 0613 models? e.g., given a product description, extract the height and width. This works very well with 0613, as I can always return product_width and product_height. How would I achieve this using Griptape? thanks!

SAI-sentinal-ai avatar Nov 05 '23 23:11 SAI-sentinal-ai