MemoryStats

org.llm4s.agent.memory.MemoryStats
See theMemoryStats companion object
final case class MemoryStats(totalMemories: Long, byType: Map[MemoryType, Long], entityCount: Long, conversationCount: Long, embeddedCount: Long, oldestMemory: Option[Instant], newestMemory: Option[Instant])

Statistics about memory usage.

Value parameters

byType

Count of memories by type

conversationCount

Number of distinct conversations

embeddedCount

Number of memories with embeddings

entityCount

Number of distinct entities

newestMemory

Timestamp of newest memory

oldestMemory

Timestamp of oldest memory

totalMemories

Total number of memories stored

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product