Skip to content
1 min read · 37 words

Type Alias: DispatchMemoryRetrievalFn ​

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

Defined in: src/lib/contracts/dispatch_context.ts:43

Retrieves memories for an LLM execution context.

Parameters ​

ParameterType
ctxDispatchContext

Returns ​

| Memory[] | Promise<Memory[]>