Interface StructuredChatCreatePromptArgs

Interface for arguments used to create a prompt for a StructuredChatAgent.

interface StructuredChatCreatePromptArgs {
    humanMessageTemplate?: string;
    inputVariables?: string[];
    memoryPrompts?: BaseMessagePromptTemplate[];
    prefix?: string;
    suffix?: string;
}

Properties

humanMessageTemplate?: string

String to use directly as the human message template.

inputVariables?: string[]

List of input variables the final prompt will expect.

memoryPrompts?: BaseMessagePromptTemplate[]

List of historical prompts from memory.

prefix?: string

String to put before the list of tools.

suffix?: string

String to put after the list of tools.

""