Executing Vector Similarity Queries
The lesson shows how to perform RAG by calculating the prompt embedding and running a SQL query using the VectorDistance function to find the closest documents, then injecting the retrieved text into the LLM context for retrieval augmented generation.
Previous Module
Introducing Azure Cosmos DB
This Module
AI Vector Search on Azure Cosmos DB