Cosmos DB vector search with the change feed
Products arrive without embeddings. Let the change feed notice each new or edited product, write its embedding, and then answer shopper questions with VectorDistance over a DiskANN index.
You will learn:Vector embedding policy and vector indexesVectorDistance with TOP NChange feed with a saved continuation tokenSkipping your own writes to avoid loops
Related lessons: Vector Search in Cosmos DB for NoSQL · Cosmos DB Change Feed Processor · Embeddings and Vector Search for Developers