Interface ConversationTokenBufferMemoryInput

Interface for the input parameters of the BufferTokenMemory class.

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

Hierarchy (view full)

Implemented by

Properties

llm: BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>
aiPrefix?: string
chatHistory?: BaseChatMessageHistory
humanPrefix?: string
inputKey?: string
maxTokenLimit?: number
memoryKey?: string
outputKey?: string
returnMessages?: boolean

Generated using TypeDoc