View source: R/gateway_keyring.R
| set_model | R Documentation |
Securely stores your your OpenAI API key to your OS keyring.
set_model(model = "gpt-4")
model |
String of your preferred model; defaults to 'gpt-4'. |
No return value; only side-effect and message printed to console
# CAREFUL: Changes your OpenAI API model in your OS keyring
## Not run:
set_model("gpt-4-1106-preview")
set_model() # use default
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.