Hospitality · AI Engineering
Business rules connected, so a change shows its impact
A knowledge graph links booking, membership and property-access rules. Business users ask in natural language about dependencies, conflicts and the effect of a change.
- faster impact assessment for rule changes
- ~60%
The operating problem
The rules lived in three places, and tracing one meant asking an expert
Rules for bookings, membership and property access were spread across Databricks, application code and business documents. There was no single connected view of them.
Queries needed manual routing across siloed sources, and tracing by hand led to inconsistent validation. Routine rule questions kept depending on subject-matter experts.
What Ganit engineered
A knowledge graph of the rules, with an LLM to read it
The graph holds the rules and their dependencies. GraphRAG combines those relationships with Amazon Bedrock LLMs, so answers are grounded in how rules connect. The same interface runs validation and impact analysis.
Neo4j knowledge graph, Amazon Bedrock LLMs, Redis session context and Langfuse tracing.
Rule Knowledge Graph
A Neo4j graph connects rules across bookings, membership and property access, with their dependencies.
GraphRAG
Combines graph relationships with Bedrock LLMs to ground answers on dependencies and conflicts.
Natural-Language Queries
Business users ask about rule relationships and conflicts without tracing them by hand.
Impact Analysis
Shows related dependencies and likely effects when a rule changes.
How the work changed
From tracing rules by hand to asking how they connect
| Current state | The gap | Desired stateWith the rules graph |
|---|---|---|
| Rule information was scattered, with no connected view. | One graph connects rules and their dependencies. | |
| Manual tracing gave inconsistent validation. | Validation follows the connected rule model. | |
| Routine queries depended on experts. | Business users query rules in natural language. |
What closed the gapRule Knowledge Graph · GraphRAG · Natural-Language Queries · Impact Analysis
Why it matters
- ConnectScattered rules
- GroundAnswers in the graph
- ValidateDependencies and conflicts
- AssessThe impact of change
Rule questions stop being a trace through code and documents. Impact assessment is faster because the relationships are modelled once and queried in plain language.