generative-ai-for-beginners icon indicating copy to clipboard operation
generative-ai-for-beginners copied to clipboard

In Chapter 15 - Where its inserting data in cosmos database ?

Open Abhijitk914 opened this issue 1 year ago • 4 comments

Describe the bug I was trying to implement the example given in chapter 15 -> notebook-rag-vector-databases.ipynb

I can see we are connecting to cosmos database and container but at the end of the script no any data is getting inserted into container / database. In this vector database sample code when its going to retrieve / insert data from cosmos database ?

If it's not inserting in database? then what's the use of cosmos DB here?

Expected behavior My assumption is it should insert data in cosmos db. Which is not happening in this code.

Abhijitk914 avatar Jul 06 '24 10:07 Abhijitk914

👋 Thanks for contributing @Abhijitk914! We will review the issue and get back to you soon.

github-actions[bot] avatar Jul 06 '24 10:07 github-actions[bot]

Hey @BethanyJep can you review this when you get a chance?

koreyspace avatar Jul 28 '24 12:07 koreyspace

Let me check and update. But ideally, we are to use CosmosDB as our Vector database to store the embeddings.

BethanyJep avatar Jul 30 '24 09:07 BethanyJep

This issue has not seen any action for a while! Closing for now, but it can be reopened at a later date.

github-actions[bot] avatar Sep 29 '24 08:09 github-actions[bot]