Interface BaseConversationSummaryMemoryInput

Interface for the input parameters of the BaseConversationSummaryMemory class.

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

Hierarchy (view full)

Properties

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