Is it possible to execute these course notebooks locally using a free-tier Pinecone account?

Perhaps I have already made a fatal mistake: when I created my pinecone account, i opted for a “pod based” account because the offer of “$100 dollars of free serverless credits” seemed to indicate that going that (serverless) route would involve a credit card, which I am not willing to commit to at this time.

In any case, I have an api key, but when i execute the following line, i get a TypeError error:

----> 2 INDEX_NAME = utils.create_dlai_index_name(‘dl-ai’)

can anyone clue me in?

Hi @glotrec, I believe it depends on the project. I’ve successfully run some of the projects locally using the free pinecone (pod) API key. But to work on the facial recognition project, we need to use pinecone serverless and that’s not provided with the free account. I’ve given my credit card info, trusting that the $100 isn’t going to be used up completely by minimal usage for experimentation purposes. When i’m done playing and when I get close to the $100 usage, I’ll disable my serverless pinecone key and stop using it.

1 Like

thanks very much. very helpful!

Hi @kwiseth, @glotrec I got the Pinecone API for free, but I think I am having issue with the INDEX_NAME variable which is getting generated from the Openai API Key. Can you guys kindly help me how you got that Key?

@Saptarshi98 , which lesson are you working with? What specific issue are you seeing in your notebook? If you are working on the facial similarity notebook, the “free” API key won’t let you create the index. Lesson 5: Facial Similarity Search requires a Pinecone serverless API key, which requires us to provide credit-card information in order to obtain a $100 usage allowance.

[Sidenote: I’ve used about $0.03 (3 US cents, aka, pennies) of that allowance ‘playing around,’ so in my opinion, Pinecone’s allowance is generous to learners. I just learned that this allowance will expire in June so I still have a few months to play, and since it expires, I won’t worry about an API key account floating around and possibly having charges against my credit card, FWIW. ]

Hope this helps, but please be specific about which lesson you are trying to work with and more about the specific issue. Thanks!


Thanks! I’ve given up on Pinecone and moved on to Weaviate which seems to have a more open source approach to their usage tiers. So far, I am much happier with them.

1 Like

Hey @kwiseth,
Thanks for clarifying. I was working to replicate the very first Semantic Search project on my local.
However, I generated the podspec api from pinecone which is the free one but I am not able to figure out how can I get one free openai api key.
I think both are needed to run the project seemlessly!

1 Like

@Saptarshi98 , The OpenAI APIs are handled in the API section of OpenAI. You need to have a login account (but it’s free). See the OpenAI Developer quickstart for step-by-step guidance on getting an API key. The Developer quickstart includes links to create an OpenAI account.

1 Like

Thank you @kwiseth . Got it