Interface ConversationSummaryBufferMemoryInput

Interface for the input parameters of the ConversationSummaryBufferMemory class.

interface ConversationSummaryBufferMemoryInput {
    llm: BaseLanguageModelInterface;
    aiPrefix?: string;
    humanPrefix?: string;
    maxTokenLimit?: number;
    memoryKey?: string;
    prompt?: any;
    summaryChatMessageClass?: (new (content) => BaseMessage);
}

Hierarchy (view full)

Implemented by

Properties

llm: BaseLanguageModelInterface
aiPrefix?: string
humanPrefix?: string
maxTokenLimit?: number
memoryKey?: string
prompt?: any
summaryChatMessageClass?: (new (content) => BaseMessage)

Type declaration

    • new (content): BaseMessage
    • Parameters

      • content: string

      Returns BaseMessage

Generated using TypeDoc