Hacker News new | ask | show | jobs
by radarsat1 1274 days ago
My first reaction was, wait how do you use ChatGPT programmatically when it doesn't have an API available yet? I looked into the code and it looks like this uses some kind of wrapper that actually instantiates a headless Firefox session and interacts with it using JavaScript callbacks. Pretty nifty, but how long until this gets clamped down on? I assume it breaks some usage guidelines..
1 comments

It seems it's not using ChatGPT but rather the "standard" GPT-3 models, which do have an API. I didn't look at the code, but they explicitly mention the need for an OpenAI API key.
if you pass `--model=chatgpt` there's experimental support for ChatGPT, but it's suuuper flaky
Oh right, sorry!

I've been using similar workarounds to use ChatGPT programmatically and it's just not worth it. In my experience you just get blocked after a couple of requests. I'm really hoping they release an API soon.

> In my experience you just get blocked after a couple of requests.

Ah, that confirms what I suspected then. Good to know, thanks!