library(ellmer)
chat <- chat_anthropic()
chat$chat("Who are you?")
#> Using model = "claude-sonnet-4-6".
#>
#> I'm Claude, an AI assistant created by Anthropic. I'm here to help
#> with a wide variety of tasks like answering questions, helping with
#> analysis and research, creative writing, math and coding problems,
#> and having conversations. Is there something specific I can help
#> you with today?








