| chat_session_anthropic | R Documentation |
Convenience wrapper for chat_session with Anthropic provider.
chat_session_anthropic(model = "claude-sonnet-4-20250514",
system_prompt = NULL, ...)
model |
Character. Model name (default: "claude-sonnet-4-20250514"). |
system_prompt |
Character or NULL. System prompt. |
... |
Additional parameters passed to chat_session(). |
A chat session list.
# Construct a session (no network call yet)
session <- chat_session_anthropic(system_prompt = "You are helpful.")
## Not run:
session$chat("Hello")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.