Package-level declarations

Types

Link copied to clipboard

How two entities in a SemanticLink came to be connected.

Link copied to clipboard
data class LlmRationaleProjector(llmOptions: <Error class: unknown class>, ai: <Error class: unknown class>) : RationaleProjector

LLM-backed RationaleProjector that turns a proposition (or group) into human-readable rationale prose grounded in the source propositions.

Link copied to clipboard
data class RationaleArtifact constructor(val text: String, val sourcePropositionIds: List<String>, val confidence: <Error class: unknown class> = 0.5) : Projection

A human-readable rationale derived from one or more propositions.

Link copied to clipboard

Produces a human-readable rationale explaining why a proposition (or a group of related propositions) is believed and how the supporting evidence connects.

Link copied to clipboard
data class RationaleResponse(val rationale: String, val confidence: <Error class: unknown class> = 0.7)

What the LLM sends back: the generated rationale prose and its self-reported confidence.

Link copied to clipboard
data class Report constructor(val title: String, val totalCount: Int, val byStatus: Map<PropositionStatus, List<Proposition>>, val byLevel: Map<Int, List<Proposition>>, val topByConfidence: List<Proposition>, val sourcePropositionIds: List<String>) : Projection

A structured, deterministic aggregation of a set of propositions.

Link copied to clipboard
interface ReportProjector

Aggregates a set of propositions into a structured Report.

Link copied to clipboard

The human-review lifecycle of a discovered SemanticLink.

Link copied to clipboard
data class SemanticLink constructor(val sourceEntityId: String, val targetEntityId: String, val connectingEntityIds: List<String>, val kind: LinkKind = LinkKind.INFERRED, val sourcePropositionIds: List<String>, val reviewStatus: ReviewStatus = ReviewStatus.CANDIDATE, val confidence: <Error class: unknown class> = 0.5, val rationale: String? = null) : Projection

A reviewable indirect link between two entities, discovered structurally from the propositions that ground it.

Link copied to clipboard

Discovers indirect SemanticLinks between entities from a set of propositions.

Link copied to clipboard
data class StructuredReportProjector constructor(topN: Int = 5) : ReportProjector

Pure-structural, deterministic ReportProjector.

Link copied to clipboard

A deterministic, structural SemanticLinkDiscoverer that surfaces two-hop indirect links.