microsoft / generative-ai-for-beginners

18 Lessons, Get Started Building with Generative AI 🔗 https://microsoft.github.io/generative-ai-for-beginners/
https://microsoft.github.io/generative-ai-for-beginners/
MIT License
56.67k stars 29.12k forks source link

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

Open Abhijitk914 opened 1 week ago

Abhijitk914 commented 1 week ago

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.

github-actions[bot] commented 1 week ago

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