Module 3-Ungraded Activity 1 Error for OpenAI API

Hi!

I tried running one of the ungraded labs on my local device and received this error regarding the OpenAI API key:

ValueError: OpenAI API key is missing. Please provide it in the config or set the OPENAI_API_KEY environment variable.

Is there any way to fix this?

Thank you in advance!

Hi Jose_Luis_Paolo_Domingo,

If you are running the lab locally, you have to provide your own OpenAI API key.