Set up OpenAI API key and store in environment.