All

org.llm4s.agent.memory.MemoryFilter.All
case object All extends MemoryFilter

Match all memories (no filtering).

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait MemoryFilter
class Object
trait Matchable
class Any
Show all
Self type
All.type

Members list

Type members

Inherited types

type MirroredElemLabels = EmptyTuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple

Attributes

Inherited from:
Singleton
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton

Inherited and Abstract types

type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def matches(memory: Memory): Boolean

Test if a memory matches this filter.

Test if a memory matches this filter.

Value parameters

memory

The memory to test

Attributes

Returns

True if the memory matches the filter criteria, False otherwise

Inherited methods

Alias for and.

Alias for and.

Attributes

Inherited from:
MemoryFilter

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
def fromProduct(p: Product): MirroredMonoType

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton

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
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Alias for not.

Alias for not.

Attributes

Inherited from:
MemoryFilter

Alias for or.

Alias for or.

Attributes

Inherited from:
MemoryFilter