On Demand → AI / Azure AI

Develop AI Solutions with Azure Database for PostgreSQL


Description

This learning path guides you through developing AI solutions using Azure Database for PostgreSQL. You start by building a data foundation with schema design, efficient SQL queries, and secure Python integration using Microsoft Entra authentication.

You then implement vector search using the pgvector extension to store embeddings, execute similarity searches with different distance metrics, and build retrieval patterns that integrate with RAG pipelines for semantic search and recommendations.

Finally, you optimize vector search performance by tuning PostgreSQL and pgvector configuration, selecting appropriate vector indexes, designing efficient data layouts, scaling for high-volume workloads, and implementing connection pooling for AI applications.


Prerequisites

  • Programming experience with Python.
  • Basic understanding of Azure services and cloud computing concepts.
  • Familiarity with relational databases and SQL fundamentals.
  • Understanding of machine learning concepts including embeddings and similarity search.

Duration: 4 hr 54 min

Content
  • Build and query with Azure Database for PostgreSQL
  • Introduction
  • Explore Azure Database for PostgreSQL
  • Connect to PostgreSQL
  • Create and manage schemas
  • Query data
  • Integrate SDKs and applications
  • Exercise - Build an agent tool backend on Azure Database for PostgreSQL
  • Module assessment
  • Summary
  • Implement vector search with Azure Database for PostgreSQL
  • Introduction
  • Store and query embeddings with pgvector
  • Perform fast vector similarity search
  • Manage index lifecycle and embedding updates
  • Run vector similarity search for semantic retrieval
  • Implement retrieval patterns for RAG pipelines
  • Exercise - Implement vector search on Azure Database for PostgreSQL
  • Module assessment
  • Summary
  • Optimize vector search in Azure Database for PostgreSQL
  • Introduction
  • Tune PostgreSQL for pgvector
  • Choose and configure vector indexes
  • Optimize data layout
  • Scale for high-volume workloads
  • Connection optimization
  • Exercise - Optimize vector search performance in Azure Database for PostgreSQL
  • Module assessment
  • Summary
Completion rules
  • All units must be completed
  • Leads to a certificate with a duration: Forever