Interface ConversationTokenBufferMemoryInput

Interface for the input parameters of the BufferTokenMemory class.

interface ConversationTokenBufferMemoryInput {
    llm: BaseLanguageModelInterface;
    aiPrefix?: string;
    chatHistory?: any;
    humanPrefix?: string;
    inputKey?: string;
    maxTokenLimit?: number;
    memoryKey?: string;
    outputKey?: string;
    returnMessages?: boolean;
}

Hierarchy (view full)

Implemented by

Properties

llm: BaseLanguageModelInterface
aiPrefix?: string
chatHistory?: any
humanPrefix?: string
inputKey?: string
maxTokenLimit?: number
memoryKey?: string
outputKey?: string
returnMessages?: boolean