I took a look at this briefly because of my historical involvement/interest with 's in the Discourse space.
The authorisation of the API calls to the web-based ChatGPT is currently quite involved (and annoying, forcing you to mimic a web browser, for example) and some interim open source API wrapper solutions have since failed as they’ve tightened this up.
I suspect, for the time being, they are actively trying to make reverse engineering the official website API calls hard[1] and it might be worth waiting for the official API for a fully conversant ChatGPT which will surely come to avoid this complexity and any abuse of the terms of service that you may risk? Looking at OpenAI’s Discourse ( ), this appears to be others thinking.
But let’s ask the bot directly?:
Noting there is already an official OpenAI API but this doesn’t support ongoing conversations in quite such a convenient manner (you appear to have to send all history every time in a context
variable! That is too wasteful (and ultimately expensive) for me to bother in the meantime! ).
Hopefully they will release an official API with a simple conversation reference at some stage soon. No doubt there will be a price attached!
-
I suspect this is partly because they are also employing a moderation API which is presently separate from the bot calls? ↩︎