MemoryConsolidation

org.llm4s.agent.harness.memory.MemoryConsolidation
See theMemoryConsolidation companion class
@Experimental

Attributes

Companion
class
Source
SemanticMemoryMiddleware.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def apply(olderThan: FiniteDuration, minCount: Int): MemoryConsolidation

The defaults: memories older than a day, in groups of at least 10, at most every 15 minutes.

The defaults: memories older than a day, in groups of at least 10, at most every 15 minutes.

Attributes

Source
SemanticMemoryMiddleware.scala
def apply(olderThan: FiniteDuration, minCount: Int, interval: FiniteDuration): MemoryConsolidation

With an interval: Duration.Zero consolidates after every turn.

With an interval: Duration.Zero consolidates after every turn.

Attributes

Source
SemanticMemoryMiddleware.scala