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) => 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) => BaseMessage)

Type declaration

    • new (content): BaseMessage
    • Parameters

      • content: string

      Returns BaseMessage

Generated using TypeDoc