org.llm4s.agent.harness.memory.MemoryRecall
See theMemoryRecall companion object
@Experimental
What SemanticMemoryMiddleware recalls before a turn: at most maxRecallTokens (estimated at four characters a token, as the agent's prompt-section budget is), of the memories filter accepts, and scope accepts for the run.
excludeCurrentThread (the default) leaves out what the run's own thread recorded, which is already in its message history (#3040). scope computes a filter from the run; MemoryRecall.byPrincipal recalls only what runs of the same principal recorded.
Attributes
- Companion
- object
- Source
- SemanticMemoryMiddleware.scala
- Graph
-
- Supertypes
Members list
In this article
