# Vector Databases: from Embeddings to Applications

**URL:** https://community.deeplearning.ai/c/short-course-q-a/vector-databases-from-embeddings-to-applications/390.md

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

---

## [HTTPError in Code](https://community.deeplearning.ai/t/httperror-in-code/891850)

<div class="topic-metadata">

**Author:** [@Rishabh\_Shroff](https://community.deeplearning.ai/u/Rishabh_Shroff)\
**Replies:** 1\
**Last updated:** [July 6, 2026, 9:08pm UTC](https://community.deeplearning.ai/t/httperror-in-code/891850 "2026-07-06T21:08:42Z")

</div>

I am getting the following error when I run my jupyter notebook for Multilingual Search Code: HTTPError Traceback (most recent call last) File /usr/local/lib/python3.9/site-packages/weav…

---

## [Relationship between Propagation (forward and backward) and derivatives in the code](https://community.deeplearning.ai/t/relationship-between-propagation-forward-and-backward-and-derivatives-in-the-code/891360)

<div class="topic-metadata">

**Author:** [@Niranj\_Kumar](https://community.deeplearning.ai/u/Niranj_Kumar)\
**Replies:** 2\
**Last updated:** [April 9, 2026, 3:25pm UTC](https://community.deeplearning.ai/t/relationship-between-propagation-forward-and-backward-and-derivatives-in-the-code/891360 "2026-04-09T15:25:45Z")

</div>

So, based on the 1st required assignment for the first course (Neural Networks and Deep Learning), I’m attempting to put the pieces together. When writing the code, I have to use derivatives (calculus-based) in the prop…

---

## [Error while running pinecode](https://community.deeplearning.ai/t/error-while-running-pinecode/881971)

<div class="topic-metadata">

**Author:** [@bharath\_p1](https://community.deeplearning.ai/u/bharath_p1)\
**Replies:** 0\
**Last updated:** [October 22, 2025, 7:28pm UTC](https://community.deeplearning.ai/t/error-while-running-pinecode/881971 "2025-10-22T19:28:58Z")

</div>

Error with pinecode api call . Getting below error for list\_indexes() {‘error’: 'Access control denied: Principal missing permission: ’ ‘control::index::list’}

---

## [Some cells are failing in \`L6\_Multilingual\_RAG\_Search\`](https://community.deeplearning.ai/t/some-cells-are-failing-in-l6-multilingual-rag-search/778408)

<div class="topic-metadata">

**Author:** [@Elemento](https://community.deeplearning.ai/u/Elemento)\
**Replies:** 1\
**Last updated:** [August 16, 2025, 4:31am UTC](https://community.deeplearning.ai/t/some-cells-are-failing-in-l6-multilingual-rag-search/778408 "2025-08-16T04:31:22Z")

</div>

Hi Team, I am facing issues in Lesson 6 of this course, where almost half of the cells are failing inside the notebook. I have quoted some instances as follows: print(json.dumps(client.query.aggregate("Wikipedia").with…

---

## [Semantic / AI EAI Platform](https://community.deeplearning.ai/t/semantic-ai-eai-platform/866409)

<div class="topic-metadata">

**Author:** [@sebxama](https://community.deeplearning.ai/u/sebxama)\
**Replies:** 0\
**Last updated:** [August 4, 2025, 1:17pm UTC](https://community.deeplearning.ai/t/semantic-ai-eai-platform/866409 "2025-08-04T13:17:05Z")

</div>

Hi. I’d like to share some thoughts regarding what could be a Semantic / AI enabled Business Integration / Enterprise Application Integration platform. I’m currently looking for advice on the frameworks, techniques and p…

---

## [Trouble with OpenAI API key](https://community.deeplearning.ai/t/trouble-with-openai-api-key/865899)

<div class="topic-metadata">

**Author:** [@notsodeeplearner1](https://community.deeplearning.ai/u/notsodeeplearner1)\
**Replies:** 2\
**Last updated:** [August 3, 2025, 7:00pm UTC](https://community.deeplearning.ai/t/trouble-with-openai-api-key/865899 "2025-08-03T19:00:45Z")

</div>

I’ve entered the api key but in the preview screen in the L4\_Objects\_Vectors screen it says I’ve reached my quota limit. However, on OpenAI it shows zero usage.

---

## [ValueError: A KerasTensor cannot be used as input to a TensorFlow function](https://community.deeplearning.ai/t/valueerror-a-kerastensor-cannot-be-used-as-input-to-a-tensorflow-function/784698)

<div class="topic-metadata">

**Author:** [@volodymyr.trush](https://community.deeplearning.ai/u/volodymyr.trush)\
**Replies:** 4\
**Last updated:** [March 18, 2025, 9:27am UTC](https://community.deeplearning.ai/t/valueerror-a-kerastensor-cannot-be-used-as-input-to-a-tensorflow-function/784698 "2025-03-18T09:27:44Z")

</div>

While running this code from example: variational autoencoder (VAE) - to reconstruction input reconstruction\_loss = losses.binary\_crossentropy(inputs\_flat, outputs\_flat) \* x\_tr\_flat.shape\[1\] #kl\_loss = Lambda(lambda x…

---

## [Lesson 4: what is the OpenAI-BaseURL?](https://community.deeplearning.ai/t/lesson-4-what-is-the-openai-baseurl/581056)

<div class="topic-metadata">

**Author:** [@glotrec](https://community.deeplearning.ai/u/glotrec)\
**Replies:** 4\
**Last updated:** [March 14, 2025, 3:19am UTC](https://community.deeplearning.ai/t/lesson-4-what-is-the-openai-baseurl/581056 "2025-03-14T03:19:02Z")

</div>

In lesson 4, the code calls for an environmental variable called “X-OpenAI-BaseURL”: os.environ\[‘OPENAI\_API\_BASE’\] Within the course on the DeepLearning page, the value is: ‘http://jupyter-api-proxy.internal.dlai/rev-…

---

## [Parts of the Code does not run. LESSON 1](https://community.deeplearning.ai/t/parts-of-the-code-does-not-run-lesson-1/735121)

<div class="topic-metadata">

**Author:** [@Jaime4](https://community.deeplearning.ai/u/Jaime4)\
**Replies:** 9\
**Last updated:** [March 13, 2025, 10:22am UTC](https://community.deeplearning.ai/t/parts-of-the-code-does-not-run-lesson-1/735121 "2025-03-13T10:22:53Z")

</div>

Parts of the Code does not run. Phyton said that apparently versions of tensorflow and keras do not match for this example.

---

## [Which data field is the vector crated from](https://community.deeplearning.ai/t/which-data-field-is-the-vector-crated-from/538193)

<div class="topic-metadata">

**Author:** [@llm\_is\_my\_world](https://community.deeplearning.ai/u/llm_is_my_world)\
**Replies:** 1\
**Last updated:** [March 1, 2025, 12:58pm UTC](https://community.deeplearning.ai/t/which-data-field-is-the-vector-crated-from/538193 "2025-03-01T12:58:12Z")

</div>

In the chapter “Vector Databases”, it wasn’t very clear as to which specific data field was sent to the embedding model to create the vector. We have 3 fields - Category, Question, and Answer. Is the vector generated fro…

---

## [Approximate Nearest Neighbors - functions not defined](https://community.deeplearning.ai/t/approximate-nearest-neighbors-functions-not-defined/552552)

<div class="topic-metadata">

**Author:** [@thickey](https://community.deeplearning.ai/u/thickey)\
**Replies:** 1\
**Last updated:** [October 2, 2024, 8:23pm UTC](https://community.deeplearning.ai/t/approximate-nearest-neighbors-functions-not-defined/552552 "2024-10-02T20:23:39Z")

</div>

In lesson 3, I am getting a not defined error for the following functions: nearest\_neigbor, construct\_HNSW, and search\_HNSW. Where are these functions defined? Do I perhaps have an incorrect library version? Thanks for y…

---

## [Cosine Similarity](https://community.deeplearning.ai/t/cosine-similarity/606183)

<div class="topic-metadata">

**Author:** [@Mike-11](https://community.deeplearning.ai/u/Mike-11)\
**Replies:** 4\
**Last updated:** [April 8, 2024, 9:00am UTC](https://community.deeplearning.ai/t/cosine-similarity/606183 "2024-04-08T09:00:44Z")

</div>

Hey everyone, How does he come to the conclusion that a lower value is better as for cosine similarity a bigger value is more similar? Thnks, best Mike

---

## [Wiki.csv in Vector DB course](https://community.deeplearning.ai/t/wiki-csv-in-vector-db-course/579529)

<div class="topic-metadata">

**Author:** [@apadki27](https://community.deeplearning.ai/u/apadki27)\
**Replies:** 0\
**Last updated:** [February 27, 2024, 3:27pm UTC](https://community.deeplearning.ai/t/wiki-csv-in-vector-db-course/579529 "2024-02-27T15:27:08Z")

</div>

Hello, I am trying to find out how the values in wiki.csv are generated, I assume these are vectors are they generated in the same way as in the first lesson. Aby

---

## [Where is the weaviate module?](https://community.deeplearning.ai/t/where-is-the-weaviate-module/572297)

<div class="topic-metadata">

**Author:** [@glotrec](https://community.deeplearning.ai/u/glotrec)\
**Replies:** 0\
**Last updated:** [February 15, 2024, 8:10pm UTC](https://community.deeplearning.ai/t/where-is-the-weaviate-module/572297 "2024-02-15T20:10:18Z")

</div>

I cannot install locally either through conda or pip. Any suggestions?

---

## [Course Notes](https://community.deeplearning.ai/t/course-notes/528076)

<div class="topic-metadata">

**Author:** [@aimlgyani](https://community.deeplearning.ai/u/aimlgyani)\
**Replies:** 5\
**Last updated:** [December 29, 2023, 1:14am UTC](https://community.deeplearning.ai/t/course-notes/528076 "2023-12-29T01:14:42Z")

</div>

Are there course notes available to download for this short course/s?

---

## [What factors influence the embedding values](https://community.deeplearning.ai/t/what-factors-influence-the-embedding-values/510013)

<div class="topic-metadata">

**Author:** [@sanjay\_DL](https://community.deeplearning.ai/u/sanjay_DL)\
**Replies:** 0\
**Last updated:** [December 3, 2023, 7:46pm UTC](https://community.deeplearning.ai/t/what-factors-influence-the-embedding-values/510013 "2023-12-03T19:46:40Z")

</div>

I am working on the first exercise of the course “Vector Databases: from Embeddings to Applications”. The calculated embedding values differ from what I see in the lesson. For example, when I execute the code inside the …

---

## [Looking for the (ed) resources](https://community.deeplearning.ai/t/looking-for-the-ed-resources/497015)

<div class="topic-metadata">

**Author:** [@AlexisPerrier](https://community.deeplearning.ai/u/AlexisPerrier)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 10:52am UTC](https://community.deeplearning.ai/t/looking-for-the-ed-resources/497015 "2023-11-17T10:52:42Z")

</div>

Hello, In lesson 4 of this course there’s an from utils import \* I was wondering of the notebook code and that utils files is available somewhere ? Thanks

---

## [In Lesson 1, Jupyter Notebook Cell 3, why are we flattening each image into one single vector?](https://community.deeplearning.ai/t/in-lesson-1-jupyter-notebook-cell-3-why-are-we-flattening-each-image-into-one-single-vector/495445)

<div class="topic-metadata">

**Author:** [@Govarthenan\_Rajadura](https://community.deeplearning.ai/u/Govarthenan_Rajadura)\
**Replies:** 4\
**Last updated:** [November 15, 2023, 6:17pm UTC](https://community.deeplearning.ai/t/in-lesson-1-jupyter-notebook-cell-3-why-are-we-flattening-each-image-into-one-single-vector/495445 "2023-11-15T18:17:30Z")

</div>

Matrices x\_tr and y\_tr all have the shape of (60000, 28, 28), which means: There are 60000 images. Each image has 28 rows. Each row has 28 pixels, which represent an intensity from 0 to 255 So in Cell 3… #Normalize and…

---

## [I loved the course. Any advice on exploring multimodal approaches?](https://community.deeplearning.ai/t/i-loved-the-course-any-advice-on-exploring-multimodal-approaches/490183)

<div class="topic-metadata">

**Author:** [@AldoTnc](https://community.deeplearning.ai/u/AldoTnc)\
**Replies:** 0\
**Last updated:** [November 9, 2023, 1:21pm UTC](https://community.deeplearning.ai/t/i-loved-the-course-any-advice-on-exploring-multimodal-approaches/490183 "2023-11-09T13:21:20Z")

</div>

I am working on an interesting project requiring embedding of very specialized musical pedagogy and historical analysis. Essentially I am aiming at a system which will provide quotes from various sources where the promp…
