Proposition Reviser
interface PropositionReviser
Revises propositions by comparing against existing ones in the repository.
The revision process:
Retrieve similar propositions using vector similarity
Classify relationships (identical, similar, contradictory, unrelated)
Return revision result indicating how to handle the proposition
Important: The reviser does NOT persist propositions. It only returns the revision result. The caller is responsible for persisting using PersistablePropositionResults.persist.
Inheritors
Functions
Link copied to clipboard
abstract fun classify(newProposition: Proposition, candidates: List<Proposition>): List<ClassifiedProposition>
Classify the relationship between propositions.
Link copied to clipboard
Revise a new proposition against the existing repository.
Link copied to clipboard
open fun reviseAll(propositions: List<Proposition>, repository: PropositionRepository): List<RevisionResult>
Revise multiple propositions, returning results for each.