Interface ChatConversationalCreatePromptArgs

Interface defining the structure of arguments used to create a prompt for the ChatConversationalAgent class.

interface ChatConversationalCreatePromptArgs {
    humanMessage?: string;
    inputVariables?: string[];
    outputParser?: AgentActionOutputParser;
    systemMessage?: string;
}

Properties

humanMessage?: string

String to put before the list of tools.

inputVariables?: string[]

List of input variables the final prompt will expect.

Output parser to use for formatting.

systemMessage?: string

String to put after the list of tools.

Generated using TypeDoc