Interface BaseConversationSummaryMemoryInput

Interface for the input parameters of the BaseConversationSummaryMemory class.

interface BaseConversationSummaryMemoryInput {
    llm: BaseLanguageModelInterface;
    aiPrefix?: string;
    chatHistory?: any;
    humanPrefix?: string;
    inputKey?: string;
    memoryKey?: string;
    outputKey?: string;
    prompt?: any;
    returnMessages?: boolean;
    summaryChatMessageClass?: (new (content) => BaseMessage);
}

Hierarchy (view full)

Properties

llm: BaseLanguageModelInterface
aiPrefix?: string
chatHistory?: any
humanPrefix?: string
inputKey?: string
memoryKey?: string
outputKey?: string
prompt?: any
returnMessages?: boolean
summaryChatMessageClass?: (new (content) => BaseMessage)

Type declaration

    • new (content): BaseMessage
    • Parameters

      • content: string

      Returns BaseMessage

Generated using TypeDoc