Output glitching

Hi I hope you can help me because I’m running into some problems my output is not running and is showing “missing required secrets click here to add them “ note I’m new to this area of education so please take a good look in to this.
problem thanks and have a good day.

Directly jumping into your problem,
Go to home page of your logged in account of the website Search for API key
Generate your key and copy it to the clipboard[you cannot see your key again but can generate a new one] Now, open your code and for simplicity when it shows “missing required secrets click here to add them” click on it
Save the key you copied to OPENAI API KEY .This secret is kinda password Run your code.
Hope you got it

Hi @hpravi.kan

The issue you are getting is because you have not entered the API key in your project. To solve this kindly go to trainings.boltiot.com/ApiUsage and click of generate API Key. Copy that API key and paste it in the Secrets Tab in Replit.

Once you have done this, make sure that you have installed the boltiot ai library. To install and use the library kindly follow this steps.

  1. Go to the Shell tab in repl and paste this command: pip install boltiotai
  2. Import this statement in the first line of your code: from boltiotai install openai

Once you have completed all these steps, Run your code. If you still face any issue, please feel free to get back to us.