I thought I’d play around with some python connected to GPT-3.
I am getting the following after launching jupyter notebook on my machine, after doing pip install openai (which reports back that openai is installed correctly)
I reviewed many online resources, but all assume that “import openai” works. Such as
the official one from OpenAI:
The basic solution was to make things consistent, as was suggested. I did 'conda install jupyter" because I was using another version of jupyter (which jupyter). Then I obtained an error in authorization, so I went with the traceback suggestion of
openai.api_key = "key"
# openai.api_key = os.getenv("key")
Now I am getting useful Json. Now to parse it for something meaningful.