Uses of Record Class
com.tnsai.memory.MemoryConfig
Packages that use MemoryConfig
Package
Description
Agent classes and lifecycle management for the TnsAI framework.
Memory management and persistence for agent conversation history.
-
Uses of MemoryConfig in com.tnsai.agents
Methods in com.tnsai.agents with parameters of type MemoryConfigModifier and TypeMethodDescriptionAgentBuilder.memoryConfig(MemoryConfig config) Configures memory declaratively from aMemoryConfig— the programmatic equivalent of@MemorySpec(TNS-546), so a builder user gets full memory configuration without hand-building aMemoryStoreor knowing the per-store implementation classes. -
Uses of MemoryConfig in com.tnsai.memory
Methods in com.tnsai.memory that return MemoryConfigModifier and TypeMethodDescriptionMemoryConfig.Builder.build()static MemoryConfigMemoryConfig.defaults()The defaults of a bare@MemorySpec()— conversation, capacity 100, sliding-window, in-memory.static MemoryConfigMemoryConfig.from(MemorySpec annotation) Adapts a@MemorySpecannotation into a config (the annotation path).Methods in com.tnsai.memory with parameters of type MemoryConfigModifier and TypeMethodDescriptionstatic MemoryStoreMemoryStoreFactory.create(MemoryConfig config) Creates a MemoryStore from a programmaticMemoryConfig— the canonical factory both the annotation path (MemoryStoreFactory.create(MemorySpec)) andAgentBuilder.memoryConfig(...)flow through (TNS-546).