Interface for arguments used to create a chat prompt.

interface ChatCreatePromptArgs {
    formatInstructions?: string;
    humanMessageTemplate?: string;
    inputVariables?: string[];
    prefix?: string;
    suffix?: string;
}

Properties

formatInstructions?: string

Formattable string to use as the instructions template.

humanMessageTemplate?: string

String to use directly as the human message template.

inputVariables?: string[]

List of input variables the final prompt will expect.

prefix?: string

String to put before the list of tools.

suffix?: string

String to put after the list of tools.