simonpcouch / pal

LLM assistants for R
https://simonpcouch.github.io/pal/
Other
5 stars 3 forks source link

convert pal to R6 #14

Closed simonpcouch closed 1 week ago

simonpcouch commented 1 week ago

Closes #11.

Not sure at this point whether this is the right move; Pals don't properly inherit from elmer Chats (notably, Chat is not exported) and the arguments to $chat() and $stream() take a slightly different format. That said, if folks are familiar with Chats, Pals (as in, the R6 class) feel much more familiar than the interface currently on main.