Interface: BasePromptTemplateInput
prompts.BasePromptTemplateInput
Input common to all prompt templates.
Hierarchy
BasePromptTemplateInput
Implemented by
Properties
inputVariables
• inputVariables: string
[]
A list of variable names the prompt template expects
Defined in
langchain/src/prompts/base.ts:34
outputParser
• Optional
outputParser: BaseOutputParser
How to parse the output of calling an LLM on this formatted prompt
Defined in
langchain/src/prompts/base.ts:39
partialVariables
• Optional
partialVariables: PartialValues
Partial variables
Defined in
langchain/src/prompts/base.ts:42