RationaleArtifact

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.

Implements Projection so the prose traces back to its supporting propositions via sourcePropositionIds.

Constructors

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

Properties

Link copied to clipboard
open override val confidence: <Error class: unknown class> = 0.5

Confidence in the rationale (0.0-1.0)

Link copied to clipboard
open override val decay: <Error class: unknown class> = 0.0

Rationale prose is regenerated on demand and does not decay.

Link copied to clipboard
open override val grounding: List<String>

Grounding traces back to the source propositions by default.

Link copied to clipboard
open val importance: <Error class: unknown class>

Importance of this derivation (0.0 to 1.0).

Link copied to clipboard
open override val sourcePropositionIds: List<String>

Ids of the propositions this rationale explains

Link copied to clipboard

The generated human-readable rationale prose