Tagged articles
2 articles
Page 1 of 1
James' Growth Diary
James' Growth Diary
Apr 25, 2026 · Artificial Intelligence

LangChain Memory Best Practices: Avoid Common Pitfalls and Choose the Right Module

This article dissects the most frequent LangChain Memory pitfalls—missing placeholders, wrong memory type, shared instances, and multi‑process issues—provides correct code patterns, compares the five built‑in memory classes, introduces the new RunnableWithMessageHistory approach, and offers a production‑ready checklist.

ChatOpenAIConversationSummaryBufferMemoryLLMChain
0 likes · 12 min read
LangChain Memory Best Practices: Avoid Common Pitfalls and Choose the Right Module
BirdNest Tech Talk
BirdNest Tech Talk
Nov 7, 2025 · Artificial Intelligence

Mastering Chains in LangChainGo: Build Complex LLM Workflows Step‑by‑Step

This guide explains LangChainGo’s Chain abstraction, detailing the core Chain interface, the LLMChain implementation, various chain types such as SequentialChain and RetrievalQA, and provides a complete walkthrough of setting up prompts, creating chains, and executing them with example Go code.

ChainsLLMChainLangChainGo
0 likes · 8 min read
Mastering Chains in LangChainGo: Build Complex LLM Workflows Step‑by‑Step