CustomFormatPromptTemplateInput<RunInput>: Omit<Toolkit<RunInput, string>, "templateFormat"> & {
    customParser: ((template) => Toolkit[]);
    renderer: ((template, values) => string);
    templateValidator?: ((template, inputVariables) => boolean);
}

Type Parameters

Type declaration

  • customParser: ((template) => Toolkit[])
  • renderer: ((template, values) => string)
      • (template, values): string
      • Parameters

        Returns string

  • Optional templateValidator?: ((template, inputVariables) => boolean)
      • (template, inputVariables): boolean
      • Parameters

        • template: string
        • inputVariables: string[]

        Returns boolean

Generated using TypeDoc