Memory Projector
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 // eventsContent copied to clipboard