Could you share a screenshot about the issue you are talking about. You can share codes image for this assignment here in case it is not part of any grading assignment. Also by your comments seems like you are writing codes in your local jupyter notebook, so you need to understand the video shows the codes exactly as you wrote but still don’t have access to the utils file or metadata files for you to run the codes.
Notice that Index Name = which is created from utils from dl_ai API key, that you didn’t have and which was created using openai API key, so it throws this error.
Either you need to find the utils/metadata file for codes you are writing, or write your metadata for codes to work in your local jupyter notebook. If you can find any GitHub link to the particular codes you are mentioning you should be able to get the required/metadata files.
Thanks for your response. I am not sure if I was clear here. Currently I am doing this course in the browser:
Please see a screen shot where it shows that my code is the same is the lecturer. Perhaps that make the error message clear.
RE.: “Notice that Index Name = which is created from utils from dl_ai API key, that you didn’t have and which was created using openai API key” => are you saying I should have an open API key first? But nowhere in the video does that say?
in the environment provided by Deep learning.ai and coursera??
or your local Jupyter notebook?
because your image does show you are running the Lesson 2 in your local Jupyter environment.
If you are doing the course still, you need to run in the same environment provided by the course platform and not download the assignment and then run on local Jupyter.
Although the post creator had issue with Lesson_2_Retrieval Augmented Generation related to the pinecone index error, I had same error for Lesson_1 Semantic Search.
So I guess this is error needs attention from the QA team as it mentions issue is related to openai data missing
I will be honest about this Rahul, short courses don’t actually allow learners access to GitHub repo or metadata file. So if you ask me honestly about addressing API issue locally for learners, they might provide you information about how to get the API but not provide you dlai api keys.
I am tagging Staff, so he checks your response.
@Mubsi can you confirm on the learner’s issue here please. Thank you.