BRK370 · Breakout
Build integrated AI apps with Azure HorizonDB
Speakers: Jonathon Frost, Brian Holt, Dylan Addington
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
The session shows how Azure HorizonDB keeps AI enrichment, search and knowledge graphs inside one PostgreSQL database, using a supplier-qualification scenario. Microsoft announces that AI model management moves to public preview and presents durable AI pipelines defined in SQL, hybrid search with BM25, RRF and cross-encoder re-ranking, DiskANN with spherical quantization, knowledge graphs for AI pipelines and Apache AGE performance gains. An end-to-end demo shows that re-running the pipelines after new evidence lands changes the answer to the same query. Pediatric Associates then presents HorizonDB as a catalog of about 70 atomic business skills that an agent discovers, plans and executes, with skills published or withdrawn without redeployment.
Best for: Developers and data architects building retrieval or agent back ends on PostgreSQL who want vector, hybrid search and graph context next to their operational data.
New material starts at 01:01. After a one-minute outline of the four-step plan, the session moves straight to the AI model management public preview announcement and asynchronous AI pipelines.
Where to skip: Start at 01:01. The pipeline architecture and search deep-dive at 05:04, the knowledge graph demo at 10:17 and the end-to-end re-run at 15:54 are the technical core. The customer skills-catalog demo at 26:18 is worth seeing for agent design. You can skip 31:25–36:35, which covers vision and closing resources.
Chapters (12)
- 00:02 Recap Depth 100 · Novelty 0/3
Four-step plan: AI-ready context, search, graph and end-to-end pipeline
Jonathon Frost outlines the session's supplier-qualification scenario in four steps: turning new supplier profiles into AI-ready context, finding suppliers with search, surfacing relationships with a knowledge graph, and combining everything into an AI pipeline. When new evidence arrives, the same question should then return the correct answer. Everything runs in one PostgreSQL database in Azure HorizonDB.
- 01:01 New Depth 200 · Novelty 2/3
Asynchronous AI pipelines and AI model management moving to public preview
Calling a model on every application request puts it on the critical path and adds latency. The alternative is asynchronous enrichment in AI pipelines, so the app uses pre-prepared data in real time. Microsoft announces that AI model management moves from limited public preview to public preview: a single switch exposes chat completion, embedding and cross-encoder models for use in SQL, without registering endpoints or managing keys. Models from Foundry can still be registered and used alongside them.
- 02:26 Demo Depth 300 · Novelty 2/3
Demo: AI pipeline extracts entities and embeddings from raw supplier profiles
In VS Code, a pipeline is created with one function from the Azure AI extension; it has an extraction step that turns unstructured text into entities and an embed step that generates vector embeddings, landing results in a target table. The pipeline is run with one line of code and visualised in the PostgreSQL extension for VS Code, which is available in the marketplace. A query confirms the run completed with 20 records processed, and the results sit in a JSONB column with findings and metadata.
- 05:04 Deep dive Depth 300 · Novelty 2/3
Durable AI pipelines, BM25, hybrid search with re-ranking and DiskANN improvements
An AI pipeline is defined with one SQL statement and lives and runs in the database; each step is a durable node built on the PG Durable extension with checkpointing and retries, and runs on demand or on change. Search covers vector search on meaning and BM25 full-text search via the PG Text Search extension for exact terms such as certificate names. Hybrid search fuses both result sets with one function call, optionally followed by cross-encoder re-ranking. DiskANN with spherical quantization compresses vectors in RAM and is said to deliver 1.7x higher throughput than HNSW and half the latency.
- 08:58 Demo Depth 300 · Novelty 2/3
Demo: vector, full-text and hybrid search with RRF and cross-encoder re-ranking
Vector search and full-text search are run separately with one command each and return different orderings of suppliers. A single hybrid search call fuses them using reciprocal rank fusion (RRF) into one score, moving Supplier F to third place. Adding a re-rank true parameter invokes the cross-encoder model and slightly improves the results.
- 10:17 Demo Depth 300 · Novelty 2/3
Knowledge graphs for AI pipelines: Apache AGE, entity normalization and graph demo
Knowledge graphs surface relationships search alone misses: suppliers operate plants, plants hold certifications and inspection findings are observed at plants. Microsoft introduces a new set of graph-building primitives called knowledge graphs for AI pipelines. The demo sets the Apache AGE search path, uses AI.normalize_entity to unify three spellings of Plant 2, creates and runs a pipeline that loads the graph, and views it in the VS Code graph visualization. A query shows Supplier A's Plant 2 holds GMP certification while Supplier F's plant has an incident.
- 14:24 New Depth 300 · Novelty 2/3
Apache AGE performance gains in HorizonDB: 190x faster MERGE, 83% less peak memory
The graph query shows Supplier F's plant has an incident, which would disqualify it. Microsoft announces significant performance improvements to the Apache AGE extension in HorizonDB. The MERGE operation, used to build and refresh graphs, is said to be 190x faster, and peak memory usage is reduced by 83%.
- 15:54 Demo Depth 300 · Novelty 2/3
Demo: end-to-end pipeline re-run changes supplier qualification after new finding
A hybrid search initially qualifies Suppliers A and B. A new profile version with an open incident is simulated landing from the legacy system; the existing enrichment pipeline and graph pipeline are re-run manually (in production this would be triggered on change). The graph then shows the incident on Supplier A's Plant 2, and the same question now returns only Supplier B. Frost recaps the architecture and hands over to Dylan Addington.
- 19:55 Customer story Depth 200 · Novelty 2/3
Pediatric Associates: atomic business skills discovered through HorizonDB
Dylan Addington, Enterprise Architect at Pediatric Associates Family of Companies, argues that staff should describe work rather than relearn changing EMR interfaces. The company has an event fabric delivering millions of events in real time, a FHIR data store, centralized APIs and scheduling orchestration. Its approach uses atomic skills – implemented business operations with contracts, validation, dependencies, authorization and observation – currently about 70 in the library. HorizonDB serves as the capability catalog: DiskANN finds skills by meaning, BM25 by exact terms, and Apache AGE maps dependencies between skills.
- 26:18 Demo Depth 200 · Novelty 2/3
Customer demo: agent plans, executes, publishes and withdraws healthcare skills
In a pre-recorded demo, an application built on HorizonDB (real database, skills catalog and app; mock APIs, tested on real APIs) takes a request to register a patient, add insurance and a guarantor and book a provider. It searches the skills catalog, builds a plan that a human approves, then executes four skills in sequence. A skill not yet in the library fails; after publishing it, with its dependency graph shown, the agent finds and runs it, and after withdrawal it is rejected again – without redeployment.
- 31:25 Customer story Depth 200 · Novelty 1/3
Division of responsibilities and vision of intent-driven enterprise operations
Addington describes the roles: the Foundry model interprets language, HorizonDB maintains the catalog of discoverable skills, the execution runtime enforces boundaries and authorization, and humans retain consequential decisions. He challenges teams to stop building new interfaces for assembling back-end payloads and instead invest in well-engineered business capabilities. Vendor-specific EMR changes are handled in the back end, so experienced staff need no retraining.
- 34:34 Closing Depth 100 · Novelty 0/3
Related Postgres sessions, lab, VS Code extension and code sample resources
Frost points to related Postgres sessions, including his lightning talk on vector search and a hands-on lab using the same constructs. He shares QR codes for the VS Code extension, the Postgres Hub repository of solution accelerators and code samples, and the demo code repo for this session, plus a list of further resources.
Announcements (5)
-
AI model management
Exposes chat completion, embedding and cross-encoder models with one switch for use in SQL, without endpoint registration or key management.
Speaker’s quote (at 01:57)
„we are moving AI model management from limited public preview into public preview“
-
Hybrid search
Fuses BM25 full-text and vector search results into one result set with a single function call.
Speaker’s quote (at 07:02)
„this is actually another feature that we're really excited about in HorizonDB, which is that, with one function call, you can actually take two different searches“
-
DiskANN spherical quantization
Compresses vectors in RAM while keeping vector search throughput high and latency low.
Speaker’s quote (at 07:57)
„we made a lot of improvements into DiskANN that we're really excited about in HorizonDB“
-
Knowledge graphs for AI pipelines
A new set of primitives for building graphs that reduces the code needed to construct graphs, including normalization and deduplication of entities.
Speaker’s quote (at 11:58)
„this is using a new feature that we also are releasing in HorizonDB, which is a new set of primitives for building graphs“
-
Apache AGE performance improvements
Faster graph MERGE operations and lower peak memory usage for the AGE extension in HorizonDB.
Speaker’s quote (at 14:24)
„we have made some significant performance improvements in the AGE extension in HorizonDB“
Demos (5)
-
A developer turns raw, unstructured supplier profiles from a legacy system into AI-ready context (extracted entities plus embeddings) inside the database.
Steps (6)
- Open VS Code with two pre-populated tables: manufacturer profiles with raw content and an empty AI context table.
- Create an AI pipeline with one function call from the Azure AI extension, defining an extraction step and an embed step that land results in the final table.
- Run the pipeline with one line of code.
- Open the pipeline visualization in the PostgreSQL extension for VS Code to see the running pipeline and its definition.
- Query the run results to confirm the status (completed, 20 processed).
- Query the target table to inspect the JSONB column with extracted findings and metadata.
Prerequisites: Azure HorizonDB with the Azure AI extension, the PostgreSQL extension for VS Code, and tables with supplier profile data prepared beforehand.
-
A developer compares vector, full-text and hybrid search over enriched supplier data to find the best candidate suppliers.
Steps (4)
- Run a vector search with one search command and review the result set.
- Run the same search as full-text search and compare the different ordering.
- Run a hybrid search in one call to fuse both result sets with RRF into a single score.
- Add the re-rank true parameter to the function call to invoke the cross-encoder model and review the re-ranked results.
Prerequisites: Supplier data enriched by the AI pipeline from the previous demo; a cross-encoder model available for re-ranking.
-
A developer builds a knowledge graph of suppliers, plants, certifications and findings from unstructured data to decide which suppliers are qualified.
Steps (7)
- Set the search path as required for Apache AGE.
- Review the graph model: supplier operates plant, plant holds certification, finding observed at plant.
- Run AI.normalize_entity to normalize three variants of Plant 2 (lowercase, trimmed whitespace).
- Create a second pipeline that uses the graph construct to load the graph.
- Run the pipeline and check its status until it is finished.
- Open the graph visualization in the PostgreSQL extension for VS Code to view the populated graph.
- Query the graph for Supplier A and Supplier F to see certifications and incidents per plant.
Prerequisites: Azure HorizonDB with the Apache AGE extension, the PostgreSQL extension for VS Code, and enriched supplier data; the graph schema was prepared off-screen.
-
Show that when new evidence lands in operational data, re-running the AI pipelines updates context and graph so the same query returns the correct qualified suppliers.
Steps (8)
- Run the hybrid search and confirm Suppliers A and B qualify.
- Insert a new profile version (version 2) into the source table to simulate data from the legacy system.
- Check that the AI context table has not yet been updated.
- Re-run the existing supplier enrichment pipeline and verify it completed.
- Inspect the new JSONB fact containing the open finding with an incident number.
- Re-run the supplier graph pipeline and wait for completion.
- View the graph to confirm the incident is attached to Plant 2 of Supplier A.
- Run the original qualification query again and confirm only Supplier B is returned.
Prerequisites: The two pipelines (enrichment and graph) created in the earlier demos, plus the supplier source tables.
-
Clinic staff describe a registration and booking task in natural language and an agent discovers and executes the required skills, while architects publish or withdraw skills without redeploying.
Steps (8)
- Select a preset query to register a patient, add insurance and a guarantor and book a provider.
- Let the agent search the skills catalog in HorizonDB, read skill instructions and produce a plan.
- Review the proposed plan and approve it as the human decision in the loop.
- Watch the agent load each skill and call the APIs one after another until all four steps complete.
- Open the peelback view and call a skill not yet in the library to confirm it fails.
- Click publish to add the pre-engineered skill and review its dependency graph in the skills catalog.
- Repeat the request and confirm the agent finds and prepares to execute the skill.
- Click withdraw and repeat the prompt to confirm the agent rejects it.
Prerequisites: A custom application on HorizonDB with a skills catalog; the demo used mock APIs, Foundry models interpret language.