The following error is preventing from running exercise 5 from RAG class on the Deep Leearning AI site. Please note the error occurs when I try to run the second import cell in the C1M5_Assignment.ipynb file. Please advise how to remedy this problem. I really would like to complete this class as soon as possible.
just heads up, as there was some issues with the labs in this course, before you start, always try to Restore original version, so you are making sure to working updated notebook.
Let me know if you are still encountering the error.
Also kindly wait, as I know why this error is happening, I am just going to file a big report as other learners have also reported this error. I thought earlier the indentation (extra! space) between import and ( is being done by learners, but I just checked the file has this extra space from beginning. For you, you just need to remove that extra space and re-run the cell to resolve that error.
Let me know if the error still exist, the post the screenshot of that import cell too for me to cross check
The problem is that the function get_phoenix_endpoint is NOT present in the utils.py file.
Just define:
def get_phoenix_endpoint():
return “http://localhost:6006/”
In a cell, and it will work
I know, but without that function the tracer won’t be set and the lab can’t be completed at all
An alternative can be adding it to the utils.py file of course
Thank you @ShinDav i think this issue must have raised because staff updated the model version, and must caused conflict with endpoints. I will inform this to staff.
Honestly I didn’t encounter any such error, when I re-did the course around 2025 christmas time.
I restored all of the files for the graded exercise for module 5 (after I made code changes to the original version). Problem was resolved but I had to redo some of my work. Please close this case.