CustomFormatPromptTemplateInput<RunInput>: {
    additionalContentFields: undefined | MessageContentComplex;
    customParser: ((template: string) => ParsedTemplateNode[]);
    inputVariables: Extract<keyof RunInput, string>[];
    outputParser: undefined | BaseOutputParser<unknown>;
    partialVariables: undefined | PartialValues<string>;
    renderer: ((template: string, values: InputValues) => string);
    template: MessageContent;
    templateValidator?: undefined | ((template: string, inputVariables: string[]) => boolean);
    validateTemplate: undefined | boolean;
}

Type Parameters

  • RunInput extends InputValues