ActionActionCallActionCallContextActionContextActionCtxRefActionHandlerActionResultActionSchemaActionStateAgentAgentContextAnyActionAnyActionWithContextAnyAgentAnyContextAnyOutputAnyRefConfigContextContextConfigcontextLockManagerContextLockManagerContextRefContextRefArrayContextSettingsContextsEventsRecordContextsRefRecordContextStateContextStateApicreateEntityPatternscreateRelationshipPatternsDebuggerdefineSchemaEntityEntityExtractionConfigEntityTypeDefinitionEpisodeEpisodeHooksEpisodicMemoryEpisodicMemoryImplEventDefEventRefExpertExportManagerExtensionExtractedEntityExtractedRelationshipExtractionResultExtractTemplateVariablesForgetCriteriaGraphEdgeGraphFilterGraphMemoryGraphMemoryImplGraphNodeGraphPathGraphProviderGraphTraversalHandlersHealthStatusIChainInferActionArgumentsInferActionStateInferAgentContextInferAgentMemoryInferContextMemoryInferContextOptionsInferSchemaInferSchemaArgumentsInMemoryGraphProviderInMemoryKeyValueProviderInMemoryVectorProviderInputInputConfigInputRefInstructionIWorkingMemoryJSONExporterKeyValueMemoryKeyValueMemoryImplKeyValueProviderKnowledgeExtractorKnowledgeSchemaKnowledgeServiceKnowledgeServiceConfigLogLogChunkLogLevelMarkdownExporterMaybePromiseMemoryMemoryConfigMemoryManagerMemoryProviderMemoryResultMemorySystemOptionalOutputOutputConfigOutputCtxRefOutputRefOutputRefResponseOutputResponseOutputSchemaPrettyPushOptionsRecallOptionsRegistryRelationshipRelationshipExtractionConfigRelationshipSemanticsRelationshipTypeDefinitionRememberOptionsResolverRunRefSearchOptionsSemanticRelationshipSetOptionsStepRefSubscriptionTaskConfigurationTemplateResolverTemplateVariablesThoughtThoughtRefVectorDocumentVectorMemoryVectorMemoryImplVectorProviderVectorQueryVectorResultWorkingMemoryWorkingMemoryDataWorkingMemoryImplXMLElement
API ReferenceCoreRouterTutorials

TemplateVariables

@daydreamsai/core


@daydreamsai/core / TemplateVariables

Type Alias: TemplateVariables<T, V>

TemplateVariables<T, V> = { [K in ExtractTemplateVariables<T>]: any }

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

Creates a type mapping template variables (including nested paths) to values

Type Parameters

T

T extends string

Template string type

V

V = any

Value type at the leaf (defaults to string)

TemplateResolver

Previous Page

Thought

Next Page

On this page

Type Alias: TemplateVariables<T, V>Type ParametersTV