# requires an API key and sets options
if (FALSE) {
# to create a chat with claude:
.init_helper(.chores_chat = ellmer::chat_claude())
# or with OpenAI's 4o-mini:
.init_helper(.chores_chat = ellmer::chat_openai(model = "gpt-4o-mini"))
# to set OpenAI's 4o-mini as the default model powering chores, for example,
# set the following option (possibly in your .Rprofile, if you'd like
# them to persist across sessions):
options(
.chores_chat = ellmer::chat_openai(model = "gpt-4o-mini")
)
}
Run the code above in your browser using DataLab