LangChain.js: a chat-history-style memory backed by the governed store. Returns
loadContext (retrieve → system string) and saveTurn (persist), which slot
into an LCEL chain or a custom BaseChatMemory. Structural typing keeps
@langchain/core an optional peer dependency.
LangChain.js: a chat-history-style memory backed by the governed store. Returns
loadContext(retrieve → system string) andsaveTurn(persist), which slot into an LCEL chain or a customBaseChatMemory. Structural typing keeps@langchain/corean optional peer dependency.