powered by
Securely stores your your OpenAI API key to your OS keyring.
set_model(model = "gpt-4")
No return value; only side-effect and message printed to console
String of your preferred model; defaults to 'gpt-4'.
# CAREFUL: Changes your OpenAI API model in your OS keyring if (FALSE) { set_model("gpt-4-1106-preview") set_model() # use default }
Run the code above in your browser using DataLab