Code not working

this showing while writting first ai code

Hi @skr.tcollege

Please make sure that :

  1. You are using the API key from the bolt training website.
  2. You have installed the boltiotai library and imported it in the code. If not you can install the library by running this command in the python shell : pip install boltiotai
    Then write the import statement in the first line of your code: from boltiotai import openai

We have updated the code in the training content. You can check the updated code for custom recipe generator in Module 2: Working code- custom recipe generator.

Do try this and let us know. If you still face any issues, please feel free to get back to us