Log in to OpenAI
login(api_key, force_refresh = FALSE, cache_dir = NULL, no_cache = FALSE)a character vector with an API key
API key to use for authentication. If not provided, the function look for a cached key or guide the user to obtain one.
Log in again even if an API key is already cached.
dir location to save keys on disk. The default is to use
rappdirs::user_cache_dir("askgpt").
Don't cache the API key, only load it into the environment.