Skip to content
1 min read · 34 words

Type Alias: DispatchMemoryRetrievalFn

ts
type DispatchMemoryRetrievalFn = (
  ctx: DispatchContext,
) => Memory[] | Promise<Memory[]>;

Retrieves memories for an LLM execution context.

Parameters

ParameterType
ctxDispatchContext

Returns

| Memory[] | Promise<Memory[]>