Oil, Gas & Mining

Safety Incident Learning Assistant

Designed for HSE specialist

Turn safety incidents, near misses, and observations into transferable learning by clustering causal patterns across sites and linking them to the standards and permits that should have prevented them, with HSE approval before actions are issued.

Contract OIL-02 · primary aggregate SafetyLearningCase · mode loading

Decision brief

Approve and issue learning actions: evidence ready for review

This brief starts with the decision, evidence, and accountable owner. The guided workflow then shows how the recommendation was produced.

Decision signals

The evidence and control points that shape this recommendation.

Decision owner

HSE manager

The named role remains accountable for the consequential decision.

Governed evidence

6 record types

Structured records and cited text ground the recommendation.

Workflow

5 controlled stages

Each transition records its input, output, status, and audit context.

Human controls

1 approval gate

Approval gates prevent the copilot from making consequential decisions.

Business problem

A dropped-object near miss at a mine conveyor is classified as high potential; the assistant clusters it with 11 similar events across three sites where the same lifting permit omitted an exclusion-zone control, maps the gap to the lifting standard clause, and the HSE manager approves a permit template change with verification at all affected sites..

Decision to make

Turn safety incidents, near misses, and observations into transferable learning by clustering causal patterns across sites and linking them to the standards and permits that should have prevented them, with HSE approval before actions are issued.

Outcome to show

Issued actions with verification plans gives HSE manager the evidence needed to begin the final governed business outcome, with the decision trail retained for review.

  1. 1Capture the incident or observation
  2. 2Classify severity and control failure
  3. 3Cluster causal patterns across sites
  4. 4Map themes to standards and controls
  5. 5Approve and issue learning actions

Step 1 of 5

Ready: Start with the business question, then use the single button above.

The output appears here immediately. More technical evidence remains available below.

System logic, GenAI, and human accountability

The demonstration keeps deterministic controls, AI assistance, and approval separate.

System logic

Source systems enforce identity, workflow order, policy filters, and record updates.

GenAI contribution

Retrieval and generation assemble relevant evidence into a cited recommendation or draft.

Human accountability

HSE manager verifies material claims and approves the consequential action.

Workflow stages

Run the stages in order before using the Copilot. Every stage explains what happens, why it matters, the evidence it uses, and the complete API request and response.

Seeded record
Loading
Document type
Loading
Container
Loading
Partition key
Loading
Current stage
Loading

API demonstration guidance

Run a stage to see its explanation, evidence, full request, and full response.

Grounded chat

Ask a question and receive an answer grounded in retrieved SafetyLearningCase evidence.

Answer and evidence

Select a starter question or enter your own.

Evidence

Domain implementation workspace

Loaded live from /api/config, /api/domain/model, and /api/domain/sample.

Domain objective
Turn safety incidents, near misses, and observations into transferable learning by clustering causal patterns across sites and linking them to the standards and permits that should have prevented them, with HSE approval before actions are issued.
Primary aggregate
SafetyLearningCase
Primary container
safetyLearningCases
Hierarchical key
/tenantId + /operatingSiteId
Schema version
1

Sample scenario

A dropped-object near miss at a mine conveyor is classified as high potential; the assistant clusters it with 11 similar events across three sites where the same lifting permit omitted an exclusion-zone control, maps the gap to the lifting standard clause, and the HSE manager approves a permit template change with verification at all affected sites.

Physical Cosmos DB containers

Every container provisioned for this accelerator with its hierarchical partition key.
Container Role Hierarchical partition key Document types
safetyLearningCases Primary /tenantId + /operatingSiteId SafetyLearningCase, IncidentReport, SafetyObservation, PermitRecord, LearningAction
safetyStandardsLibrary Reference /tenantId + /standardId SafetyStandardClause

Document types

Contract document types, their owning container, and their identifier pattern.
Type Container Partition key Identifier pattern Embedding fields
SafetyLearningCase safetyLearningCases /tenantId + /operatingSiteId learningcase::{operatingSiteId}::{caseId} None
IncidentReport safetyLearningCases /tenantId + /operatingSiteId incident::{operatingSiteId}::{incidentId} eventNarrativeVector
SafetyObservation safetyLearningCases /tenantId + /operatingSiteId observation::{operatingSiteId}::{observationId} observationVector
PermitRecord safetyLearningCases /tenantId + /operatingSiteId permit::{operatingSiteId}::{permitId} None
SafetyStandardClause safetyStandardsLibrary /tenantId + /standardId standard::{standardId}::{clauseRef} clauseVector
LearningAction safetyLearningCases /tenantId + /operatingSiteId action::{operatingSiteId}::{actionId} actionVector

Query patterns