Interface: ChatPromptTemplateInput
prompts.internal.ChatPromptTemplateInput
Input common to all prompt templates.
Hierarchy
↳
ChatPromptTemplateInput
Implemented by
Properties
inputVariables
• inputVariables: string
[]
A list of variable names the prompt template expects
Inherited from
BasePromptTemplateInput.inputVariables
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
Inherited from
BasePromptTemplateInput.outputParser
Defined in
langchain/src/prompts/base.ts:39
partialVariables
• Optional
partialVariables: PartialValues
Partial variables
Inherited from
BasePromptTemplateInput.partialVariables
Defined in
langchain/src/prompts/base.ts:42
promptMessages
• promptMessages: BaseMessagePromptTemplate
[]
The prompt messages
Defined in
langchain/src/prompts/chat.ts:168
validateTemplate
• Optional
validateTemplate: boolean
Whether to try validating the template on initialization
Default Value
true
Defined in
langchain/src/prompts/chat.ts:175