I’m trying to train using Google Colab. Despite establishing the API, I am struck with the following error:
" Error: No API key provided. (HINT: set your API key in code using "openai.api_key = <API-KEY>", or you can set the environment variable OPENAI_API_KEY=<API-KEY>). You can generate API keys in the OpenAI web interface. See [https://onboard.openai.com](https://onboard.openai.com/) for details, or email [firstname.lastname@example.org](mailto:email@example.com) if you have any questions."
My code is as follows:
!pip install --upgrade openai
!export OPENAI_API_KEY="(actual API)"
!openai api fine_tunes.create -t "/content/Untitled spreadsheet (2)_prepared.jsonl" -m "ada"