Custom
org.llm4s.agent.memory.MemoryFilter.Custom
final case class Custom(predicate: Memory => Boolean) extends MemoryFilter
Custom filter using a predicate function.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MemoryFilterclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Alias for and.
Combine this filter with another using AND logic.
Combine this filter with another using AND logic.
Value parameters
- other
-
The other filter to combine with
Attributes
- Returns
-
A new MemoryFilter that matches if both filters match
- Inherited from:
- MemoryFilter
Negate this filter.
Negate this filter.
Attributes
- Returns
-
A new MemoryFilter that matches if this filter does not match
- Inherited from:
- MemoryFilter
Combine this filter with another using OR logic.
Combine this filter with another using OR logic.
Value parameters
- other
-
The other filter to combine with
Attributes
- Returns
-
A new MemoryFilter that matches if either filter matches
- Inherited from:
- MemoryFilter
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Alias for not.
Alias for or.
In this article