News for hackers. Stuff that matters.
Re:Ask HN: C Library for ChatGPT/OpenAI? by smoldesu on Friday May 12, 2023 @11:27AM (#35917569)
Anything that supports POST requests should work just fine.
Re:Ask HN: C Library for ChatGPT/OpenAI? by captaindiego on Friday May 12, 2023 @01:25PM (#35919193)
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.