Reconciler

interface Reconciler

Strategy for reconciling a proposition's projection against artifacts that already exist in a target backend, deciding whether to create a new artifact, adopt an existing one, or align with it.

Implementations encode the backend-specific matching strategy (for example exact key, fuzzy name, or vector similarity); the contract itself is backend-agnostic. This mirrors the entity-resolution contract defined by com.embabel.dice.common.EntityResolver, applied to projection targets rather than entity mentions.

Inheritors

Functions

Link copied to clipboard
abstract fun reconcile(proposition: Proposition, target: String): ReconciliationDecision

Decide how proposition should be projected to target.

open fun reconcile(proposition: Proposition, target: String, projected: Projection): ReconciliationDecision

Decide how proposition's concrete projected artifact should be projected to target.