Building Operations Assistant
Outcome
Let the facility manager resolve building faults faster by joining live BMS alarms to the asset's BIM record, O and M manuals, warranty terms and work-order history, so the technician is dispatched with the right procedure, part and warranty posture already determined.
| Portfolio attribute | Value |
|---|---|
| Primary persona | Facility manager |
| Primary aggregate | BuildingAssetOperations |
| Cosmos DB containers | 3 |
| Grounding data | BIM, manuals, BMS events, work orders, warranties |
| Development estimate | USD 60-220 monthly dev estimate |
| Runtime options | Python FastAPI and C# ASP.NET Core |
Productivity hypothesis
These measures reflect the workflow, evidence, decision boundary, and industry risk for this use case.
| Impact type | Measure | Conservative internal assumption | Customer measurement |
|---|---|---|---|
| Productivity | Evidence discovery time | 15-25% reduction | (baseline median evidence-search minutes - assisted median evidence-search minutes) / baseline median evidence-search minutes * 100 |
| Quality or risk | Rework rate | 5-10% reduction | (baseline reopened, corrected, or repeated task rate - assisted rate) / baseline rate * 100 |
Important: Conservative internal pilot assumptions only; not public benchmarks, commitments, or expected customer results. Validate against a comparable baseline or matched control cohort with mandatory human review.
Rationale: Facility managers can assemble fragmented building and maintenance context faster for human-approved action.
Pilot guardrail: Reconcile BIM, BMS, work-order, manual, and warranty evidence before maintenance action.
Customer validation plan
- Baseline the current workflow with representative users and tasks.
- Run the accelerator on the same task mix with human review retained.
- Measure evidence discovery time and rework rate with the documented formulas.
- Replace internal assumptions with customer-observed results before a business case.
Why Azure Cosmos DB
This AI solution needs an operational data plane, not only a vector index:
- Hybrid vector and full-text retrieval combines semantic recall with exact identifiers, codes, names, and domain language.
- Hierarchical partition keys and metadata predicates keep tenant and domain boundaries in the normal query path.
- Operational JSON, source chunks, workflow and agent state, feedback, and audit records remain together for low-latency reads and governed writes.
- Change feed reacts to source and operational updates without polling.
- Autoscale throughput, configurable consistency, and multi-region distribution support variable demand and enterprise availability.
Domain workflow

| Stage | Actor | Input → output | Approval |
|---|---|---|---|
| 1. Alarm correlation and triage | Building operations assistant | BmsAlarm → correlatedFaultSignal | Policy controlled |
| 2. Asset and BIM context resolution | Asset resolver | correlatedFaultSignal → BuildingAsset | Policy controlled |
| 3. Procedure and warranty grounding | Retrieval orchestrator | BuildingAsset → ManualProcedureChunk | Policy controlled |
| 4. Dispatch package drafting | Building operations assistant | ManualProcedureChunk → DispatchRecommendation | Policy controlled |
| 5. Facility manager dispatch and warranty decision | Facility manager | DispatchRecommendation → WorkOrder | Human required |
Technical architecture

Cosmos DB data model
| Container | Hierarchical partition key | Documents | Search paths |
|---|---|---|---|
buildingAssetOperationses | /tenantId, /buildingId | BuildingAsset, BmsAlarm, WorkOrder, DispatchRecommendation | /rationaleVectorEmbedding, /rationaleVector |
equipmentManualLibrary | /tenantId, /modelNumber | ManualProcedureChunk | /chunkVectorEmbedding, /chunkVector |
warrantyTermsLibrary | /tenantId, /warrantyDocId | WarrantyTermChunk | /chunkVectorEmbedding, /chunkVector |
Query contract
| Query | Container | Scope | Purpose |
|---|---|---|---|
| ActiveAlarmsByPriority | buildingAssetOperationses | single-partition | Show unacknowledged high-priority alarms across the building for the operations board. |
| AssetRepeatFaultHistory | buildingAssetOperationses | single-partition | Find whether this asset has failed the same way before, which changes the diagnosis and the warranty argument. |
| ModelSpecificProcedureRetrieval | equipmentManualLibrary | single-partition | Retrieve the manufacturer procedure matching the exact model and fault category, with its certification and lockout requirements. |
| WarrantyCoverageCheck | warrantyTermsLibrary | cross-partition-bounded | Determine whether the asset category and fault date fall inside an active warranty or service contract. |
Python and C# services route each document type to its declared container and hierarchical partition key. ETag-based writes protect mutable aggregates, while append-only records and bounded cross-partition queries preserve scale.
Azure deployment

Clone the source repository, authenticate with Azure, and run:
Set-Location accelerators/real-estate-construction/building-operations-assistant
az login
./Deploy.ps1 -Runtime python -Location eastus2
Change python to csharp to deploy the .NET implementation.
Explore the implementation
- Launch signed-in demo
- Implementation article
- Domain data model
- Workflow and API contract
- Python application
- C# application
- Domain container Bicep
- Platform Bicep
- Cost and configuration
- Source repository