ActionActionCallActionCallContextActionContextActionCtxRefActionHandlerActionResultActionSchemaActionStateAgentAgentContextAnyActionAnyActionWithContextAnyAgentAnyContextAnyOutputAnyRefConfigContextContextConfigcontextLockManagerContextLockManagerContextRefContextRefArrayContextSettingsContextsEventsRecordContextsRefRecordContextStateContextStateApicreateEntityPatternscreateRelationshipPatternsDebuggerdefineSchemaEntityEntityExtractionConfigEntityTypeDefinitionEpisodeEpisodeHooksEpisodicMemoryEpisodicMemoryImplEventDefEventRefExpertExportManagerExtensionExtractedEntityExtractedRelationshipExtractionResultExtractTemplateVariablesForgetCriteriaGraphEdgeGraphFilterGraphMemoryGraphMemoryImplGraphNodeGraphPathGraphProviderGraphTraversalHandlersHealthStatusIChainInferActionArgumentsInferActionStateInferAgentContextInferAgentMemoryInferContextMemoryInferContextOptionsInferSchemaInferSchemaArgumentsInMemoryGraphProviderInMemoryKeyValueProviderInMemoryVectorProviderInputInputConfigInputRefInstructionIWorkingMemoryJSONExporterKeyValueMemoryKeyValueMemoryImplKeyValueProviderKnowledgeExtractorKnowledgeSchemaKnowledgeServiceKnowledgeServiceConfigLogLogChunkLogLevelMarkdownExporterMaybePromiseMemoryMemoryConfigMemoryManagerMemoryProviderMemoryResultMemorySystemOptionalOutputOutputConfigOutputCtxRefOutputRefOutputRefResponseOutputResponseOutputSchemaPrettyPushOptionsRecallOptionsRegistryRelationshipRelationshipExtractionConfigRelationshipSemanticsRelationshipTypeDefinitionRememberOptionsResolverRunRefSearchOptionsSemanticRelationshipSetOptionsStepRefSubscriptionTaskConfigurationTemplateResolverTemplateVariablesThoughtThoughtRefVectorDocumentVectorMemoryVectorMemoryImplVectorProviderVectorQueryVectorResultWorkingMemoryWorkingMemoryDataWorkingMemoryImplXMLElement
API ReferenceCoreRouterTutorials

createEntityPatterns

@daydreamsai/core


@daydreamsai/core / createEntityPatterns

Function: createEntityPatterns()

createEntityPatterns(config): RegExp[]

Defined in: packages/core/src/memory/knowledge-schema.ts:230

Helper to create entity extraction patterns

Parameters

config

companies?

boolean

custom?

RegExp[]

locations?

boolean

personNames?

boolean

skills?

boolean

Returns

RegExp[]

ContextStateApi

Previous Page

createRelationshipPatterns

Next Page

On this page

Function: createEntityPatterns()Parametersconfigcompanies?custom?locations?personNames?skills?Returns