Re: Drakma on Ubuntu
"John DeSoi (as john at desoi dot dev)" <[email protected]> Fri, 17 Jul 2026 13:19:42 +0000
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <0100019f703b9a11-b93a2091-833e-4970-9591-2a528bb14919-000000@email.amazonses.com> |
--Apple-Mail=_DFAB9DE8-2F67-4A46-B5EB-54EAC712A0D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Lawrence, I missed the earlier thread about this - I'm also interested in = connecting to Ollama. Are you able to implement the streaming API where = you get partial results immediately using Drakma? It is not clear to me = if only plain HTTP is needed or if some kind of web socket = implementation is required. Thanks, John DeSoi, Ph.D. > On Jul 16, 2026, at 12:12=E2=80=AFAM, Lawrence Au (as la at synap dot = news) <[email protected]> wrote: >=20 > I earlier asked for suggestions for connecting Lispworks to Ollama = LLMs. Thanks to all the advice, I was able to settle on Drakma to make = that connection work on MacOS. I=E2=80=99m working on putting the code I = wrote which calls Drakma into a single file so others can use it too. = But I=E2=80=99ve run into a problem porting that code from Lispworks = 8.01 MacOS Sequoia 15.7.3 to Lispworks 8.01, running on Ubuntu 22.04.3 = LTS. --Apple-Mail=_DFAB9DE8-2F67-4A46-B5EB-54EAC712A0D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" = content=3D"text/html; charset=3Dutf-8"></head><body = style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;"><span style=3D"font-family: = LucidaGrande;">Hi Lawrence,</span><div style=3D"font-family: = LucidaGrande;"><br></div><div style=3D"font-family: LucidaGrande;">I = missed the earlier thread about this - I'm also interested in connecting = to Ollama. Are you able to implement the streaming API where you get = partial results immediately using Drakma? It is not clear to me if only = plain HTTP is needed or if some kind of web socket implementation is = required.</div><div style=3D"font-family: LucidaGrande;"><br></div><div = style=3D"font-family: LucidaGrande;">Thanks,</div><div = style=3D"font-family: LucidaGrande;"><br></div><div style=3D"font-family: = LucidaGrande;">John DeSoi, Ph.D.</div><div style=3D"font-family: = LucidaGrande;"><br></div><div><br><blockquote type=3D"cite"><div>On Jul = 16, 2026, at 12:12=E2=80=AFAM, Lawrence Au (as la at synap dot news) = <[email protected]> wrote:</div><br = class=3D"Apple-interchange-newline"><div><meta charset=3D"UTF-8"><span = style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; = font-size: 12px; font-style: normal; font-variant-caps: normal; = font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; = text-indent: 0px; text-transform: none; white-space: normal; widows: 2; = word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: = none; float: none; display: inline !important;"> I earlier = asked for suggestions for connecting Lispworks to Ollama LLMs. Thanks to = all the advice, I was able to settle on Drakma to make that connection = work on MacOS. I=E2=80=99m working on putting the code I wrote which = calls Drakma into a single file so others can use it too. But I=E2=80=99ve= run into a problem porting that code from Lispworks 8.01 MacOS Sequoia = 15.7.3 to Lispworks 8.01, running on Ubuntu 22.04.3 = LTS.</span></div></blockquote></div><br></body></html>= --Apple-Mail=_DFAB9DE8-2F67-4A46-B5EB-54EAC712A0D7-- _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html