View source: R/service-anthropic.R
request_base_anthropic | R Documentation |
This function sends a request to the Anthropic API endpoint and authenticates with an API key.
request_base_anthropic(key = Sys.getenv("ANTHROPIC_API_KEY"))
key |
String containing an Anthropic API key. Defaults to the ANTHROPIC_API_KEY environmental variable if not specified. |
An httr2 request object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.