Class EntityMemory

Class for managing entity extraction and summarization to memory in chatbot applications. Extends the BaseChatMemory class and implements the EntityMemoryInput interface.

Hierarchy

Implements

  • EntityMemoryInput

Constructors

Properties

chatHistoryKey: string = "history"
entitiesKey: string = "entities"
entityCache: string[] = []
entityStore: BaseEntityStore
k: number = 3
returnMessages: boolean = false
aiPrefix?: string
humanPrefix?: string
inputKey?: string
outputKey?: string

Accessors

Methods

Generated using TypeDoc