On Demand → AI / Azure AI

Develop AI Solutions with Azure Cosmos DB for NoSQL


Description

This learning path guides you through developing AI solutions using Azure Cosmos DB for NoSQL. You start by building a data foundation with the Cosmos DB resource model, SDK integration, CRUD operations, and SQL queries to retrieve document data for AI applications.

You then implement vector search capabilities to store embeddings, execute similarity queries using the VectorDistance function, combine vector search with metadata filters and hybrid search, and use the change feed to keep embeddings synchronized.

Finally, you optimize query performance by analyzing query patterns, configuring range and composite indexes, selecting vector index types, and choosing consistency levels that balance freshness with cost efficiency.

Prerequisites

  • Programming experience with Python.
  • Basic understanding of Azure services and cloud computing concepts.
  • Familiarity with JSON document structures.
  • Understanding of machine learning concepts including embeddings and similarity search.

Duration: 4 hr 12 min

Content
  • Build queries for Azure Cosmos DB for NoSQL
  • Introduction
  • Explore Azure Cosmos DB for NoSQL
  • Implement the Azure Cosmos DB for NoSQL SDK
  • Query Azure Cosmos DB for NoSQL
  • Exercise - Build a RAG document store on Azure Cosmos DB for NoSQL
  • Module assessment
  • Summary
  • Implement vector search on Azure Cosmos DB for NoSQL
  • Introduction
  • Store and retrieve embeddings in Azure Cosmos DB
  • Execute vector similarity queries for semantic search
  • Combine vector similarity results with metadata filtering
  • Use the change feed to trigger embedding refresh
  • Exercise - Build a semantic search application with Azure Cosmos DB for NoSQL
  • Module assessment
  • Summary
  • Optimize query performance for Azure Cosmos DB for NoSQL
  • Introduction
  • Understand indexes in Azure Cosmos DB
  • Configure range and composite indexes
  • Tune vector indexes for embedding workloads
  • Reduce RU costs with strategic indexing
  • Choose consistency levels for optimal performance
  • Exercise - Optimize query performance with vector indexes on Cosmos DB for NoSQL
  • Module assessment
  • Summary
Completion rules
  • All units must be completed
  • Leads to a certificate with a duration: Forever