HACKER Q&A
📣 roschdal

C Library for ChatGPT/OpenAI?


Where's the C library for ChatGPT/OpenAI?


  👤 captaindiego Accepted Answer ✓
There are some libcurl-using C++ implementations out there floating around on GitHub you could probably wrap to work with a straight C API. Most didn't support streaming partial results last time I looked for ChatCompletion, but it's not a huge effort to add that if you really need it.

👤 smoldesu
Anything that supports POST requests should work just fine.