PropositionExtractionProperties

data class PropositionExtractionProperties(val enabled: Boolean = true, val extractionLlm: <Error class: unknown class>? = null, val entityResolutionLlm: <Error class: unknown class>? = null, val windowSize: Int = 10, val overlapSize: Int = 2, val triggerInterval: Int = 6, val showPrompts: Boolean = false, val showResponses: Boolean = false, val entityPackages: List<String> = emptyList(), val existingPropositionsToShow: Int = 100, val classifyBatchSize: Int = 15, val classifyLlm: <Error class: unknown class>? = null, val projectionLlm: <Error class: unknown class>? = null)

Shared configuration for proposition extraction from conversations. Used by any application integrating the DICE memory pipeline.

Parameters

enabled

whether proposition extraction is enabled

extractionLlm

LLM for proposition extraction

entityResolutionLlm

LLM for entity resolution (defaults to extractionLlm if null)

windowSize

number of messages to include in each extraction window

overlapSize

number of messages to overlap for context continuity

triggerInterval

extract propositions every N messages (0 = manual only)

showPrompts

whether to log extraction prompts

showResponses

whether to log extraction responses

entityPackages

packages to scan for NamedEntity classes to include in the data dictionary

existingPropositionsToShow

number of existing propositions to include in the extraction prompt to avoid duplicates

classifyBatchSize

max propositions per classify-batch LLM call (smaller = faster, more calls)

classifyLlm

optional cheaper LLM for classification calls (defaults to extractionLlm if null)

projectionLlm

LLM for graph projection relationship classification (defaults to classifyLlm if null)

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, extractionLlm: <Error class: unknown class>? = null, entityResolutionLlm: <Error class: unknown class>? = null, windowSize: Int = 10, overlapSize: Int = 2, triggerInterval: Int = 6, showPrompts: Boolean = false, showResponses: Boolean = false, entityPackages: List<String> = emptyList(), existingPropositionsToShow: Int = 100, classifyBatchSize: Int = 15, classifyLlm: <Error class: unknown class>? = null, projectionLlm: <Error class: unknown class>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val classifyLlm: <Error class: unknown class>? = null
Link copied to clipboard
val enabled: Boolean = true
Link copied to clipboard
Link copied to clipboard
val entityResolutionLlm: <Error class: unknown class>? = null
Link copied to clipboard
Link copied to clipboard
val extractionLlm: <Error class: unknown class>? = null
Link copied to clipboard
val overlapSize: Int = 2
Link copied to clipboard
val projectionLlm: <Error class: unknown class>? = null
Link copied to clipboard
val showPrompts: Boolean = false
Link copied to clipboard
val showResponses: Boolean = false
Link copied to clipboard
Link copied to clipboard
val windowSize: Int = 10