Open sfxworks opened 2 years ago
After all this is done I can confirm it works :D
I did everything but still have the error
@Krasnomakov It does seem openai is installed but somehow it's not getting the value. Setting openai.api_key = "key"
worked for me, as did injecting via console like OPENAI_API_KEY=key python natbot.py
. What happens if you remove line 15 and run it. If that doesn't work, what happens if you revert to the original code for line 14 (and 15 still removed) and try running from console as above
On first run:
So, so far I know I need playwright, OpenAI
Then I need to run this to prepare
and I also need an API key