MemorySubject

@Serializable(with = MemorySubject.Serializer::class)
abstract class MemorySubject(source)

Defines the contextual domain of stored memory facts, determining the visibility and relevance scope of the stored information.

This helps organize memories into logical containers and ensures that information is accessed at the appropriate level of context.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
@Serializable
data object Everything : MemorySubject

Represents a memory subject with the broadest scope, encompassing all important information and meaningful facts. The purpose of this object is to serve as a global context for information that doesn't fit within narrower, more specific memory subjects.

Properties

Link copied to clipboard
abstract val name: String

Name of the memory subject (ex: "user", or "project")

Link copied to clipboard
abstract val priorityLevel: Int

Indicates how important this memory subject is compared to others. Higher numbers mean lower importance.

Link copied to clipboard

Description of what type of information is related to the memory subject, that will be sent to the LLM.