InMemoryStore

org.llm4s.agent.memory.InMemoryStore
See theInMemoryStore companion class
object InMemoryStore

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

Create an empty in-memory store with custom configuration.

Create an empty in-memory store with custom configuration.

Attributes

Create an empty in-memory store with default configuration.

Create an empty in-memory store with default configuration.

Attributes

def forTesting(maxMemories: Int): InMemoryStore

Create a store for testing with small limits.

Create a store for testing with small limits.

Attributes

def withMemories(memories: Seq[Memory]): Result[InMemoryStore]

Create a store pre-populated with memories.

Create a store pre-populated with memories.

Attributes