AppliedWrite

org.llm4s.agent.memory.AppliedWrite
See theAppliedWrite companion object
@Experimental
final case class AppliedWrite(added: Vector[MemoryId], removed: Vector[MemoryId], evicted: Int)

What one applied write did: the ids it stored, the ids it deleted (only those that were there), and how many memories it evicted to keep the store within its MemoryBounds. Bounded by the write itself, never by the size of the store: evictions are a count.

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