Interface BasePromptTemplateInput<InputVariables, PartialVariableName>

Input common to all prompt templates.

Type Parameters

  • InputVariables extends InputValues = any

  • PartialVariableName extends string = any

Hierarchy

Implemented by

Properties

inputVariables: Extract<keyof InputVariables, string>[]

A list of variable names the prompt template expects

outputParser?: BaseOutputParser<unknown>

How to parse the output of calling an LLM on this formatted prompt

partialVariables?: PartialValues<PartialVariableName>

Partial variables

Generated using TypeDoc