Interface ConversationSummaryBufferMemoryInput

Interface for the input parameters of the ConversationSummaryBufferMemory class.

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

Hierarchy (view full)

Implemented by

Properties

aiPrefix?: string
chatHistory?: BaseChatMessageHistory
humanPrefix?: string
inputKey?: string
llm: BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>
maxTokenLimit?: number
memoryKey?: string
outputKey?: string
prompt?: BasePromptTemplate<any, BasePromptValueInterface, any>
returnMessages?: boolean
summaryChatMessageClass?: (new (content: string) => BaseMessage)
""