# Building Applications with Vector Databases

**URL:** https://community.deeplearning.ai/c/short-course-q-a/building-applications-with-vector-databases/424.md

[Latest](https://community.deeplearning.ai/latest.md) · [Categories](https://community.deeplearning.ai/categories.md) · [Tags](https://community.deeplearning.ai/tags.md)

---

## [The course Building Applications with Vector Databases throws an error when we try to run the follow along code](https://community.deeplearning.ai/t/the-course-building-applications-with-vector-databases-throws-an-error-when-we-try-to-run-the-follow-along-code/893122)

<div class="topic-metadata">

**Author:** [@pixelartist](https://community.deeplearning.ai/u/pixelartist)\
**Replies:** 2\
**Last updated:** [July 2, 2026, 12:55am UTC](https://community.deeplearning.ai/t/the-course-building-applications-with-vector-databases-throws-an-error-when-we-try-to-run-the-follow-along-code/893122 "2026-07-02T00:55:57Z")

</div>

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.

---

## [Lesson 1 - Semantic Search:TypeError: 'NoneType' object is not iterable](https://community.deeplearning.ai/t/lesson-1-semantic-search-nonetype-object-is-not-iterable/824318)

<div class="topic-metadata">

**Author:** [@Shengxin\_Huang](https://community.deeplearning.ai/u/Shengxin_Huang)\
**Replies:** 7\
**Last updated:** [September 29, 2025, 7:15am UTC](https://community.deeplearning.ai/t/lesson-1-semantic-search-nonetype-object-is-not-iterable/824318 "2025-09-29T07:15:24Z")

</div>

Anyone runs into the same error as me do?if INDEX\_NAME in \[index.name for index in pinecone.list\_indexes()\] get an error 'NoneType' object is not iterable \` pinecone = Pinecone(api\_key=PINECONE\_API\_KEY) INDEX\_NAME = u…

---

## [TypeError: IndexModel.\_from\_openapi\_data() missing 5 required positional arguments: 'name', 'dimension', 'metric', 'host', and 'spec'](https://community.deeplearning.ai/t/typeerror-indexmodel-from-openapi-data-missing-5-required-positional-arguments-name-dimension-metric-host-and-spec/614014)

<div class="topic-metadata">

**Author:** [@naveen73](https://community.deeplearning.ai/u/naveen73)\
**Replies:** 38\
**Last updated:** [September 13, 2025, 10:57pm UTC](https://community.deeplearning.ai/t/typeerror-indexmodel-from-openapi-data-missing-5-required-positional-arguments-name-dimension-metric-host-and-spec/614014 "2025-09-13T22:57:38Z")

</div>

Hi, I am in the first week and getting the following error message: TypeError: IndexModel.\_from\_openapi\_data() missing 5 required positional arguments: ‘name’, ‘dimension’, ‘metric’, ‘host’, and ‘spec’ What does this …

---

## [IndexModel.\_from\_openapi\_data() missing 5 required positional arguments: 'name', 'dimension', 'metric', 'host', and 'spec'](https://community.deeplearning.ai/t/indexmodel-from-openapi-data-missing-5-required-positional-arguments-name-dimension-metric-host-and-spec/790076)

<div class="topic-metadata">

**Author:** [@summer20](https://community.deeplearning.ai/u/summer20)\
**Replies:** 0\
**Last updated:** [March 24, 2025, 2:14am UTC](https://community.deeplearning.ai/t/indexmodel-from-openapi-data-missing-5-required-positional-arguments-name-dimension-metric-host-and-spec/790076 "2025-03-24T02:14:43Z")

</div>

I am running the notebook within the deeplearning.ai environment. Getting this error message: TypeError: IndexModel.\_from\_openapi\_data() missing 5 required positional arguments: ‘name’, ‘dimension’, ‘metric’, ‘host’, an…

---

## [No subtitle?](https://community.deeplearning.ai/t/no-subtitle/748362)

<div class="topic-metadata">

**Author:** [@ascendho](https://community.deeplearning.ai/u/ascendho)\
**Replies:** 0\
**Last updated:** [January 8, 2025, 12:32pm UTC](https://community.deeplearning.ai/t/no-subtitle/748362 "2025-01-08T12:32:37Z")

</div>

Does this course not provide corresponding English subtitles? My native language is not English, so it would be a bit difficult for me without subtitles!

---

## [Lesson\_2\_Retrieval\_Augmented\_Generation](https://community.deeplearning.ai/t/lesson-2-retrieval-augmented-generation/732814)

<div class="topic-metadata">

**Author:** [@Abdul\_Rahman3](https://community.deeplearning.ai/u/Abdul_Rahman3)\
**Replies:** 0\
**Last updated:** [December 8, 2024, 4:05pm UTC](https://community.deeplearning.ai/t/lesson-2-retrieval-augmented-generation/732814 "2024-12-08T16:05:10Z")

</div>

Running this code, when I check the len(text) i get it equal to 10, when I change top\_k = 12 , I still get the len(text) equal to 10. What’s wrong?

---

## [Section 2 code errors](https://community.deeplearning.ai/t/section-2-code-errors/706029)

<div class="topic-metadata">

**Author:** [@kbwillia](https://community.deeplearning.ai/u/kbwillia)\
**Replies:** 0\
**Last updated:** [October 10, 2024, 2:05am UTC](https://community.deeplearning.ai/t/section-2-code-errors/706029 "2024-10-10T02:05:10Z")

</div>

Code below did not work for section 2: !wget -q -O lesson2-wiki.csv.zip “Dropbox” !unzip lesson2-wiki.csv.zip I manually downloaded it from dropbox, but the formatting was completely off. Anyone else change the code fo…

---

## [Erorr in openai module for required version](https://community.deeplearning.ai/t/erorr-in-openai-module-for-required-version/705919)

<div class="topic-metadata">

**Author:** [@kbwillia](https://community.deeplearning.ai/u/kbwillia)\
**Replies:** 0\
**Last updated:** [October 9, 2024, 8:21pm UTC](https://community.deeplearning.ai/t/erorr-in-openai-module-for-required-version/705919 "2024-10-09T20:21:58Z")

</div>

I have the version that is labeled installed from the requirements.txt file as 0.28.1 and my code imports: from openai import OpenAI it doesn’t recognize class “OpenAI”, thus none of the code involving openAI works…

---

## [What is DLAIUtils?](https://community.deeplearning.ai/t/what-is-dlaiutils/562660)

<div class="topic-metadata">

**Author:** [@subodhgupta](https://community.deeplearning.ai/u/subodhgupta)\
**Replies:** 5\
**Last updated:** [August 23, 2024, 12:11pm UTC](https://community.deeplearning.ai/t/what-is-dlaiutils/562660 "2024-08-23T12:11:53Z")

</div>

I’m trying to do the course Building Applications with Vector Databases and there is from DLAIUtils import Utils, I can’t find what DLAIUtils is? No amount of googling seems to help. Subodh.

---

## [How do we download all data files in the folder - Facial Similarity Search](https://community.deeplearning.ai/t/how-do-we-download-all-data-files-in-the-folder-facial-similarity-search/678630)

<div class="topic-metadata">

**Author:** [@vsrinivas](https://community.deeplearning.ai/u/vsrinivas)\
**Replies:** 8\
**Last updated:** [August 16, 2024, 12:20pm UTC](https://community.deeplearning.ai/t/how-do-we-download-all-data-files-in-the-folder-facial-similarity-search/678630 "2024-08-16T12:20:13Z")

</div>

Can someone help with how I can download the data folder containing the subfolders and images of mom, dad and child in this course. Thanks

---

## [Why mismatch between number of data points and number of vectors created?](https://community.deeplearning.ai/t/why-mismatch-between-number-of-data-points-and-number-of-vectors-created/677709)

<div class="topic-metadata">

**Author:** [@vsrinivas](https://community.deeplearning.ai/u/vsrinivas)\
**Replies:** 0\
**Last updated:** [August 14, 2024, 9:24am UTC](https://community.deeplearning.ai/t/why-mismatch-between-number-of-data-points-and-number-of-vectors-created/677709 "2024-08-14T09:24:46Z")

</div>

In the lesson-3 Recommender Systems, in the default practise notebook we use a dataset of 100 observations from.csv file (nrows=100) for creating embedding vectors of df\['article'\] and storing in PineconeVDB. Why is that…

---

## [Fashion Item Recommender](https://community.deeplearning.ai/t/fashion-item-recommender/678224)

<div class="topic-metadata">

**Author:** [@vsrinivas](https://community.deeplearning.ai/u/vsrinivas)\
**Replies:** 0\
**Last updated:** [August 15, 2024, 10:53am UTC](https://community.deeplearning.ai/t/fashion-item-recommender/678224 "2024-08-15T10:53:45Z")

</div>

Hi, I have created this space for searching your favourite fashion item. Please checkout my \[Fashion Item Recommender\] (Fashion Item Recommender - a Hugging Face Space by vsrinivas) and offer your valuable feedback.

---

## [Why do we use OpenAI key?](https://community.deeplearning.ai/t/why-do-we-use-openai-key/676316)

<div class="topic-metadata">

**Author:** [@vsrinivas](https://community.deeplearning.ai/u/vsrinivas)\
**Replies:** 20\
**Last updated:** [August 12, 2024, 2:47pm UTC](https://community.deeplearning.ai/t/why-do-we-use-openai-key/676316 "2024-08-12T14:47:48Z")

</div>

In this course, in the first lesson, ‘Semantic Search’, we are using OpenAI Key. As I understand from code, it is just to get the last few string characters to be assigned as Index. That is the only purpose. Please clari…

---

## [An issue in the coding part in a course](https://community.deeplearning.ai/t/an-issue-in-the-coding-part-in-a-course/666854)

<div class="topic-metadata">

**Author:** [@syedatahreem\_111](https://community.deeplearning.ai/u/syedatahreem_111)\
**Replies:** 12\
**Last updated:** [August 5, 2024, 5:12am UTC](https://community.deeplearning.ai/t/an-issue-in-the-coding-part-in-a-course/666854 "2024-08-05T05:12:01Z")

</div>

\#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 ev…

---

## [Building Applications with Vector Databases under maintanance](https://community.deeplearning.ai/t/building-applications-with-vector-databases-under-maintanance/624301)

<div class="topic-metadata">

**Author:** [@jpotwor](https://community.deeplearning.ai/u/jpotwor)\
**Replies:** 1\
**Last updated:** [May 12, 2024, 9:50am UTC](https://community.deeplearning.ai/t/building-applications-with-vector-databases-under-maintanance/624301 "2024-05-12T09:50:21Z")

</div>

Hi :slight\_smile: Wanted to start the course with Tim Tully but it seems to be under maintanance since at least two days. Does any one know when it is expected to work? Best Jan

---

## [Error in notebook. Course: "Building Applications with Vector Databases" Lesson 1 - Semantic Search](https://community.deeplearning.ai/t/error-in-notebook-course-building-applications-with-vector-databases-lesson-1-semantic-search/621462)

<div class="topic-metadata">

**Author:** [@sanjay\_DL](https://community.deeplearning.ai/u/sanjay_DL)\
**Replies:** 1\
**Last updated:** [May 4, 2024, 3:54pm UTC](https://community.deeplearning.ai/t/error-in-notebook-course-building-applications-with-vector-databases-lesson-1-semantic-search/621462 "2024-05-04T15:54:34Z")

</div>

Getting error while executing this part of the code in the notebook: pinecone.create\_index(name=INDEX\_NAME, dimension=model.get\_sentence\_embedding\_dimension(), metric=‘cosine’, spec=ServerlessSpec(cloud=‘aws’, region…

---

## [Lesson 3 - Recommender Systems - can't embed vectors into Pinecone](https://community.deeplearning.ai/t/lesson-3-recommender-systems-cant-embed-vectors-into-pinecone/582468)

<div class="topic-metadata">

**Author:** [@Kirit\_Sarvaiya](https://community.deeplearning.ai/u/Kirit_Sarvaiya)\
**Replies:** 0\
**Last updated:** [March 3, 2024, 3:30am UTC](https://community.deeplearning.ai/t/lesson-3-recommender-systems-cant-embed-vectors-into-pinecone/582468 "2024-03-03T03:30:02Z")

</div>

Seems to be an issue with getting Pinecone to work!

---

## [Is it possible to execute these course notebooks locally using a free-tier Pinecone account?](https://community.deeplearning.ai/t/is-it-possible-to-execute-these-course-notebooks-locally-using-a-free-tier-pinecone-account/571177)

<div class="topic-metadata">

**Author:** [@glotrec](https://community.deeplearning.ai/u/glotrec)\
**Replies:** 8\
**Last updated:** [March 3, 2024, 7:33am UTC](https://community.deeplearning.ai/t/is-it-possible-to-execute-these-course-notebooks-locally-using-a-free-tier-pinecone-account/571177 "2024-03-03T07:33:54Z")

</div>

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 (serve…

---

## [RAG - Can't upsert embeddings - Prepare the Embeddings and Upsert to Pinecone](https://community.deeplearning.ai/t/rag-cant-upsert-embeddings-prepare-the-embeddings-and-upsert-to-pinecone/582453)

<div class="topic-metadata">

**Author:** [@Kirit\_Sarvaiya](https://community.deeplearning.ai/u/Kirit_Sarvaiya)\
**Replies:** 1\
**Last updated:** [March 3, 2024, 2:49am UTC](https://community.deeplearning.ai/t/rag-cant-upsert-embeddings-prepare-the-embeddings-and-upsert-to-pinecone/582453 "2024-03-03T02:49:05Z")

</div>

Can’t get the Embeddings to Upsert to Pinecone. Total\_vector\_count comes back as 0, unlike in the video where it returns 10,000!

---

## [Pinecone - Lesson 1 - Semantic Search: Fails to Create Embeddings and Upsert to Pinecone](https://community.deeplearning.ai/t/pinecone-lesson-1-semantic-search-fails-to-create-embeddings-and-upsert-to-pinecone/582443)

<div class="topic-metadata">

**Author:** [@Kirit\_Sarvaiya](https://community.deeplearning.ai/u/Kirit_Sarvaiya)\
**Replies:** 1\
**Last updated:** [March 3, 2024, 2:25am UTC](https://community.deeplearning.ai/t/pinecone-lesson-1-semantic-search-fails-to-create-embeddings-and-upsert-to-pinecone/582443 "2024-03-03T02:25:43Z")

</div>

Followed along, executing the steps. On the step: Create Embeddings and Upsert to Pinecone It doesn’t create the 10,000 vectors as shown in the video. I get 0!

---

## [Installing requirements.txt causes numerous package dependency issues in collab](https://community.deeplearning.ai/t/installing-requirements-txt-causes-numerous-package-dependency-issues-in-collab/563404)

<div class="topic-metadata">

**Author:** [@bz57](https://community.deeplearning.ai/u/bz57)\
**Replies:** 3\
**Last updated:** [March 2, 2024, 8:00pm UTC](https://community.deeplearning.ai/t/installing-requirements-txt-causes-numerous-package-dependency-issues-in-collab/563404 "2024-03-02T20:00:45Z")

</div>

Tried to install the packages using “!pip install -r requirements.txt” from Google Collab and ended up with these errors (i have trimmed the top portion until the point of error): … … WARNING: requests 2.1.0 does not …

---

## [Lesson 3 lecture/video mismatch with notebook](https://community.deeplearning.ai/t/lesson-3-lecture-video-mismatch-with-notebook/578543)

<div class="topic-metadata">

**Author:** [@fatirmalikds](https://community.deeplearning.ai/u/fatirmalikds)\
**Replies:** 4\
**Last updated:** [March 1, 2024, 4:42pm UTC](https://community.deeplearning.ai/t/lesson-3-lecture-video-mismatch-with-notebook/578543 "2024-03-01T16:42:50Z")

</div>

I’m facing a problem with the lecture https://learn.deeplearning.ai/courses/building-applications-vector-databases/lesson/4/recommender-systems. The video of this lecture doesn’t belong to this lecture, however, the jup…

---

## [Using facial similarity search project with a different dataset](https://community.deeplearning.ai/t/using-facial-similarity-search-project-with-a-different-dataset/573368)

<div class="topic-metadata">

**Author:** [@kwiseth](https://community.deeplearning.ai/u/kwiseth)\
**Replies:** 0\
**Last updated:** [February 17, 2024, 8:03pm UTC](https://community.deeplearning.ai/t/using-facial-similarity-search-project-with-a-different-dataset/573368 "2024-02-17T20:03:37Z")

</div>

I really enjoyed Lesson 5 in this course. But one thing that bothered me about the demo was that Princess Diana died when she was younger than Prince William is now, and so I wondered if that might have caused the result…

---

## [What is the purpose of adding the openai key to the end of the index\_name in the create\_dlai\_index\_name() function?](https://community.deeplearning.ai/t/what-is-the-purpose-of-adding-the-openai-key-to-the-end-of-the-index-name-in-the-create-dlai-index-name-function/575231)

<div class="topic-metadata">

**Author:** [@0to1](https://community.deeplearning.ai/u/0to1)\
**Replies:** 1\
**Last updated:** [February 21, 2024, 4:31pm UTC](https://community.deeplearning.ai/t/what-is-the-purpose-of-adding-the-openai-key-to-the-end-of-the-index-name-in-the-create-dlai-index-name-function/575231 "2024-02-21T16:31:18Z")

</div>

In the DLAIUtils.py file (access by clicking the Jupyter icon in the notebook), we have the function below. What is the purpose of adding the OpenAI key to the end of our index\_name? def create\_dlai\_index\_name(self, in…

---

## [What is the point of search Anomaly detection lesson](https://community.deeplearning.ai/t/what-is-the-point-of-search-anomaly-detection-lesson/574999)

<div class="topic-metadata">

**Author:** [@Jing\_bot](https://community.deeplearning.ai/u/Jing_bot)\
**Replies:** 0\
**Last updated:** [February 20, 2024, 1:38pm UTC](https://community.deeplearning.ai/t/what-is-the-point-of-search-anomaly-detection-lesson/574999 "2024-02-20T13:38:31Z")

</div>

In the last session anomaly detection. We have created embeds and up-serted into the pinecone. What is the usage of search one log? Is it to find whether the log is anomaly? Why not just use the model to check the lo…

---

## [How to find "Families in the Wild" database? \[Lesson 5, facial similarity search example)](https://community.deeplearning.ai/t/how-to-find-families-in-the-wild-database-lesson-5-facial-similarity-search-example/573361)

<div class="topic-metadata">

**Author:** [@kwiseth](https://community.deeplearning.ai/u/kwiseth)\
**Replies:** 0\
**Last updated:** [February 17, 2024, 7:53pm UTC](https://community.deeplearning.ai/t/how-to-find-families-in-the-wild-database-lesson-5-facial-similarity-search-example/573361 "2024-02-17T19:53:18Z")

</div>

I went on a wild-goose chase looking for the “Families in the Wild’ dataset mentioned in the video for this course. I did find a paper entitled “Families in the Wild (FiW): Large-scale Kinship Image Database and Benchmar…

---

## [Are there any truly open source vector databases available for download locally?](https://community.deeplearning.ai/t/are-there-any-truly-open-source-vector-databases-available-for-download-locally/571669)

<div class="topic-metadata">

**Author:** [@glotrec](https://community.deeplearning.ai/u/glotrec)\
**Replies:** 6\
**Last updated:** [February 16, 2024, 11:08pm UTC](https://community.deeplearning.ai/t/are-there-any-truly-open-source-vector-databases-available-for-download-locally/571669 "2024-02-16T23:08:35Z")

</div>

the title pretty much says it all

---

## [Download the materials](https://community.deeplearning.ai/t/download-the-materials/568288)

<div class="topic-metadata">

**Author:** [@rieman](https://community.deeplearning.ai/u/rieman)\
**Replies:** 3\
**Last updated:** [February 9, 2024, 4:29pm UTC](https://community.deeplearning.ai/t/download-the-materials/568288 "2024-02-09T16:29:24Z")

</div>

Good Morning, I want to download teh material to run the code locally. i am not able to do it. Do you know how? usually i click on Jupyter and i have the possibility to dowload a zip file with all the sources. Thanks. …

---

## [Quick resource on how to use Pinecone](https://community.deeplearning.ai/t/quick-resource-on-how-to-use-pinecone/563419)

<div class="topic-metadata">

**Author:** [@chuaal](https://community.deeplearning.ai/u/chuaal)\
**Replies:** 0\
**Last updated:** [February 1, 2024, 7:21pm UTC](https://community.deeplearning.ai/t/quick-resource-on-how-to-use-pinecone/563419 "2024-02-01T19:21:58Z")

</div>

For those who want a very simple set of tutorials (6 of them in the playlist) on how to use Pinecone practically before watching this short course.
