Skip to main content

Type Alias: PromptTemplateOptions<TemplatesVar, Vars, Template>

PromptTemplateOptions<TemplatesVar, Vars, Template>: BasePromptTemplateOptions<TemplatesVar, Vars> & object

Type declaration

promptType?

optional promptType: PromptType

template

template: Template

Type Parameters

TemplatesVar extends readonly string[]

Vars extends readonly string[]

Template extends StringTemplate<TemplatesVar>

Defined in

packages/core/prompts/dist/index.d.ts:40