+ 2
What is the error in this gpt code?
Code problem https://code.sololearn.com/cF1Bg2SCRJr0/?ref=app
3 Réponses
+ 7
What are you trying to do here?
Checking the openai documentation would be a good start for you.
https://platform.openai.com/docs/api-reference/introduction?lang=JUMP_LINK__&&__python__&&__JUMP_LINK
To use this service you need an API key which you should keep secret. For this reason I recommend to not post such code on Sololearn because you cannot guarantee the privacy of your API key.
And it will not work on Sololearn anyway because the relevant libraries are not installed in the Python playground.
+ 2
Thank you so much for your answer
0
You need an openAI key to run your ChatGPT. You can get it from https://platform.openAI.com