r/Arduino_AI • • Jul 21 '23

Arduino and GPT Function Calling

/r/arduino/comments/1551ux8/arduino_and_gpt_function_calling/
1 Upvotes

4 comments sorted by

1

u/[deleted] Jul 22 '23

[removed] — view removed comment

2

u/ripred3 Jul 22 '23 edited Jul 22 '23

To be fair: chatGPT has recently come out with something they call their function calling API. This requires that you describe the signature of the function and chatGPT will return a JSON structure filled with the named parameter/value pairs for calling said function.

But as you said it's just another way to post a REST call to openAI and get back a JSON response that you need to parse and process. Given the nature and lack of experience of OP's question I didn't feel like describing "yet another way to process JSON" made anything particularly easier than any other form of posting a query and processing the JSON response, for the average user that was unfamiliar with using their API. In short, the answer to OP's question is simply "no".

1

u/[deleted] Jul 22 '23

[removed] — view removed comment

1

u/ripred3 Jul 22 '23

lol I had to look it up too as I had not heard about it