powered by
NLP functionalities require a paid OpenAI API key to communicate with Open AI models.
set_openai_api_key(key, overwrite = FALSE, temporary = FALSE)
an OpenAI API key. For more information on keys see the OpenAI API blog
Option to overwrite any existing OpenAI keys already stored locally.
Option to not store thew API key for use across sessions.
if (FALSE) { set_openai_api_key("YOUR_OPENAI_API_KEY") # This will set the key permanently until overwritten again set_openai_api_key("YOUR_OPENAI_API_KEY") }
Run the code above in your browser using DataLab