Interface BaseConversationSummaryMemoryInput

Interface for the input parameters of the BaseConversationSummaryMemory class.

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

Hierarchy (view full)

Properties

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

Type declaration

    • new (content): BaseMessage
    • Parameters

      • content: string

      Returns BaseMessage

Generated using TypeDoc