Show HN: AI·rete·RAG – a Rete rule engine decides, RAG explains why
Introduces a Python tool that sequentially executes Rete rule engine decisions and RAG-based LLM explanations for auditable scenarios.
Key points
- •A pure Python Rete engine makes decisions based on YAML rules for auditable judgments like lending, fraud detection, and clinical triage, rather than relying on LLMs.
- •The system ensures consistent decisions for identical facts using an importance-based conflict resolution mechanism.
- •RAG retrieves relevant sections from policy documents, and an LLM explains the decision rationale in plain English.