MemoryProjector

interface MemoryProjector

Projects propositions into memory organized by knowledge type.

This is a simple classifier - it takes propositions (queried however the caller wants via PropositionQuery) and organizes them by knowledge type.

Example usage:

// Query propositions using PropositionQuery
val props = repository.query(
PropositionQuery.forEntity(userId)
.withMinEffectiveConfidence(0.5)
.orderedByEffectiveConfidence()
)

// Project into memory types
val memory = projector.project(props)

// Use the classified propositions
memory.semantic // facts
memory.procedural // preferences/rules
memory.episodic // events

Inheritors

Functions

Link copied to clipboard
abstract fun project(propositions: List<Proposition>): MemoryProjection

Project propositions into memory organized by knowledge type.