inst/chat/chat.R

# Creates an example Chat object to test against.
ch <- ellmer::chat_claude()

ch$chat("What's 2+2?")

saveRDS(ch, file = "inst/chat/chat.rds")

Try the gander package in your browser

Any scripts or data that you put into this service are public.

gander documentation built on April 4, 2025, 2:22 a.m.