The course Building Applications with Vector Databases throws an error when we try to run the follow along code


this is not working please fix it though i got the idea of the topic but i would still love to implement it i think its some api related issue, pinecone api. Please do the necessary updates.

1 Like

Hi @pixelartist

The error you get is related to Pinecone’s API and SDK version. This happens in certain versions of the pinecone-client SDK when your Pinecone project currently has zero indexes. Instead of returning an empty list, the API/SDK returns None for the indexes field, and the SDK’s __iter__ method doesn’t guard against that — so iterating over it blows up.

We’ll be working along the Pinecone team to double check for updates (content) in the meanwhile, we encourage learners to also test the notebooks locally, making sure to install what is needed (detailed in the requirements.txt, including using their APIs).

We’ll have announcements about new short courses and updates soon!

Happy learning! - Lesly, DLAI

1 Like

Thank you.

1 Like