File size: 412 Bytes
e5c1c61
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
"""LLM-backed natural-language explainers (Day 7).

`explain()` is the ONLY public entry point. It guarantees a non-empty
rationale every call: tries OpenRouter when available, falls back to a
deterministic template otherwise. The deterministic path is the source
of truth for tests; the LLM path is gated behind env config.
"""
from src.llm.explainer import ExplainPayload, ExplainResult, explain  # noqa: F401