I keep getting this error when trying to import openai in vs code (code segment is below)
import os
import openai
import config
openai.api_key = config.api_key
I keep getting this error when trying to import openai in vs code (code segment is below)
import os
import openai
import config
openai.api_key = config.api_key
can anyone please help?
You should be able to get up and running pretty quickly by going though this: GitHub - openai/openai-quickstart-python: Python example app from the OpenAI API quickstart tutorial
You can find more information here: OpenAI API
thanks, it helped. An i was able to get my ouput
Great! Hope you enjoy using GPT-3!