AI Python for Beginners: Error when building LLM prompts with variables

Hi All,
I’ve started the AI Python for Beginners, which is a great course.
The only problem is the error message when executing the tests in Jupyter Notebook.

ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 1
----> 1 from helper_functions import print_llm_response
2 print_llm_response(“What is the capital of France?”)

ModuleNotFoundError: No module named ‘helper_functions’

Has anybody run on a similar error message?

Thank you all.

Best Regards

Ottavio

Are you running this notebook locally?

Thanks for your response. That’s correct. Running locally in my machine.

You need those helper files found at File->Open and download them! Try to read them first to understand them.

2 Likes

Thanks for your response.
Could you please clarify those helper files? More than one? Download from where? What is the name of the file?

Your help is much appreciated. Thank you

Use the File tab and then the Open command.
This will give you a listing of all of the files.
You need to download all of them.

Thanks