Interface ConversationSummaryBufferMemoryInput

Interface for the input parameters of the ConversationSummaryBufferMemory class.

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

Hierarchy (view full)

Implemented by

Properties

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