scriptit-fr/ChatGPTApp

Doesn't work for me...

Closed this issue · 5 comments

tas509 commented
Chat_GPT_Demo_-_Project_Editor_-_Apps_Script

I made an openai key, added this code and got this...

Any ideas?

tas509 commented

Execution log
11:46:14 AM Notice Execution started
11:46:14 AM Error Request failed with response code 401
11:46:14 AM Error Failed to fetch the URL after 5 attempts
11:46:14 AM Info request failed
11:46:14 AM Notice Execution completed

Hi,

Be careful, you use:
ChatGPTApp.setGoogleSearchAPIKey()
Instead of :
ChatGPTApp.setOpenAIAPIKey()

tas509 commented

[FACE PALM] ... sorry!

Thanks we will add fail safes to better warn the user in case of a misconfiguration

We added error messages to warn users if a misconfiguration is detected