Tagged articles

conversation memory

4 articles · Page 1 of 1
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Jul 22, 2026 · Artificial Intelligence

How to Handle Long Conversation History: Beyond Full Prompt or Recent Rounds

The article explains that effective conversation memory for LLMs requires classifying information into static knowledge, short‑term context, and long‑term memory, defining a full lifecycle for each entry, and implementing strict storage, retrieval, update, and deletion policies rather than simply concatenating all history or keeping only the latest turns.

LLMRAGconversation memory
0 likes · 24 min read
How to Handle Long Conversation History: Beyond Full Prompt or Recent Rounds
The Dominant Programmer
The Dominant Programmer
May 26, 2026 · Artificial Intelligence

Spring AI ChatMemory: Concepts, Practical Setup, and Common Issues

This guide explains how Spring AI abstracts LLM conversation memory using a three‑layer architecture, demonstrates configuring MessageWindowChatMemory with a sliding‑window strategy, shows two ways to register the memory advisor, and provides complete Maven, YAML, and Java code examples with test screenshots.

ChatMemoryJavaLLM
0 likes · 9 min read
Spring AI ChatMemory: Concepts, Practical Setup, and Common Issues
James' Growth Diary
James' Growth Diary
Apr 25, 2026 · Artificial Intelligence

Choosing the Right AI Memory: Truncation, Summarization, or Vector Retrieval

This article breaks down LangChain.js's three memory strategies—window truncation, summary compression, and vector‑store retrieval—explaining their inner workings, code setup, trade‑offs in token cost and information retention, and provides a decision guide for selecting the best approach in multi‑turn LLM conversations.

LLMLangChainVector Retrieval
0 likes · 14 min read
Choosing the Right AI Memory: Truncation, Summarization, or Vector Retrieval