| llm_key | R Documentation |
Stores an API key in the llm.api.api_key option, which
chat prefers over environment variables.
llm_key(key)
key |
Character. API key for authentication. |
The previous value of the option, invisibly.
old <- llm_key("sk-not-a-real-key")
llm_key(old) # restore
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.