3 ms·
I think you might be talking about GPTs with actions? This implementation of function calling works differently from those. OpenAI/Anthropic don't make any AP
by simonw 3y ago
I think you might be talking about GPTs with actions?
This implementation of function calling works differently from those.
OpenAI/Anthropic don't make any API calls themselves at all here. You call their chat APIs with a list of your own available functions, then they may reply to you saying "run function X yourself with these parameters, and once you've run that tell us what the result was".
This is useful for more than just tool usage - it can help with structured data extraction too, where you don't execute functions at all: https://til.simonwillison.net/gpt3/openai-python-functions-data-extraction https://til.simonwillison.net/gpt3/openai-python-functions-d...