Set OpenAI API Key as an Environment Variable
openai_api_key.Rd
This function sets the OpenAI API key as an environment variable in the current R session. It takes the API key as an input and stores it as an environment variable, allowing other functions to access the key when needed.
See also
https://platform.openai.com/docs/ for more information on the OpenAI API.