Great! :-) But, regarding GOOPS generics not parsing keywords, note that define-method* was introduced in Guile 3.0.11. It is documented in the manual.
Best regards, Mikael On Mon, Nov 23, 2026 at 8:35 AM Andy Tai <[email protected]> wrote: > This is to announce the version 0.3 release of guile_llama_cpp, available > at > > > https://download.savannah.nongnu.org/releases/guile-llama-cpp/guile_llama_cpp-0.3.tar.gz > > or using mirrors, > > https://download-mirror.savannah.gnu.org/releases/guile-llama-cpp/guile_llama_cpp-0.3.tar.gz > > Major changes: > version 0.3 20261115 > * ported to llama.cpp 1.0: new model/context lifecycle, vocab API, > sampler-chain sampling in C (replacing the sample free functions > removed upstream; the old loader and context-creation entry points > are gone) > * new high-level GOOPS API (guile-llama-cpp high): <llama> class with > llama-complete, llama-chat, llama-embed, llama-tokenize/detokenize, > llama-save-state/restore-state, modeled on llama-cpp-python > * module split: (guile-llama-cpp) keeps the raw SWIG bindings; new > (guile-llama-cpp loader) loads the extension library > * keyword-taking entry points (llama-complete, llama-chat, ...) are > plain procedures rather than GOOPS generics, as Guile 3.0 cannot > parse define-method together with keyword arguments > * build: llama.cpp detected via pkg-config; test suite with make > check > * chat scripts rewritten on the high-level API; the old --embedding > script flag is gone, embeddings are available via llama-embed > > Guile_llama_cpp wraps around llama.cpp APIs so llama.cpp can be > accessed from Guile scripts and programs, in a manner > similar to llama-cpp-python allowing the use of llama.cpp in Python > programs. > It provides a high-level GOOPS API modeled on llama-cpp-python's `Llama` > class, a low-level module wrapping the llama.cpp C API near 1:1, and simple > Guile scripts to allow simple "chat" with a LLM in gguf format. > > Enjoy! > >
