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 Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article