ActionActionCallActionCallContextActionContextActionCtxRefActionHandlerActionResultActionSchemaActionStateAgentAgentContextAnyActionAnyActionWithContextAnyAgentAnyContextAnyOutputAnyRefConfigContextContextConfigcontextLockManagerContextLockManagerContextRefContextRefArrayContextSettingsContextsEventsRecordContextsRefRecordContextStateContextStateApicreateEntityPatternscreateRelationshipPatternsDebuggerdefineSchemaEntityEntityExtractionConfigEntityTypeDefinitionEpisodeEpisodeHooksEpisodicMemoryEpisodicMemoryImplEventDefEventRefExpertExportManagerExtensionExtractedEntityExtractedRelationshipExtractionResultExtractTemplateVariablesForgetCriteriaGraphEdgeGraphFilterGraphMemoryGraphMemoryImplGraphNodeGraphPathGraphProviderGraphTraversalHandlersHealthStatusIChainInferActionArgumentsInferActionStateInferAgentContextInferAgentMemoryInferContextMemoryInferContextOptionsInferSchemaInferSchemaArgumentsInMemoryGraphProviderInMemoryKeyValueProviderInMemoryVectorProviderInputInputConfigInputRefInstructionIWorkingMemoryJSONExporterKeyValueMemoryKeyValueMemoryImplKeyValueProviderKnowledgeExtractorKnowledgeSchemaKnowledgeServiceKnowledgeServiceConfigLogLogChunkLogLevelMarkdownExporterMaybePromiseMemoryMemoryConfigMemoryManagerMemoryProviderMemoryResultMemorySystemOptionalOutputOutputConfigOutputCtxRefOutputRefOutputRefResponseOutputResponseOutputSchemaPrettyPushOptionsRecallOptionsRegistryRelationshipRelationshipExtractionConfigRelationshipSemanticsRelationshipTypeDefinitionRememberOptionsResolverRunRefSearchOptionsSemanticRelationshipSetOptionsStepRefSubscriptionTaskConfigurationTemplateResolverTemplateVariablesThoughtThoughtRefVectorDocumentVectorMemoryVectorMemoryImplVectorProviderVectorQueryVectorResultWorkingMemoryWorkingMemoryDataWorkingMemoryImplXMLElement
API ReferenceCoreRouterTutorials

InferContextMemory

@daydreamsai/core


@daydreamsai/core / InferContextMemory

Type Alias: InferContextMemory<TContext>

InferContextMemory<TContext> = TContext extends Context<infer TMemory, any, any, any, any> ? TMemory : never

Defined in: packages/core/src/types.ts:969

Extracts the Memory type from a Context type

Type Parameters

TContext

TContext extends AnyContext

The Context type to extract Memory from

InferAgentMemory

Previous Page

InferContextOptions

Next Page

On this page

Type Alias: InferContextMemory<TContext>Type ParametersTContext