Class: abstract
BasePromptTemplate<TemplatesVar, Vars>
Extended by
Type Parameters
• TemplatesVar extends readonly string
[] = string
[]
• Vars extends readonly string
[] = string
[]
Constructors
new BasePromptTemplate()
protected
new BasePromptTemplate<TemplatesVar
,Vars
>(options
):BasePromptTemplate
<TemplatesVar
,Vars
>
Parameters
• options: BasePromptTemplateOptions
<TemplatesVar
, Vars
>
Returns
BasePromptTemplate
<TemplatesVar
, Vars
>
Defined in
packages/core/prompts/dist/index.d.ts:25
Properties
functionMappings
functionMappings:
Partial
<Record
<TemplatesVar
[number
] |string
&object
,MappingFn
<string
[]>>>
Defined in
packages/core/prompts/dist/index.d.ts:24
metadata
metadata:
Metadata
Defined in
packages/core/prompts/dist/index.d.ts:19
options
options:
Partial
<Record
<TemplatesVar
[number
] |string
&object
,string
>>
Defined in
packages/core/prompts/dist/index.d.ts:21
outputParser
outputParser:
undefined
|BaseOutputParser
<any
>
Defined in
packages/core/prompts/dist/index.d.ts:22
templateVarMappings
templateVarMappings:
Partial
<Record
<string
&object
|Vars
[number
],TemplatesVar
[number
] |string
&object
>>
Defined in
packages/core/prompts/dist/index.d.ts:23