#Week#2
Building-applications-vector-databases/lesson/2/semantic-search
There is a library or package in code named
“from DLAIUtils import Utils” but when I run it the error shows there is no module named DLAIUtils even i have added "pip install DLAIUtils that also shows error. Kindly assist me in this regard.
Hi @syedatahreem_111 ,
There is no need to do the pip install. All the files required for the lab can be found in the file directory. You can take a look by clicking the ‘file’ tab on the menu bar. To make sure all the libraries and packages are loaded, please run cell from start, especially if your notebook has been inactive for a period of time.
Thanks I figured it out. But I got into another problem now. It’s showing error to one of the codelines in my Google colab notebook but the same runs fine in the downloaded file from the course. I have even downloaded the required files and uploaded them in my notebook. How to figure out this issue ?
Please post an image that shows the error messages.
Did not ask to see your code, that is not allowed. Only the error messages.
Hopefully a mentor for this course will reply soon.
I have not received the reply yet?
I will see whether this course has a mentor assigned.
Ok waiting for your reply.
The mentor for this course is out of the office currently.
They will contact you once they return.
Hi Mubsi. Based on the attachments, this looks like a question for a short course.
Based on the image you shared, the code runs into an error because there’s no API key provided.
Please know, that the DLAI platform uses Pinecone API which helps in running the notebooks. That API key is not shared with the learners. So when you download the notebooks from the platform and try to run them, the notebook looks for the API key which it can’t find. You need to get your own API key and adjust the code accordingly in order for the notebooks to work outside of the DLAI platform.
Best,
Mubsi