InferContextMemory
@daydreamsai/core / InferContextMemory
Type Alias: InferContextMemory<TContext>
InferContextMemory<
TContext> =TContextextendsContext<infer TMemory,any,any,any,any> ?TMemory:never
Defined in: packages/core/src/types.ts:953
Extracts the Memory type from a Context type
Type Parameters
TContext
TContext extends AnyContext
The Context type to extract Memory from