sir so i opened gpt python 3.5 turbo and the default code came , then I added my api key in the secrets section and then I run the program but this error came which is given below
authentication error : ’ message’ : Incorrect API key provided : My API key from boltiotai. You can find your API key at “https://platform.openai.com/api-keys” ,
type:" invalid_request_error" , “param”:None,‘code’:'invalid_api_key
;
Please do the following steps to resolve the issue
In your REPL, click on the “shell” tab and run the following command to install the library
pip install boltiotai
Next in your code, change the following the first line import openai
to
from boltiotai import openai
Then the RUN the code again.
i had the issue, check whether the boltiotai library is installed
or run the command
“pip install boltiotai”
correct the code if necessary
run it again