RE: Running ChatGPT API from Lispworks
"Kurt Geisel (as kgeisel at outlook dot com)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <SA1PR07MB8707288C9D71EA1697D15BD2A609A@SA1PR07MB8707.namprd07.prod.outlook.com> |
Joe Marshall shared an example that happens to use the Gemini API, mostly based around cl-json. Abstract Heresies: Gemini API<https://funcall.blogspot.com/2025/09/gemini.html> - Kurt From: [email protected] <[email protected]> On Behalf Of Eben Bruyns (as eben at sdk dot co dot nz) Sent: Wednesday, September 10, 2025 12:54 PM To: Lawrence Au <[email protected]> Cc: Lispworks HUG <[email protected]> Subject: Re: Running ChatGPT API from Lispworks HI Lawrance, I've been using claude code, it has a cli switch -p which allows you to interact with claude code via stdin and stdout. Depending on what the demo is doing this might be exactly what you want instead? It's also agentic so you might be able to even spin up a chat gpt enabled via an mcp server or just use gpt via an mcp server. I've done some pretty wild stuff using this where I have claud code writing scripts that will call itself with various prompts. The results can vary (some days it's better than others, I suspect it's a drinker and hung over some days). Regards, Eben Bruyns On Thu, 11 Sept 2025 at 02:29, Lawrence Au (as la at synap dot news) <[email protected]<mailto:[email protected]>> wrote: Hi, I've got a hybrid neural net/Symbolic AI demo which runs in a self-correcting loop with ChatGPT. But I've personally been part of the loop, cutting and pasting back and forth to ChatGPT! Has anybody been able to call ChatGPT's API from Lispworks? I'd settle for calling indirectly through call-system-showing-output<https://www.lispworks.com/documentation/lw60/LW/html/lw-1276.htm#20692> or run-shell-command<https://www.lispworks.com/documentation/lw60/LW/html/lw-1376.htm#31535>. Lawrence Au