live_console {ellmer} | R Documentation |
Open a live chat application
Description
-
live_console()
lets you chat interactively in the console. -
live_browser()
lets you chat interactively in a browser.
Note that these functions will mutate the input chat
object as
you chat because your turns will be appended to the history.
Usage
live_console(chat, quiet = FALSE)
live_browser(chat, quiet = FALSE)
Arguments
chat |
A chat object created by |
quiet |
If |
Value
(Invisibly) The input chat
.
Examples
## Not run:
chat <- chat_anthropic()
live_console(chat)
live_browser(chat)
## End(Not run)
[Package ellmer version 0.2.1 Index]