Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Function calling!

I don't think GPTs allow you to do function calling? It's not mentioned in the launch blog post. (it would be a major privacy problem if these were possible in the GPTs)

Using the Assistant as an intermediary between user inputs and a bunch of our APIs seems very promising.



You can provide "actions" by exposing an API to a GPT via an OpenAPI spec. The interfaces are almost identical to function calling.


They do allow you to do custom function calling via Configure -> Add Actions


Doesn't seem like you can authenticate with a backend except for a GPT-wide api token, which makes this way less useful that it could be. You can basically not fetch or store the user's information outside ChatGPT, or am I missing something?


I think you are missing the option for OAuth. That should enable what you are looking for.

If you have a preexisting OAuth setup, it might be hard to get working though, due to the "API and Auth endpoint have be under the same root domain" requirement. (Source: wasted a few hours today trying to get OAuth working)


There's an OAuth option for Actions in GPTs which looks like it covers this case, but I haven't used it myself yet.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: